Closed
actions/python-versions
#117Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Find this output a little confusing:
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.1ormaster)
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 Python
uses: actions/setup-python@v2
with:
python-version: 3.10.0-rc.1Run/Repo Url
https://github.com/sondrelg/container-retention-policy/runs/3325363194?check_suite_focus=true
Reacted by Takahiro Ueda, Augusto Acioli Pinho Vanderley, Michael Caley, Arnon R., Hugo van Kemenade, Unai Martinez-Corral and Addison Klinke
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

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