-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic support for Python 3.11's typeshed #12220
Comments
To repro:
and then |
I have some crazy stuff going on, so I am not really active right now. Thanks for the repro! |
(Note that the changes in |
python/typeshed#7389 gets rid of most of the remaining errors reported by mypy. |
I've filed #12258 to track the last remaining error when running mypy's master branch on the 3.11 typeshed stubs. |
Now that #12260 is merged, it looks like typeshed's 3.11 stdlib passes a mypy type-check when using the mypy master branch 🥳 |
Awesome, thanks both! |
* Run mypy on the 3.11 stdlib in CI, as a regression test for python/mypy#12220 * Correct the docstring at the top of the file following the changes made in #7478 * Stop the test from crashing when run locally if there's an extra file/folder in the stubs directory.
Currently, running mypy with Python 3.11 on typeshed fails. We should fix it, ideally before the next mypy release.
These should help:
python/typeshed#7314
python/typeshed#7318
Looks like some generic type stuff is still broken:
There are changes to use
@property
in enum that mypy doesn't like. Lucky for us @sobolevn is really good at fixing enum issues :DThe text was updated successfully, but these errors were encountered: