Repository navigation
Python 3.5 setup fails with an invalid certificate when running pip #866
Description
Activity
I'm also able to reproduce this behavior in a self-hosted environment.
- added a commit that references this issue
on May 14, 2024 @andy-maier I believe you can use this "temporary fix" (using
PIP_TRUSTED_HOSTenv variable) to bump pip and avoid this error- uses: actions/setup-python@v5 with: python-version: 3.5 env: PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
Found it here https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi
Reacted by Delgan, dirkf, Olivier Dony and amita-sealHello @andy-maier, Thank you for creating this issue and we will look into it :)
- added a commit that references this issue
on May 16, 2024 - added 2 commits that reference this issue
on May 16, 2024 - added a commit that references this issue
on May 16, 2024 The Python 3.4.4 Windows MSI installation is also affected and also responds to the
PIP_TRUSTED_HOSTwork-around. This is minimally documented at https://pip.pypa.io/en/latest/cli/pip/:--trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS. (environment variable: PIP_TRUSTED_HOST)Presumably pypi.org has reconfigured its servers with some new web-breaking security option so that older SSL implementations can't verify its certificate? If so the "temporary" work-around may be wrongly described.
22 remaining items
- added 3 commits that reference this issue
on Aug 4, 2024 - added a commit that references this issue
on Sep 12, 2024 - added 2 commits that reference this issue
on Feb 9, 2025 - added 2 commits that reference this issue
on Feb 13, 2026 - added a commit that references this issue
on Jul 16, 2026
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
Action version:
v5
Platform:
Runner type:
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.