[issue14264] Comparison bug in distutils2.version

Éric Araujo report at bugs.python.org
Mon Mar 12 21:42:49 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

More info: The command to reproduce the bug is “pysetup install "zope.event (3.4.0)"”, which gets zope.event 3.4.1.  The bug comes from d2.version.VersionPredicate.match:

>>> predicate = VersionPredicate('zope.event (3.4.0)')
>>> predicate.match('3.4.0')
True
>>> predicate.match('3.4.1')
True
>>> predicate.match('3.4.2')
True
>>> predicate.match('3.6.2')
False

----------
title: can't install zope.event 3.4.0 -> Comparison bug in distutils2.version

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14264>
_______________________________________


More information about the Python-bugs-list mailing list