-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
upgrade pip 18.1 #1215
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
Labels
Comments
The master has |
Great to hear - thanks for that! |
@gaborbernat I think this can be closed now. |
yes it can |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been having issues with virtualenv when I've been trying to run pre-commit on Windows.
We've been using a pre-commit .yaml file that looks like this:
and errors were being thrown by pip in virtualenv.
The problems seem to occur because virtualenv is using pip 10.0.1 to download packages, while later versions of pip are required for the build. The latest pip version is 18.1. My solution to the problem was to replace the wheel file
pip-10.0.1-py2.py3-none-any.whl
invirtualenv_support
with the latest pip wheel. I download the latest pip wheel withpython -m pip wheel --wheel-dir=. pip
, which downloadspip-18.1-py2.py3-none-any.whl
and then copied it over to thevirtualenv_support
folder so virtualenv was now using pip 10.0.1. This managed to solve my problem.I'm not sure exactly what the change is in the latest pip version is that's fixed it but it may relate to this bug that was fixed in pip 18.0:
I was wondering if you'd be able to update this pip wheel in virtualenv in your next release? Or would it be possible to auto-download the latest pip wheel when installing virtualenv?
Thanks a lot!
The text was updated successfully, but these errors were encountered: