Does setuptools not support a less than or equal to operator? like:
SQLAlchemy<=0.6.99 ? Kevin Horn On Tue, Feb 15, 2011 at 10:40 AM, Christoph Zwerschke <c...@online.de>wrote: > 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 turbogears-trunk@googlegroups.com. > To unsubscribe from this group, send email to > turbogears-trunk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/turbogears-trunk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to turbogears-trunk@googlegroups.com. To unsubscribe from this group, send email to turbogears-trunk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en.