Skip to content
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

Post release spelling not recognized #35

toabctl opened this issue Jun 24, 2015 · 1 comment

Post release spelling not recognized #35

toabctl opened this issue Jun 24, 2015 · 1 comment


Copy link

@toabctl toabctl commented Jun 24, 2015


According to , versions like '1.0-r4' should be normalized to '1.0.post4'. But running a simple test, this does not work:

$ python
Python 2.7.10 (default, May 24 2015, 14:46:10) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import packaging
>>> packaging.__version__
>>> from packaging.version import parse
>>> v1 = parse('1.0.post4')
>>> v2 = parse('1.0.post4')
>>> v1 == v2
>>> v2 = parse('1.0.r4')
>>> v1 == v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant