[Distutils] 2.0dev-r123 no longer greater than 1.0?
Peter Suter
petsuter at gmail.com
Sat Mar 21 16:19:09 CET 2015
Hi
from pkg_resources import parse_version
parse_version('2.0dev-r123') > parse_version('1.0dev')
In setuptools 7 and below this was |True|. In setuptools 8 and above
this is |False|.
A bug? Are these tags not supported anymore?
The documentation still mentions them extensively, e.g. in:
https://pythonhosted.org/setuptools/setuptools.html#managing-continuous-releases-using-subversion
setup.cfg options are recommended that generate similar versions:
[egg_info]
tag_build = .dev
tag_svn_revision = 1
Am I missing something?
Thanks,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150321/f9a4ae80/attachment.html>
More information about the Distutils-SIG
mailing list