You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just found this issue while dealing with development pypi packages versioning, so I read PEP440 (https://www.python.org/dev/peps/pep-0440/) and according to that the semantic version of 3.0.0-dev.2 is actually not valid if I am not mistaken, as it should be 3.0-dev2.
Well, seems semver and PEP440 are only partly compatible. Semver allows to define a patch part, whereas PEP440 does not. There are different approaches in the wild how to deal with version information.
Apart from that, PEP440 has been assigned the type "Informational". According to PEP001, this type is defined as (emphasize by me):
"An Informational PEP describes a Python design issue, or provides general guidelines or information to the Python community, but does not propose a new feature. Informational PEPs do not necessarily represent a Python community consensus or recommendation, so users and implementors are free to ignore Informational PEPs or follow their advice."
A lot of libraries do that and follow a different approach. 😉
For this reason, I would tend to follow what's written in the description.
Activity
josefkorbel commentedon Jul 28, 2021
I've just found this issue while dealing with development pypi packages versioning, so I read PEP440 (https://www.python.org/dev/peps/pep-0440/) and according to that the semantic version of
3.0.0-dev.2is actually not valid if I am not mistaken, as it should be3.0-dev2.tomschr commentedon Jul 30, 2021
Thanks Josef, much appreciated your report.
Well, seems semver and PEP440 are only partly compatible. Semver allows to define a patch part, whereas PEP440 does not. There are different approaches in the wild how to deal with version information.
Apart from that, PEP440 has been assigned the type "Informational". According to PEP001, this type is defined as (emphasize by me):
A lot of libraries do that and follow a different approach. 😉
For this reason, I would tend to follow what's written in the description.
Fix python-semver#315: Create 3.0.0-dev.3