From ff5f1db9de58b6346b21ede6ad9c907aa319f5e4 Mon Sep 17 00:00:00 2001 From: Geoffrey Bolmier Date: Tue, 9 Jul 2024 10:30:35 -0400 Subject: [PATCH 1/2] Update pypa/cibuildwheel in pypi.yml --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index c56f1f6f2c..abaeb93b38 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -51,7 +51,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.17.0 + uses: pypa/cibuildwheel@v2.19.2 timeout-minutes: 720 env: CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*" From 90096a28a4923614de66792a09baa3f4f42e0983 Mon Sep 17 00:00:00 2001 From: Geoffrey Bolmier Date: Tue, 9 Jul 2024 11:19:21 -0400 Subject: [PATCH 2/2] Remove ppc64le and s390x builds from pypi.yml --- .github/workflows/pypi.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index abaeb93b38..7117341ee3 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -55,13 +55,13 @@ jobs: timeout-minutes: 720 env: CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*" - CIBW_ARCHS_LINUX: "x86_64 i686 aarch64 ppc64le s390x" + CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" # CIBW_ARCHS_MACOS: "x86_64 arm64" CIBW_ARCHS_MACOS: "universal2" # We don't build ARM64 wheels yet because there's a Rust issue CIBW_ARCHS_WINDOWS: "AMD64 x86" - # Rust nighlty doesn't seem to be available for musl linux on i686 and ppc64le and s390x (yet) - CIBW_SKIP: "*-musllinux_i686 *-musllinux_ppc64le *-musllinux_s390x" + # Rust nighlty doesn't seem to be available for musl linux on i686 + CIBW_SKIP: "*-musllinux_i686" # arm64 and universal2 wheels are tagged with x86_64 because there's an issue with Poetry # More information here: https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile (CTRL + F "poetry") @@ -74,8 +74,6 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014" CIBW_MANYLINUX_I686_IMAGE: "manylinux2014" CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014" - CIBW_MANYLINUX_PPC64LE_IMAGE: "manylinux2014" - CIBW_MANYLINUX_S390X_IMAGE: "manylinux2014" CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux2014" CIBW_MANYLINUX_PYPY_I686_IMAGE: "manylinux2014" CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: "manylinux2014" @@ -83,8 +81,6 @@ jobs: CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_1" CIBW_MUSLLINUX_I686_IMAGE: "musllinux_1_1" CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_1" - CIBW_MUSLLINUX_PPC64LE_IMAGE: "musllinux_1_1" - CIBW_MUSLLINUX_S390X_IMAGE: "musllinux_1_1" CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"' # Fix the following error: error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylibfailed with code -9