-
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
pip ignores --global-option and --install-options when installing from a VCS url #5518
Comments
This looks like a bug to me. I don't have the bandwidth to investigate though. :( |
Environment
Description
The following does install to <path to dir>/lib/Python3.7/site-packages/ as expected
Both installations give The former (install from git via ssh) also gives
|
Can confirm that this is still an issue with pip |
Someone reported this issue again as #6379 (but for I diagnosed it there in this comment and am copying my findings here since that issue is now closed as a duplicate: When pip/src/pip/_internal/cli/cmdoptions.py Lines 72 to 79 in 78744e8
However, when pip gets to the point where it needs to decide whether to build a wheel or fall back to using pip/src/pip/_internal/wheel.py Lines 766 to 776 in 78744e8
So the fix should be pretty simple (just reverse those two checks, I believe). |
I posted PR #6389 to address this. |
Environment
Description
pip 10.0.1 ignores --install-options installing from git+git://
Likely related to
#5251
However, installing from zip works:
Expected behavior
installing from VCS shall be no different than from a zip file.
How to Reproduce
See above.
Output
See above.
The text was updated successfully, but these errors were encountered: