-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Current PY_VERSION 3.10.0a7+ does not conform to PEP 440 #88166
Comments
It was changed from 3.10.0a7 to 3.10.0a7+ in According to https://www.python.org/dev/peps/pep-0440/#public-version-identifiers, it should be something like 3.10.0a7.post1 or with https://www.python.org/dev/peps/pep-0440/#local-version-identifiers, it should be something like 3.10.0a7+post see also implementation in packaging: https://github.com/pypa/packaging/blob/main/packaging/version.py#L225 |
PEP-440 applies to Python packages, not to CPython itself. The "+" convention has been used in CPython for a long time, and changing it without a strong justification seems risky. |
sure, I'll raise the issue with poetry then. |
…sition information
It might not be a strong justification but at least an argument: According to PEP 508 However, there is an escape hatch for non-compliant versions:
So far, so good. However, if I'm right that implies a marker like |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: