From c471e8469790a8546798eb26299f0be8bb66a281 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 1 Jul 2025 14:54:33 +0200 Subject: [PATCH 1/3] 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. From 214ac2f00550e5ac0541068c60123424251c2911 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 1 Jul 2025 15:13:42 +0200 Subject: [PATCH 2/3] 1.133.0 --- CHANGES.md | 9 +++++++++ changelog.d/18615.bugfix | 1 - debian/changelog | 6 ++++++ pyproject.toml | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) delete mode 100644 changelog.d/18615.bugfix diff --git a/CHANGES.md b/CHANGES.md index 23debccd6..c0c03af72 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +# Synapse 1.133.0 (2025-07-01) + +### Bugfixes + +- Bump `cibuildwheel` to 3.0.0 to fix the `manylinux` wheel builds. ([\#18615](https://github.com/element-hq/synapse/issues/18615)) + + + + # Synapse 1.133.0rc1 (2025-06-24) ### Features diff --git a/changelog.d/18615.bugfix b/changelog.d/18615.bugfix deleted file mode 100644 index dbdf1849c..000000000 --- a/changelog.d/18615.bugfix +++ /dev/null @@ -1 +0,0 @@ -Bump `cibuildwheel` to 3.0.0 to fix the `manylinux` wheel builds. diff --git a/debian/changelog b/debian/changelog index 614901e3f..32070a32d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.133.0) stable; urgency=medium + + * New synapse release 1.133.0. + + -- Synapse Packaging team Tue, 01 Jul 2025 13:13:24 +0000 + matrix-synapse-py3 (1.133.0~rc1) stable; urgency=medium * New Synapse release 1.133.0rc1. diff --git a/pyproject.toml b/pyproject.toml index a354e26d3..8593ce06f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ module-name = "synapse.synapse_rust" [tool.poetry] name = "matrix-synapse" -version = "1.133.0rc1" +version = "1.133.0" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "AGPL-3.0-or-later" From e3ed93adf35f6246ccd98c9cb5e938d564541fde Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 1 Jul 2025 16:01:28 +0200 Subject: [PATCH 3/3] Add a note in the changelog about the manylinux wheels --- CHANGES.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index c0c03af72..f3e541563 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ # Synapse 1.133.0 (2025-07-01) +Pre-built wheels are now built using the [manylinux_2_28](https://github.com/pypa/manylinux#manylinux_2_28-almalinux-8-based) base, which is expected to be compatible with distros using glibc 2.28 or later, including: + + - Debian 10+ + - Ubuntu 18.10+ + - Fedora 29+ + - CentOS/RHEL 8+ + +Previously, wheels were built using the [manylinux2014](https://github.com/pypa/manylinux#manylinux2014-centos-7-based-glibc-217) base, which was expected to be compatible with distros using glibc 2.17 or later. + ### Bugfixes - Bump `cibuildwheel` to 3.0.0 to fix the `manylinux` wheel builds. ([\#18615](https://github.com/element-hq/synapse/issues/18615))