SylvainDe / DidYouMean-Python

Module to have suggestions in case of errors (NameError, AttributeError, etc).
MIT License
120 stars 15 forks source link

Continous Integration on Python 3.5: 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 #64

Closed SylvainDe closed 6 months ago

SylvainDe commented 6 months ago

First failure

Date: 10th May Build: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/9025567006 my_github_actions #1298 Jobs: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/9025567006/job/24801488377

Python 3.5
Run actions/setup-python@v4
  with:
    python-version: 3.5
    allow-prereleases: true
    check-latest: false
    token: ***
    update-environment: true
Installed versions
  Version ~3.5.0-0 was not found in the local cache
  Version ~3.5.0-0 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 -C /home/runner/work/_temp/93f5ff94-e00d-4d59-8f6d-dd13993da8d8 -f /home/runner/work/_temp/02762ccf-8c11-4911-9a99-34be059f9038
  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

Last success

Date: 9th May Build: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/9010612184 my_github_actions #1297

This looks like https://github.com/actions/setup-python/issues/866 .

SylvainDe commented 6 months ago

Done