- Notifications
You must be signed in to change notification settings - Fork 294
Closed
Description
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.
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
1yefuwang1 and hugovk
Metadata
Metadata
Assignees
Labels
No labels