-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Should uv python install 3
install an alpha version?
#12184
Comments
Hmm. Probably not, no. |
Huh, that's surprising. |
I think the logic isn't quite right uv/crates/uv-python/src/downloads.rs Lines 172 to 178 in 553bccc
uv/crates/uv-python/src/downloads.rs Lines 277 to 280 in 553bccc
uv/crates/uv-python/src/downloads.rs Lines 304 to 311 in 553bccc
uv/crates/uv-python/src/discovery.rs Lines 2273 to 2284 in 3a53ec3
We'll want to try to apply diff --git a/crates/uv-python/src/discovery.rs b/crates/uv-python/src/discovery.rs
index b5a4972d6..1aa58c20e 100644
--- a/crates/uv-python/src/discovery.rs
+++ b/crates/uv-python/src/discovery.rs
@@ -2275,9 +2275,9 @@ impl VersionRequest {
match self {
Self::Default => false,
Self::Any => true,
- Self::Major(..) => true,
- Self::MajorMinor(..) => true,
- Self::MajorMinorPatch(..) => true,
+ Self::Major(..) => false,
+ Self::MajorMinor(..) => false,
+ Self::MajorMinorPatch(..) => false,
Self::MajorMinorPrerelease(..) => true,
Self::Range(specifiers, _) => specifiers.iter().any(VersionSpecifier::any_prerelease),
} but we still want uv/crates/uv-python/src/discovery.rs Lines 1100 to 1103 in 3a53ec3
|
Summary
Because it does:
Platform
Windows 11
Version
0.6.6
Python version
No response
The text was updated successfully, but these errors were encountered: