Skip to content

Commit

Permalink
🐍⬆️ update image for Linux wheel builds to manylinux_2_28 (#453)
Browse files Browse the repository at this point in the history
## 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:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [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 <burgholzer@me.com>
  • Loading branch information
burgholzer committed Sep 5, 2024
1 parent fd93799 commit 69c6156
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 69c6156

Please sign in to comment.