python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
18.57k stars 2.85k forks source link

Issues with popular third-party packages (meta) #17912

Open JukkaL opened 1 month ago

JukkaL commented 1 month ago

This issue is used to centrally track issues related to using mypy together with popular third-party packages (either using inline types or stubs). These issues can impact a large number of users, and thus we generally prioritize fixing them. However, sometimes we can lose track of some problems, and this issue is intended to help with that.

Issues could be anything interfering with the use of mypy with a third-party package, including but not limited to these:

If you encounter something like the above, create a separate issue first and leave a comment here with a link to the issue, preferably in this format so the status of issue is immediately visible:

Also feel free to post links to existing issues created by others, so that they will get more visibility.

hauntsaninja commented 1 month ago
brianschubert commented 1 month ago
hauntsaninja commented 1 month ago

Crash involving numpy

hauntsaninja commented 4 weeks ago

mypy has an incremental bug related to namespace packages. It comes up in a few places, but a lot of times with the popular ruamel.yaml package:

hauntsaninja commented 3 weeks ago

Nondeterministic type checking (with cache off) involving pydantic: