-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Installing from VCS fails (egg mismatch / "No such file or directory") #5297
Comments
This is a duplicate of #5251. This should be fixed with pip 10.0.1. If it's not, feel free to comment there. |
I tried with the current master and still fails. Assuming(looks like it was) that the actual fix is merged already.
|
Don't include the -dev suffix on the #egg fragment.
|
That said, I think pip is supposed to be printing an error message/warning here. |
Actually my real problem is a little different. I just managed to reproduce the problem with simple example. This worked before in 9.0.3 as you can see from the example above. Is this feature removed now? We are using dependency_links in setup.py. This might be in our own code so I will check it. But before we could not get dependency links work without the version number in the egg. |
I can confirm that 10.0.1 made everything work without the -versionumber part. And that is no longer a problem for us. Thank you! This is still relevant question and good to know:
|
Off the top of my head, I don't think it was ever a feature -- I guess this is an "undocumented thing that works and people depend on it". |
TBH, the current behavior is the correct one IMO. |
I believe this is a duplicate of #5271. |
Description:
I'm doing pip install for VCS
pip 9.0.3
Works as expected.
pip 10.0.0
Manages to install but shows errrors.
I did some debug and found out the problem is that pip is duplicated in requirementset.
Narrowed down the problem to:
Resolver.resolve()
Resolver._resolve_one()
From there I managed to pinpoint possible bug in RequirementSet.has_requirement(). It does not find the
duplicate.
This could also be a problem where the requirementset has requests-dev in the dictionary. In older version of pip this requests-dev was used.
The text was updated successfully, but these errors were encountered: