Skip to content
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

Support mypy 0.971 #1064

Closed
DamianZaremba opened this issue Jul 19, 2022 · 1 comment
Closed

Support mypy 0.971 #1064

DamianZaremba opened this issue Jul 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DamianZaremba
Copy link
Contributor

mypy 0.971 was released a short while ago (https://github.com/python/mypy/releases/tag/v0.971).

django-stubs currently enforces a version less than 0.970 (https://github.com/typeddjango/django-stubs/blob/master/setup.py#L34), please enable support for 0.971.

Due to changes python/mypy#11143 the tests currently fail when path appending;

A scratch branch which updates the requirements while patching out the tests is @ https://github.com/DamianZaremba/django-stubs/tree/bump-mypy-0.970, as I'm not sure of your preferred way to deal with the tests.

@DamianZaremba DamianZaremba added the bug Something isn't working label Jul 19, 2022
@adamchainz
Copy link
Contributor

Thanks for the report. The problems introduced by Mypy 0.971 were fixed in #1108 after some wrestling by @sobolevn .

We haven't made a release with support yet, but until then you can install from Git (example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants