-
Notifications
You must be signed in to change notification settings - Fork 671
Closed
Description
Description
using: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
with:
python-version: 3.7
architecture: x64
cache: pip
cache-dependency-path: ci-constraints-requirements.txt
Produces the following output/error:
Version 3.7 was not found in the local cache
Version 3.7 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.7.[17](https://github.com/pyca/cryptography/actions/runs/5728698641/job/15524172021#step:4:18)-5356448435/python-3.7.17-darwin-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz -C /Users/runner/work/_temp/e9bd789d-c91e-4567-9854-0f1a50db88bf -f /Users/runner/work/_temp/cf421e15-6a49-4e76-bf05-ff2d5f741ede
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.7.17 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: /var/folders/cn/nkrr6l5n0jz01kq9jbtb9tg00000gn/T/tmpy5uz5i2j
Requirement already satisfied: setuptools in /Users/runner/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages (47.1.0)
Requirement already satisfied: pip in /Users/runner/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages ([23](https://github.com/pyca/cryptography/actions/runs/5728698641/job/15524172021#step:4:24).0.1)
Error: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Error: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Error: WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Error: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Error: WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Error: WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Error: ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
Error: ERROR: No matching distribution found for pip
Error: The process '/bin/bash' failed with exit code 1
This was working fine with the previous version of the macos-13 image.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 11
- macOS 12
- macOS 13
- Windows Server 2019
- Windows Server 2022
Image version and build link
Image: macos-13
Version: 20230731.2
Is it regression?
Yes
Expected behavior
Python 3.7 is setup properly
Actual behavior
See error.
Repro steps
See provided action invocation.
rfc-hv
Metadata
Metadata
Assignees
Labels
No labels