Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Describe the bug
When setting up Python 3.10 via setup-python@v2 I get errors in my jobs like this:
Error: WARNING: You are using pip version 21.2.3; however, version 21.3 is available.
The full message of setup-python is this:
Run actions/setup-python@v2
with:
python-version: 3.10
token: ***
env:
PYTHON: 3.10
ARTIFACT: pyEDAA-ProjectModel-typing-html
Version 3.10 was not found in the local cache
Version 3.10 is available for downloading
Download from "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/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-linux-20.04-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/4fba8822-4fd9-4675-88c4-995c6a971aa3 -f /home/runner/work/_temp/6ae9d2ae-9db0-4802-9194-1b39c0403289
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.10.0 folder
Copy Python binaries to hostedtoolcache folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Upgrading PIP...
Looking in links: /tmp/tmprmtirwrx
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/site-packages (57.4.0)
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/site-packages (21.2.3)
Collecting pip
Downloading pip-21.3-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
Successfully installed pip-21.3
Error: WARNING: You are using pip version 21.2.3; however, version 21.3 is available.
You should consider upgrading via the '/opt/hostedtoolcache/Python/3.10.0/x64/bin/python -m pip install --upgrade pip' command.
Create complete file
Successfully setup CPython (3.10.0)
Which version of the action are you using?
-
v1 -
v2 - Some other tag (such as
v2.0.1ormaster)
Environment
- self-hosted
- Linux
- Windows
- Mac
- GitHub Actions: Ubuntu 20.04
Python Versions
- 3.10.x (latest) as selected by
setup-python
To Reproduce
Steps to reproduce the behavior:
jobs:
Reproducer:
runs-on: ubuntu-latest
steps:
- name: 🐍 Setup Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.10Run/Repo URL
https://github.com/edaa-org/pyEDAA.ProjectModel/runs/3918266378?check_suite_focus=true#step:3:26
Additional Context
none
/cc @umarcor
Reacted by Unai Martinez-Corral
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists

Activity
umarcor commentedon Oct 17, 2021
This is maybe a dup of #233?
hugovk commentedon Oct 18, 2021
Yes, duplicate of #233, fixed by actions/python-versions#117.
nikita-bykov commentedon Oct 19, 2021
Closed this issue as a duplicate of #233