Closed notatallshaw closed 2 years ago
Adding a compat.pyi
file is probably more consistent to how typing is handled in the repo.
Adding a
compat.pyi
file is probably more consistent to how typing is handled in the repo.
Oh yes, I missed because I forget about pyi
files. Created a new PR: https://github.com/sarugaku/resolvelib/pull/95
Related to https://github.com/python/mypy/issues/1153
This became an issue with mypy running on Python 3.10 (I guess
collections.Mapping
andcollections.Sequence
were finally removed).It's causing mypy to fail in latest PRs: https://github.com/sarugaku/resolvelib/pull/93