New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip doesn't distinguish between package names with a trailing digit #510

Closed
casevh opened this Issue Apr 15, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@casevh

casevh commented Apr 15, 2012

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".

@carljm

This comment has been minimized.

Show comment
Hide comment
@carljm

carljm Apr 16, 2012

Contributor

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.

Contributor

carljm commented Apr 16, 2012

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.

carljm added a commit that referenced this issue Apr 16, 2012

@carljm carljm closed this Apr 16, 2012

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Oct 4, 2017

Bug 1405177: Install (slightly) newer pip to install boto. r=nthomas
This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

--HG--
extra : rebase_source : ffef899d80864a81a81a1a332a9da1f949a05551

xeonchen pushed a commit to xeonchen/gecko that referenced this issue Oct 5, 2017

Bug 1405177: Install (slightly) newer pip to install boto. r=nthomas
This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

aethanyc pushed a commit to aethanyc/gecko-dev that referenced this issue Oct 5, 2017

Bug 1405177: Install (slightly) newer pip to install boto. r=nthomas
This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

JerryShih pushed a commit to JerryShih/gecko-dev that referenced this issue Oct 9, 2017

Bug 1405177: Install (slightly) newer pip to install boto. r=nthomas
This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Oct 26, 2017

Bug 1405177 - Install (slightly) newer pip to install boto. r=nthomas…
…, a=test-only

This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

--HG--
extra : source : 706ffd585a89bc9cda2471eedc74139858848add

xeonchen pushed a commit to xeonchen/gecko that referenced this issue Oct 26, 2017

Bug 1405177 - Install (slightly) newer pip to install boto. r=nthomas…
…, a=test-only

This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Oct 26, 2017

Bug 1405177 - Install (slightly) newer pip to install boto. r=nthomas…
…, a=test-only

This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD

--HG--
extra : source : 706ffd585a89bc9cda2471eedc74139858848add
extra : intermediate-source : 747911087c22b438e0095b9e5c49ddc54cde4ade

xeonchen pushed a commit to mozilla-necko/gecko that referenced this issue Oct 26, 2017

Bug 1405177 - Install (slightly) newer pip to install boto. r=nthomas…
…, a=test-only

This is to avoid hitting pypa/pip#510.

MozReview-Commit-ID: 7TK4DdbpKRD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment