-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update pip to latest #144
Comments
Also after upgrading, seeing this warning.
|
I believe we have pip installed on all the images so we'll just need to look at updating the default version. We'll keep Python 2.7 on the image for ~6 months after it EOL's so people have time to move over. @madhurig can someone on your team take a look at this? |
Update, it is only the |
I'll take this issue. Working on updating PyPy 2.X on all the images to the latest version so I'll knock this out afterwards. |
We always update Pip with the latest release of the virtual environment. Though, I don't know off the top of my head when the last update was or when the next one will be. There will always be some lag when Pip releases a new version, but you're right that it's good practice to make sure you are running with the latest version. That's why the Python workflow templates for Actions have a step to update Pip. |
The templates are downloaded here (16.04 example): https://github.com/actions/virtual-environments/blob/7463ea032be0ad4b38dc7a88ebd5375880a53f7f/images/linux/scripts/installers/1604/hosted-tool-cache.sh#L22 There is a file called
There must have been a new version of pip since the last image was built and rolled out. This should roll out automatically during the next image update. See the |
odd... as i'm seeing a basic pipeline
when executed, outputs:
|
That is pip that is part of system Python (we essentially don't maintain any version of Python that is under I have a big doc that is currently in review that explains Python+GitHub along with some of the details around the tools cache. It's going to be added to https://help.github.com/en Our docs that document the available version of Python mention the setup-python action: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners |
Tool information
pip
https://pypi.org/project/pip/Virtual environments affected
Can this tool be installed during the build?
yes, it takes ~5seconds.
but it took me an hour to figure out how to do it.
Are you willing to submit a PR?
yes :)
The text was updated successfully, but these errors were encountered: