[issue13055] Distutils tries to handle null versions but fails

Éric Araujo report at bugs.python.org
Mon Oct 10 17:38:14 CEST 2011


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

> The bug was encountered while trying to install a package. As it turns
> out, a dependency was incorrectly installed, resulting in a null
> version being passed around which quickly caused a crash in setup.py.
> While this is definitely not a normal circumstance, the fact that this
> bug existed made finding the issue substantially more time consuming.
I agree.  You don’t happen to have the log available, do you?

> If the constructor of the LooseVersion can accept None, then so should
> its other members.
Sure.  From a quick glance, we need to fix __str__ and _cmp.

----------
keywords: +easy -patch
stage: test needed -> needs patch

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


More information about the Python-bugs-list mailing list