-
Notifications
You must be signed in to change notification settings - Fork 234
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
manylinux-2014 references mirrorlist.centos.org which does not exist.... #1915
Comments
We are fixing this in the next version (very soon). See #1889 (comment). |
This one works for me as a workaround for now |
When this finishes, we can bump our pinned images and release (if it's me, ~6-8 hours from now): https://app.travis-ci.com/github/pypa/manylinux/builds/271224417 |
This is the PR that fixes it: #1917 |
Please update, latest versions should fix it! |
Errors resolving CentOS7 mirrors likely related to pypa/cibuildwheel#1915 and fixed by pypa/cibuildwheel#1917 https://cibuildwheel.pypa.io/en/stable/changelog/#v2192
Needed to fix the "Could not retrieve mirrorlist error" in the test_and_deploy workflow. See pypa/cibuildwheel#1915 for more details on this error.
Fixes outdated links to CentOS mirror list: pypa/cibuildwheel#1915
Fixes outdated links to CentOS mirror list: pypa/cibuildwheel#1915
Fixes outdated links to CentOS mirror list: pypa/cibuildwheel#1915
… 7 EOL on 1 Jul 2024 Upstream pull and issue: pypa/cibuildwheel#1917 pypa/cibuildwheel#1915
Description
Discovered today with linux build. As Centos-7 reached EOL -- but still being supported - mirrorlist.centos.org was decommissioned, breaking "before-all" installation of packages using yum.
https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve#:~:text=Centos%207%20has%20reached%20EOL,centos.org%20will%20work%20well.
suggests a simple sed script to change mirrorlists.centos.org to vault.centos.org.
Perhaps documentation could suggest this?
The following is working for me:
before-all = "sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo ; sed -i s/^#.baseurl=http/baseurl=http/g /etc/yum.repos.d/.repo; yum -y install flex bison cmake"
I am happy for cibuildwheel to continue with centos-7 as I have servers that require it. Just a little tweak needed.
Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered: