Skip to content
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

Closed
epeisach opened this issue Jul 1, 2024 · 5 comments
Closed

Comments

@epeisach
Copy link

epeisach commented Jul 1, 2024

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

@henryiii
Copy link
Contributor

henryiii commented Jul 1, 2024

We are fixing this in the next version (very soon). See #1889 (comment).

@henryiii henryiii changed the title Documentation update: manylinux-2014 references mirrorlist.centos.org which does not exist.... manylinux-2014 references mirrorlist.centos.org which does not exist.... Jul 2, 2024
@henryiii henryiii pinned this issue Jul 2, 2024
jobovy added a commit to jobovy/galpy that referenced this issue Jul 2, 2024
jobovy added a commit to jobovy/galpy that referenced this issue Jul 2, 2024
jobovy added a commit to jobovy/galpy that referenced this issue Jul 2, 2024
@1yefuwang1
Copy link

This one works for me as a workaround for now
before-build = "sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*; sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*;yum install -y ninja-build"

@henryiii
Copy link
Contributor

henryiii commented Jul 2, 2024

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

@henryiii
Copy link
Contributor

henryiii commented Jul 2, 2024

This is the PR that fixes it: #1917

@henryiii
Copy link
Contributor

henryiii commented Jul 2, 2024

Please update, latest versions should fix it!

@henryiii henryiii closed this as completed Jul 2, 2024
@henryiii henryiii unpinned this issue Jul 2, 2024
nocarryr added a commit to nocarryr/cyndilib that referenced this issue Jul 4, 2024
StephenOman added a commit to heiner/nle that referenced this issue Jul 5, 2024
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.
janden added a commit to janden/finufft that referenced this issue Jul 9, 2024
Fixes outdated links to CentOS mirror list:

pypa/cibuildwheel#1915
janden added a commit to janden/finufft that referenced this issue Jul 9, 2024
Fixes outdated links to CentOS mirror list:

pypa/cibuildwheel#1915
janden added a commit to DiamonDinoia/finufft that referenced this issue Jul 15, 2024
Fixes outdated links to CentOS mirror list:

pypa/cibuildwheel#1915
HinTak added a commit to HinTak/skia-python that referenced this issue Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants