Skip to content
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

parse name/version from pkg urls #1689

Open
qwcode opened this issue Mar 27, 2014 · 1 comment
Open

parse name/version from pkg urls #1689

qwcode opened this issue Mar 27, 2014 · 1 comment
Labels
C: unnamed reqs Handling and processing unnamed requirements type: enhancement Improvements to functionality

Comments

@qwcode
Copy link
Contributor

qwcode commented Mar 27, 2014

in many cases, we could parse the name & version from standard packages in pkg URL requirements,

i.e. know that peppercorn-1.4.tar.gz is project "peppercorn" and version "1.4"

and therefore have a real requirement object in the req attribute of our InstallRequirement objects, but we don't currently (and instead end up with an "unnamed" requirement in many cases), see #804 (comment) for context.

@chrahunt
Copy link
Member

This was discussed as an optimization for #6607, so whether it's implemented in pip or we integrate with an implementation in packaging, it should probably be done as part of that effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: unnamed reqs Handling and processing unnamed requirements type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

2 participants