You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this error about a week ago when I switched over from poetry to uv. The dependency resolution fails when I set the upper bound of the required version in my pyproject.toml. (Yes, apparently this is a contentious decision, but I think I'll keep it.)
## Summary
If the user has an upper-bound in a `requires-python`, we don't
correctly narrow it during resolution. We should be narrowing based on
the intersection.
Closes#8297.
I noticed this error about a week ago when I switched over from
poetry
touv
. The dependency resolution fails when I set the upper bound of the required version in mypyproject.toml
. (Yes, apparently this is a contentious decision, but I think I'll keep it.)That TOML should give you what is needed to reproduce the error. Your local Python version shouldn't matter in reproducing this bug.
To fix it, removing
<4.0
does allowuv
to resolve the dependencies based on the local Python version, as expected.The text was updated successfully, but these errors were encountered: