diff --git a/.github/workflows/buildwheel.yml b/.github/workflows/buildwheel.yml index 05630625..618f2e35 100644 --- a/.github/workflows/buildwheel.yml +++ b/.github/workflows/buildwheel.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-2019, macos-12] + os: [ubuntu-20.04] steps: - uses: actions/checkout@v3 @@ -37,8 +37,8 @@ jobs: CIBW_BUILD: cp39-* cp310-* cp311-* CIBW_SKIP: "*-win32 *-manylinux_i686 *-musllinux_*" #CIBW_SKIP: "*-win32 *-musllinux_*" - CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 - CIBW_MANYLINUX_I686_IMAGE: manylinux2014 + CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24 + CIBW_MANYLINUX_I686_IMAGE: manylinux_2_24 CIBW_BEFORE_ALL_LINUX: bin/cibw_before_all_linux.sh CIBW_BEFORE_ALL_MACOS: bin/cibw_before_all_macosx_x86_64.sh CIBW_BEFORE_ALL_WINDOWS: msys2 -c bin/cibw_before_all_windows.sh @@ -64,7 +64,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, windows-2019, macos-12] + os: [ubuntu-20.04] python-version: ['3.9', '3.10', '3.11'] steps: diff --git a/bin/cibw_before_all_linux.sh b/bin/cibw_before_all_linux.sh index 405d89dc..c8a67db5 100755 --- a/bin/cibw_before_all_linux.sh +++ b/bin/cibw_before_all_linux.sh @@ -1,6 +1,16 @@ #!/usr/bin/env bash -yum install -y xz +set -xe + +#yum install -y xz + +# The echo lines are needed for manylinux_2_24 +# https://github.com/pypa/manylinux/issues/1369#issuecomment-1546594841 +echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list +echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list +apt-get update +apt-get install -y xz-utils + bin/build_dependencies_unix.sh\ --gmp gmp\ --host x86_64-pc-linux-gnu\