-
Notifications
You must be signed in to change notification settings - Fork 311
get-pip no longer works with explicit args for pip #37
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
Comments
I'm also getting this. Our Ansible provisioning that uses |
See pypa/pip#5857 |
As a temporary workaround, you can use a constraint, e.g.: |
`get-pip.py` is no longer working with just specifying a pip version on the command line (see pypa/get-pip#37 ) so we have to do some shell redirection for a constraints file. This will cause us to install pip 9.0.1 or less, as intended. It *should* work. This also modifies the python 2 version.
`get-pip.py` is no longer working with just specifying a pip version on the command line (see pypa/get-pip#37 ) so we have to do some shell redirection for a constraints file. This will cause us to install pip 9.0.1 or less, as intended. It *should* work. This also modifies the python 2 version.
`get-pip.py` is no longer working with just specifying a pip version on the command line (see pypa/get-pip#37 ) so we have to do some shell redirection for a constraints file. This will cause us to install pip 9.0.1 or less, as intended. It *should* work. This also modifies the python 2 version.
`get-pip.py` is no longer working with just specifying a pip version on the command line (see pypa/get-pip#37 ) so we have to do some shell redirection for a constraints file. This will cause us to install pip 9.0.1 or less, as intended. It *should* work. This also modifies the python 2 version.
duplicate: pypa/pip#5859 |
Bug introduced in pypa/get-pip#37 breaks args
another workarond is hardcode pip url to prior version: https://github.com/raw/pypa/get-pip/f88ab195ecdf2f0001ed21443e247fb32265cabb/get-pip.py |
…ypa/get-pip#37 you can override get_pip_url to prior version likehttps://github.com/raw/pypa/get-pip/f88ab195ecdf2f0001ed21443e247fb32265cabb/get-pip.py
Thanks @benoit-pierre for the investigation and PR! :) This didn't show up in my manual "does it install pip on running?" check for I guess it shows we really need to do #18. Help on that front would be appreciated. :) |
Hi!
Try
curl https://bootstrap.pypa.io/get-pip.py | python - pip==18.0
and you will see that aDoubleRequirement
exception is thrown. If you debug a bit, you'll find that actuallyInstallRequirement.from_line
fails (InstallRequirement
does not havefrom_line
) and that triggers thecontinue
call in the loop.Thanks!
The text was updated successfully, but these errors were encountered: