Skip to content

manylinux-2014 references mirrorlist.centos.org which does not exist.... #1915

@epeisach

Description

@epeisach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions