You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Conflicting communication about pip versions in action output #233
Upgrading PIP...
Looking in links: /tmp/tmpi5vup_pn
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.10.0-rc.1/x64/lib/python3.10/site-packages (56.0.0)
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.0-rc.1/x64/lib/python3.10/site-packages (21.1.3)
Collecting pip
Downloading pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Successfully installed pip-21.2.4
Error: WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
Seems like the warning shouldn't be output here.
Which version of the action are you using?
v1
v2
Some other tag (such as v2.0.1 or master)
Environment
self-hosted
Linux
Windows
Mac
If applicable, please specify if you're using a container
Python Versions
This is on the Python 3.10 release candidate
- name: Set up Pythonuses: actions/setup-python@v2with:
python-version: 3.10.0-rc.1
I'm experiencing this as well. At first I thought this error occurred later in my pipeline when I install some packages, where I attempted to add one more step to explicitly update pip, but that step says that pip is already on the latest version.
Occurs when using this action:
Error: WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
Occurs when trying to explicitly update pip after this action:
Run python -m pip install -U pip
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.0-rc.1/x64/lib/python3.10/site-packages (21.2.4)
WARNING: You are using pip version 21.1.1; however, version 22.2.2 is available.
You should consider upgrading via the '/opt/hostedtoolcache/Python/3.9.5/x64/bin/python -m pip install --upgrade pip' command.
Activity
HunterAP23 commentedon Aug 28, 2021
I'm experiencing this as well. At first I thought this error occurred later in my pipeline when I install some packages, where I attempted to add one more step to explicitly update pip, but that step says that pip is already on the latest version.
Occurs when using this action:
Occurs when trying to explicitly update pip after this action:
augustovanderley commentedon Sep 12, 2021
Hi, I'm having the same experience with python 3.8.10
And here in the step log
ReenigneArcher commentedon Sep 27, 2021
Same issue...
Error occurs during the
Setup Pythonstep.arnonrdp commentedon Oct 7, 2021
I'm experiencing the same:
hugovk commentedon Oct 10, 2021
Please see PR actions/python-versions#117 for a fix.
addisonklinke commentedon Aug 15, 2022
@MaksimZhukov @hugovk Despite the referenced PR, I am still experiencing this issue with v4.2.0
Specifically I'm getting
dmitry-shibanov commentedon Aug 15, 2022
Hello @addisonklinke. Thank you for your report. I think it's an expected behaviour because these versions were rebuilt.
addisonklinke commentedon Aug 22, 2022
@dmitry-shibanov Are you saying I should be able to avoid the warning if I use one of those Python versions? For exapmle 3.9.6 instead of 3.9.5