From 69c6156708b1f7414a4647e12a9b49d6aa74f1ed Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Thu, 5 Sep 2024 20:17:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8D=E2=AC=86=EF=B8=8F=20update=20image?= =?UTF-8?q?=20for=20Linux=20wheel=20builds=20to=20`manylinux=5F2=5F28`=20(?= =?UTF-8?q?#453)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description CentOS 7, which the default `manylinux2014` image is based on, reached end-of-life in June 2024. The only meaningful platforms left that do not provide a recent enough `glibc` version are some `Amazon Linux 2` platforms, which are not really relevant for the MQT. This PR moves the Linux wheel builds to the more recent `manylinux_2_28` images, which offers many performance improvements and optimizations. ## Checklist: - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. --------- Signed-off-by: burgholzer --- .github/workflows/cd.yml | 4 ++++ pyproject.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9a9271cd..935fb01a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,6 +7,10 @@ on: paths: - .github/workflows/cd.yml +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: python-packaging: name: 🐍 Packaging diff --git a/pyproject.toml b/pyproject.toml index ba81cc35..1332f899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -287,6 +287,10 @@ test-command = "python -c \"from mqt import qcec\"" test-skip = ["cp38-macosx_arm64", "cp313*"] # skip testing on Python 3.13 until our dependencies are ready build-frontend = "build[uv]" free-threaded-support = true +manylinux-x86_64-image = "manylinux_2_28" +manylinux-aarch64-image = "manylinux_2_28" +manylinux-ppc64le-image = "manylinux_2_28" +manylinux-s390x-image = "manylinux_2_28" [tool.cibuildwheel.linux] environment = { DEPLOY="ON" }