-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.5 setup fails with an invalid certificate when running pip #866
Comments
I'm also able to reproduce this behavior in a self-hosted environment. |
There's an open issue on setup-python about the SSL certificate error. actions/setup-python#866
@andy-maier I believe you can use this "temporary fix" (using - 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 |
Hello @andy-maier, Thank you for creating this issue and we will look into it :) |
Previous commit didn't make it. See actions/setup-python#866
The Python 3.4.4 Windows MSI installation is also affected and also responds to the
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. |
@joamag |
Immediately motivated by these builds breaking on GitHub Actions: actions/setup-python#866 but we also do not need to support Ubuntu 16.04 any longer. I think we should do one more release of ros_buildfarm, if possible, before allowing e.g. f-strings and other newer language features. But if ever there was a repo that wanted f-strings it's this one.
Immediately motivated by these builds breaking on GitHub Actions: actions/setup-python#866 but we also do not need to support Ubuntu 16.04 any longer. I think we should do one more release of ros_buildfarm, if possible, before allowing e.g. f-strings and other newer language features. But if ever there was a repo that wanted f-strings it's this one.
Bypasses cert validation when running pip under python 3.5, borrowing the tip from actions/setup-python#866 (comment)
A certificate issue is preventing `pip` from installing packages. Disable for now while we wait and see if the Github team can fix their action or suggest changes to how it is used. If they can't fix it (and lets face it, Python 3.5 is very ancient now, it isn't in supported versions of Linux or *BSD), we'll bump the minimum release to Python 3.6. actions/setup-python#866
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.
The text was updated successfully, but these errors were encountered: