-
Notifications
You must be signed in to change notification settings - Fork 739
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
uv sync
reports no solution found when python_version>=
is used
#8601
Comments
This is... a confusing error. Thanks for the report. I don't even understand the part that says:
Like, why did we choose to enumerate a couple of those versions explicitly? For debugging purposes... the derivation tree looks like
And the And the verbose logs are
I think the resolver error is bogus because the resolution itself is wrong. This looks like a case where we do not fork correctly. If you do:
it'll force the resolver to fork here and resolution succeeds. I presume this would be solved by #6143 |
It's the same as #4668. |
This should "just work" without any workarounds in the next version (see: #8628). |
Minimal reproduced
pyproject.toml
:uv sync
:Here, I expect Python 3.9 to install nothing and Python 3.10 and above to install
jax>=0.4.33
. I don't understand uv's logic.(In the actual project, jax is an optional dependency for extra features that are only available in Python 3.10)
The text was updated successfully, but these errors were encountered: