On Sep 30, 2013, at 1:55 PM, Marcus Smith <[email protected]> wrote: > so, take a case like so "pytest-xdist-dev.tar.gz" (or any sdist with "-" in > the project name, and a version starting with a string) > > I think it's like so: > - pkg_resources.Distribution.from_location will treat "xdist-dev" as the > version. > - distlib.util.split_filename won't parse it because versions have to start > with [0-9]. > - pip will accept this as a "pytest" archive and install it potentially if no > other version matches greater. > > what's the right answer? > > The historical-compatible answer is to be confused when projects have "-". > so stay confused? or get rigid like distlib? > > Marcus > _______________________________________________ > Distutils-SIG maillist - [email protected] > https://mail.python.org/mailman/listinfo/distutils-sig
I think we're going to need more data to figure out a solution. We need to see how many things are going to be affected by this. If it's not a massive amount I think we should get strict. ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
