-
Notifications
You must be signed in to change notification settings - Fork 730
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
Add support for pre-releases in Python version requests #7270
Comments
Hi. I'm checking this out. Question: Should we only focus on release candidates or also on alpha and beta releases? |
Sweet. I think we should support all the prerelease kinds. We have a type for this at There's a bit of structure design work here too. pub enum VersionRequest {
#[default]
Any,
Major(u8),
MajorMinor(u8, u8),
MajorMinorPatch(u8, u8, u8),
Range(VersionSpecifiers),
} I think we'll want to add an |
Okay, great! Something along those lines I already managed to discover.
Yeah, let's see which one is the best solution. To clarify, these are the prerelease variants that need to be covered (according to PEP 440): X.YaN # Alpha release
X.YbN # Beta release
X.YrcN # Release Candidate Regarding the variants, if we introduce a new variant, will only one suffice, like |
Hm. Note I made some changes around pre-releases in #7290 and #7300 |
e.g. now that we have #7263 we supply a release candidate but we don't support
--python 3.13rc2
(that's parsed as an executable name)The text was updated successfully, but these errors were encountered: