Am 15.02.2011 16:46, schrieb Christophe de Vienne:
> What about 0.7dev ?
Right, 0.7dev is sorted even before 0.7a
with the current setuptools and distutils:
>>> from pkg_resources import parse_version as V
>>> V('0.7.dev1') == V('0.7dev1') < V('0.7a1') < V('0.7b1') < V('0.7')
True
However, 0.7dev is not valid and 0.7.dev < 0.7a
with the newly proposed version schema of PEP386:
>>> from verlib import NormalizedVersion as V
>>> V('0.7a1') < V('0.7b1') < V('0.7.dev1') < V('0.7')
True
V('0.7dev')
verlib.IrrationalVersionError: 0.7dev
So maybe we need to combine both: <0.7.dev1, <0.7a1
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en.