Éric Araujo <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue14264>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com