[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

Rik Poggi report at bugs.python.org
Thu Apr 5 09:59:47 CEST 2012

Rik Poggi <poggi.ricky at gmail.com> added the comment:

Hi, I'd like to contribute to this bug if it's possible.

I would've directly started, but it seems the situation has moved/changed a bit, so I'm not sure where the tests are needed.

There's a try/except, like the one mentioned above, in pypi/dist.py. Was that a consequence of this bug? Are tests needed for that conversion?

The sdist command seems to be not complaining about any kind of irrational/invalid version. Should this be fixed? Should sdist check for a valid version number and do something like what Éric Araujo mentioned in the last comment?

nosy: +rik.poggi

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list