From 3975b29a9d78ccb2129393c82b26c8a8713bc656 Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Mon, 1 Jul 2024 23:39:34 -0400 Subject: [PATCH] Fix cibuildwheel manylinux image issue with CentOS 7 reaching EOL on July 1 2024 (see pypa/cibuildwheel#1915) --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index fb472ff74..9624dbcad 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -75,7 +75,7 @@ jobs: env: CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}_${{ matrix.buildplat[2] }} CIBW_BUILD_VERBOSITY: 1 - CIBW_BEFORE_BUILD_LINUX: yum -y install gsl-devel + CIBW_BEFORE_BUILD_LINUX: sed -i s/mirror.cento/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 gsl-devel CIBW_ARCHS_MACOS: ${{ matrix.buildplat[2] }} CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=10.13" CIBW_REPAIR_WHEEL_COMMAND_MACOS: >