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
eriknw added a commit to GraphBLAS/python-suitesparse-graphblas that referenced this issue Oct 13, 2024
eriknw added a commit to GraphBLAS/python-suitesparse-graphblas that referenced this issue Oct 14, 2024
* Update to SuiteSparse:GraphBLAS 9.1.0

* maybe fix? (path and extra constant)

* Update default include path to include "suitesparse"

* Try this

* Maybe don't need this anymore for arm on mac os

* Explicit macos x86 and arm runners

* Add dir dump

* Look in "/usr/local"

* Try installing to prefix

* Cmake from .

* Add lib64

* Try installing to . instead of /tmp

* Set MACOSX_DEPLOYMENT_TARGET

* Try installing to /usr/local/graphblas

* Try installing to {package}

* Fix

* Add prints

* Add print

* Try installing to .

* parent

* retry

* Disable JIT on Windows

* retry

* Fix if

* Revert to sys install

* Fix sudo

* Disable JIT on Windows

* tweaks

* MSVC complex values

* Revert prints

* Silence workflow warnings

* Delete no longer used script

* Undo run tests on push

* Make linter happy

* Linter

* Support both suitesparse.sh and conda install paths

* Fix cibw_test_skip typo

* Build with numpy 2; add Python 3.13; drop Python 3.8

* Bump

* Try setuptools<74

* experiment w/ setuptools as runtime dep

* undo

* Update cibuildwheel

We need pypa/cibuildwheel#1915 to `yum install`

* Use cibuildwheel 2.21, not 2.21.3

* Delete unnecessary code b/c we dropped Python 3.8

---------

Co-authored-by: Erik Welch <erik.n.welch@gmail.com>
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