[Distutils] RFC : Version comparison
Trent Mick
trentm at gmail.com
Tue Apr 28 21:47:49 CEST 2009
>> http://wiki.python.org/moin/Distutils/VersionComparison
>
> I find the dot separating the "1.0" from "dev" in "1.0.dev456"
> unappealing. Why was it added?
I believe the consensus at the PyCon open spaces was that it separated
better in general. For example:
1.0a2.1dev1234
1.0a2.1.dev1234
> I'm also kind of wondering why 'dev' rather than 'pre' if we want to
> unambiguously distinguish prereleases from postreleases.
Just seemed to be in more common usage for that (around 1000 of the
about 8000 versions currently on PyPI used "dev"). "pre" was also
discussed at PyCon.
>
> (Personally, I like 1.2 < 1.2+svn1234 < 1.2.1 as opposed to the
> prevailing norm of 1.2 < 1.2.1dev < 1.2.1.)
In what is being proposed you'd need to use:
1.2 < 1.2.post1234 < 1.2.1
Trent
--
Trent Mick
trentm at gmail.com
More information about the Distutils-SIG
mailing list