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

fix for #1825 #1831

Closed
wants to merge 2 commits into from
Closed

fix for #1825 #1831

wants to merge 2 commits into from

Conversation

qwcode
Copy link
Contributor

@qwcode qwcode commented May 22, 2014

fix for #1825 with two new tests.
(for the test wheels I added, I also added the src to tests/data/src

the change is to use the name and version from the wheel file to build the InstallRequirement so that it has a non-None req attribute. When req is None, the "unnamed requirement" code path (see #1689) is used, which only works for sdists.

@Ivoz
Copy link
Contributor

Ivoz commented May 22, 2014

Purge the *~ files in the commit?

@Ivoz Ivoz added this to the 1.5.7 milestone May 22, 2014
@qwcode
Copy link
Contributor Author

qwcode commented May 26, 2014

closing. change was brought in thru PR #1838 to 1.5.X, and then merged to develop

@qwcode qwcode closed this May 26, 2014
@qwcode qwcode removed this from the 1.5.7 milestone Jun 15, 2014
@Ivoz Ivoz added this to the 1.5.7 milestone Jun 16, 2014
@dstufft dstufft modified the milestones: 1.6, 1.5.7 Jun 16, 2014
@piotr-dobrogost
Copy link

When req is None, the "unnamed requirement" code path (see #1689) is used, which only works for sdists.

Couldn't pip (for sdists) unpack just setup.py first to see what's the name of the requirement? Would this make handling wheels and sdists uniform thus rendering "unnamed requirement" code path needless?

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants