-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Expected release of 3.15.0 #602
Comments
And also mypy 1.10 (f141057); this is important since django-stubs 5.0.0 was just released requiring 1.10, so trying to depend on |
Hi! Yes, now that
Indeed, that's not a good idea. Please use the
|
Useful hint, thanks. It would be helpful if that were documented somewhere. |
Why so? Poetry resolves it fine and I would expect that to ensure that the stubs packages and Mypy are mutually compatible. |
If you install The issue with adding too many dependency constraints is that there are frequently many valid solutions to given contraints -- which can include a DRF-stubs release from 2021 -- but only one of the many solutions is actually the one you expect. Thus you are at the mercy of pure luck or possibly constraint solver heuristics to pick the right one. Also Poetry uses your existing |
Indeed, I tried with an empty Poetry virtualenv: mkdir a
cd a
poetry init -n
poetry add 'djangorestframework-stubs[compatible-mypy]<3.15' 'django-stubs[compatible-mypy]' mypy Output
|
Sure, but in my situation I'm working on an app, not a package, so I pin everything in my Given I'm using Django 4.2 and DRF 3.14 I pin Given typeddjango/django-stubs#2101 (comment) I'll probably now remove |
Hey maintainers, we would like to know when we can expect the new release to support DRF 3.15.?
The text was updated successfully, but these errors were encountered: