From b1e96f7093a4ff595e398d73574953a7a19fbd03 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Sun, 4 Aug 2024 10:44:33 +0200 Subject: [PATCH] CI: Update to cibuildwheel 2.20.0 cibuildwheel 2.20.0 uses the ABI stable Python 3.13.0rc1 and build Python 3.13 wheels by default, which allows removing the `CIBW_PRERELEASE_PYTHONS` flag. --- .circleci/config.yml | 4 ++-- .github/workflows/wheels.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7533899f90470..c5cb9165c7ac0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -89,8 +89,8 @@ jobs: name: Build aarch64 wheels no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that command: | - pip3 install cibuildwheel==2.18.1 - cibuildwheel --prerelease-pythons --output-dir wheelhouse + pip3 install cibuildwheel==2.20.0 + cibuildwheel --output-dir wheelhouse environment: CIBW_BUILD: << parameters.cibw-build >> diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9f07648b254dd..67d8715f72614 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -158,11 +158,10 @@ jobs: run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" - name: Build wheels - uses: pypa/cibuildwheel@v2.19.2 + uses: pypa/cibuildwheel@v2.20.0 with: package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }} env: - CIBW_PRERELEASE_PYTHONS: True CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }} CIBW_BUILD_FRONTEND: ${{ matrix.cibw_build_frontend || 'pip' }} CIBW_PLATFORM: ${{ matrix.buildplat[1] == 'pyodide_wasm32' && 'pyodide' || 'auto' }}