Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pip doesn't distinguish between package names with a trailing digit #510
I maintain "gmpy" and its successor "gmpy2". Since gmpy2 is not completely backwards compatible, I changed the name. If someone does "pip install gmpy", gmpy2 is actually downloaded since both versions are hosted on the same site. The exact file names are "gmpy-1.15.zip" and "gmpy2-2.0.0b1.zip".
Ugh. I thought our filename matching required the dash between the project name and version; apparently it doesn't. This is incompatible with easy_install, which does the right thing in your case.
I think we should fix this. It's technically backwards-incompatible, but I doubt there are many people uploading packages without the dash, since that wouldn't work with easy_install.
Pull request welcome! I'll try to get around to it myself, but not sure when that'll be.