From c471e8469790a8546798eb26299f0be8bb66a281 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 1 Jul 2025 14:54:33 +0200 Subject: [PATCH] Bump cibuildwheel to 3.0.0 to fix the building of wheels (#18615) Fixes https://github.com/element-hq/synapse/issues/18614 This upgrade CIBW to 3.0, which now builds using the manylinux_2_28 image, as the previous image is EOL and not supported by some of our dependencies anymore. This also updates the job to use the `ubuntu-24.04` base image instead of `ubuntu-22.04` --- .github/workflows/release-artifacts.yml | 4 ++-- changelog.d/18615.bugfix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/18615.bugfix diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 572d73e6a..c6c252c9c 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -111,7 +111,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, macos-13] + os: [ubuntu-24.04, macos-13] arch: [x86_64, aarch64] # is_pr is a flag used to exclude certain jobs from the matrix on PRs. # It is not read by the rest of the workflow. @@ -139,7 +139,7 @@ jobs: python-version: "3.x" - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.23.0 + run: python -m pip install cibuildwheel==3.0.0 - name: Set up QEMU to emulate aarch64 if: matrix.arch == 'aarch64' diff --git a/changelog.d/18615.bugfix b/changelog.d/18615.bugfix new file mode 100644 index 000000000..dbdf1849c --- /dev/null +++ b/changelog.d/18615.bugfix @@ -0,0 +1 @@ +Bump `cibuildwheel` to 3.0.0 to fix the `manylinux` wheel builds.