[Distutils] RFC : Version comparison

Tarek Ziadé ziade.tarek at gmail.com
Thu Apr 23 11:19:22 CEST 2009


2009/4/22 P.J. Eby <pje at telecommunity.com>:
> I don't see how it can manage, e.g. a development version of a postrelease,
> with an SVN rev or date stamp on it.  Such versions might not be found on
> PyPI or on RPMs, but would be needed in development.

So, instead of having 'dev' and 'post', we would require a third case
for "pos+dev" version

so  (dev|post)N+ could become, ((dev|post)N+)|(postN+devN+)

example:

1.0.dev459 < 1.0 < 1.0.post456dev463 < 1.0.post456 < 1.0.post489


>
> (Btw, the wiki page pseudo-regex doesn't match what the code actually
> parses, either.)
>

i'll check it thx

>



-- 
Tarek Ziadé | http://ziade.org


More information about the Distutils-SIG mailing list