From 76311c7e1439cb215de244277267db5bae5d738e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Pe=C3=B1a=20Tapia?= Date: Mon, 16 Sep 2024 17:56:13 +0200 Subject: [PATCH 1/2] Attempt to fix wheel building --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a0ba2019dc81..6b03ee097318 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,8 +7,8 @@ line-length = 100 target-version = ['py38', 'py39', 'py310', 'py311'] [tool.cibuildwheel] -manylinux-x86_64-image = "manylinux2014" -manylinux-i686-image = "manylinux2014" +manylinux-x86_64-image = "manylinux2014-latest" +manylinux-i686-image = "manylinux2014-latest" skip = "pp* cp36-* cp37-* *musllinux*" test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686 cp312-win32 cp312-manylinux_i686" test-command = "python {project}/examples/python/stochastic_swap.py" From ada6eab880c4d36b2cedc45db4418509d7cd955f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Pe=C3=B1a=20Tapia?= Date: Tue, 17 Sep 2024 10:11:47 +0200 Subject: [PATCH 2/2] Revert previous attempt. Bump pupa/cibuildwheel to 2.19.2 --- .github/workflows/wheels.yml | 10 +++++----- pyproject.toml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 00d336af719f..fe1c465c5849 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -24,7 +24,7 @@ jobs: - uses: dtolnay/rust-toolchain@1.73 if: runner.os == 'macOS' - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.2 - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl @@ -45,7 +45,7 @@ jobs: python-version: '3.10' - uses: dtolnay/rust-toolchain@stable - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin CIBW_ARCHS_MACOS: arm64 universal2 @@ -95,7 +95,7 @@ jobs: with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS_LINUX: s390x CIBW_TEST_SKIP: "cp*" @@ -129,7 +129,7 @@ jobs: with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS_LINUX: ppc64le CIBW_TEST_SKIP: "cp*" @@ -163,7 +163,7 @@ jobs: with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.19.2 env: CIBW_ARCHS_LINUX: aarch64 - uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index 6b03ee097318..a0ba2019dc81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,8 +7,8 @@ line-length = 100 target-version = ['py38', 'py39', 'py310', 'py311'] [tool.cibuildwheel] -manylinux-x86_64-image = "manylinux2014-latest" -manylinux-i686-image = "manylinux2014-latest" +manylinux-x86_64-image = "manylinux2014" +manylinux-i686-image = "manylinux2014" skip = "pp* cp36-* cp37-* *musllinux*" test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686 cp312-win32 cp312-manylinux_i686" test-command = "python {project}/examples/python/stochastic_swap.py"