[Distutils] unparseable sdist filenames

Marcus Smith qwcode at gmail.com
Tue Oct 1 00:06:34 CEST 2013


>
>
> > how will context decide between the version being "dev" or "xdist-dev"?
>
> By whether you asked to install "pytest-xdist" or "pytest", and by
> whether "dev" or "xdist-dev" match your version requirements.  In
> practice this tends to only be a problem if you are:
>
> 1. Installing the two packages during the same run, and
> 2. Aren't using version specifiers.
>

#2 is a big deal.  the pip issue (#1192) that motivated this was a #2.
local find-links with non-versioned requirements.
so, suppose you have "pytest-xdist-dev.tar.gz" in a find-links location.
whether you're trying to install "pytest" or "pytest-xdist" doesn't help
the installer determine how to parse that archive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130930/a77d9d21/attachment-0001.html>


More information about the Distutils-SIG mailing list