-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 python find
doesn't find python3.12
binary in $PATH when looking for ==3.12.8
#9695
Comments
Thank you! Does |
Yes it does:
Although this doesn't work in the
And with
Full Log
|
Ah okay thanks that's helpful context. w.r.t. uv/crates/uv-python/src/discovery.rs Lines 579 to 581 in 3aaa959
VersionRequest::Range case there. And if not, we should be returning the possible names in VersionRequest::executable_names uv/crates/uv-python/src/discovery.rs Line 1770 in cfd0079
I'm not sure what's going on yet. |
On my system I have both python3.13.0 and python3.12.8 installed through homebrew:
uv python list
is aware of both of them:But can only find one of them:
Or with more logging:
What I think is happening is that
uv python list
code does this:uv/crates/uv-python/src/discovery.rs
Lines 499 to 501 in 3aaa959
where the
find_all_minor
means it can pick up on/opt/homebrew/bin/python3.12
.But when asking for
==3.12.8
specifically, it doesn't consider that3.12
could be it:uv/crates/uv-python/src/discovery.rs
Lines 579 to 581 in 3aaa959
_Originally posted by in #9668, but that issue was unrelated. CC @zanieb _
System Information:
The text was updated successfully, but these errors were encountered: