-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
Python 3.5 setup fails with an invalid certificate when running pip.
This started happening a few days ago. 7 days ago it still worked.
From a today's run where it failed: https://github.com/zhmcclient/zhmc-ansible-modules/actions/runs/9076784995/job/24940262974
Run actions/setup-python@v5
with:
python-version: 3.5
check-latest: false
token: ***
update-environment: true
allow-prereleases: false
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1
Installed versions
Version 3.5 was not found in the local cache
Version 3.5 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.5.10-90026/python-3.5.10-linux-20.04-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/bbd73505-bdd7-43f6-9be8-ea09e3ed6949 -f /home/runner/work/_temp/20ce11ed-ebf4-4b07-b07d-6c43d465aa62
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.5.10 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...
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.5.10/x64/lib/python3.5/site-packages
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.5.10/x64/lib/python3.5/site-packages
Collecting pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:728) - skipping
Error: Could not find a version that satisfies the requirement pip (from versions: )
Error: No matching distribution found for pip
Error: The process '/usr/bin/bash' failed with exit code 1
Action version:
v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Python 3.5
Repro steps:
To reproduce, use the setup-python action with Python 3.5.
Expected behavior:
Python 3.5 should be installed as it was 1 week ago.
Actual behavior:
See description, above.
joamag, dirkf, Delgan, ShadowJonathan, garfieldnate and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working