Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support mypy 0.950 #938

Closed
DamianZaremba opened this issue Apr 28, 2022 · 1 comment · Fixed by #939
Closed

Support mypy 0.950 #938

DamianZaremba opened this issue Apr 28, 2022 · 1 comment · Fixed by #939

Comments

@DamianZaremba
Copy link
Contributor

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

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

@dimbleby
Copy link

per a comment in typeddjango/djangorestframework-stubs#203

  • mypy releases much more frequently than either django-stubs or djangorestframework-stubs
  • although mypy might in principle release a breaking change at any point, such things seem to be very rare. (I don't know of any example where a mypy release has broken these projects, perhaps it has happened?)
  • if mypy ever does release a breaking change I can easily work around that in my own project by pinning to an older version, whereas I cannot force a newer version while django*-stubs explicitly prevents me from doing so

All of which is to say: please consider removing the upper bounds on mypy in both projects.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants