diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d1eb9fd5..b86dc0b30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - name: Build wheels (manylinux) uses: pypa/cibuildwheel@v2.19.2 env: - CIBW_BEFORE_BUILD: "bash scripts/fixup_centos_7_in_ci.sh && yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core" + CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core" CIBW_BUILD: "*-manylinux_${{ matrix.wheel_arch }}" # Skip tests for Python 3.10 onwards because SciPy does not have # 32-bit wheels for Linux @@ -66,7 +66,7 @@ jobs: - name: Build wheels (manylinux) uses: pypa/cibuildwheel@v2.19.2 env: - CIBW_BEFORE_BUILD: "bash scripts/fixup_centos_7_in_ci.sh && yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core" + CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core" CIBW_ARCHS_LINUX: aarch64 CIBW_BUILD: "*-manylinux_aarch64" diff --git a/scripts/fixup_centos_7_in_ci.sh b/scripts/fixup_centos_7_in_ci.sh deleted file mode 100755 index 74bc18173..000000000 --- a/scripts/fixup_centos_7_in_ci.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# Workaround for cibuildwheel Docker images using CentOS 7 now that CentOS 7 -# is gone. - -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 -sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo -