This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Current PY_VERSION 3.10.0a7+ does not conform to PEP 440
Type: Stage: resolved
Components: Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Cyril Jouve, JelleZijlstra, lukasz.langa, ned.deily, pablogsal
Priority: normal Keywords:

Created on 2021-05-01 17:06 by Cyril Jouve, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg392607 - (view) Author: Cyril Jouve (Cyril Jouve) * Date: 2021-05-01 17:06
It was changed from 3.10.0a7 to 3.10.0a7+ in 
https://github.com/python/cpython/commit/04eecf7fac8bb8d7a19d14cf2009088046956ab5

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
msg392609 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2021-05-01 17:16
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.
msg392613 - (view) Author: Cyril Jouve (Cyril Jouve) * Date: 2021-05-01 17:59
sure, I'll raise the issue with poetry then.
History
Date User Action Args
2022-04-11 14:59:45adminsetgithub: 88166
2021-05-01 17:59:25Cyril Jouvesetstatus: open -> closed

messages: + msg392613
stage: resolved
2021-05-01 17:17:15JelleZijlstrasetnosy: + ned.deily, lukasz.langa, pablogsal
2021-05-01 17:16:38JelleZijlstrasetnosy: + JelleZijlstra, - ned.deily, lukasz.langa, pablogsal
messages: + msg392609
2021-05-01 17:11:49ned.deilysetnosy: + ned.deily, lukasz.langa, pablogsal
2021-05-01 17:06:30Cyril Jouvecreate