From ca2f69b7e8688fea4128c27ba1796eddb372973e Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Sat, 26 Apr 2025 23:29:53 +0000 Subject: [PATCH 1/3] Build wheels for more architectures --- .github/workflows/release.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f2039d..c440a42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,12 +13,26 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: ubuntu-latest + use_qemu: true + architectures: auto ppc64le + - os: ubuntu-24.04-arm + architectures: auto armv7l + - os: macos-13 # Intel + - os: macos-14 # Apple Silicon + - os: windows-latest fail-fast: false steps: - uses: actions/checkout@v4 + - if: matrix.use_qemu + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + with: + platforms: all + # Used to host cibuildwheel - uses: actions/setup-python@v4 with: @@ -29,6 +43,8 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_ARCHS: ${{ matrix.architectures || 'auto' }} - uses: actions/upload-artifact@v4 with: From fa21097a4495249371ff33f1d96debe17608dc75 Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Mon, 28 Apr 2025 09:23:51 +0000 Subject: [PATCH 2/3] Drop ppc64 architecture --- .github/workflows/release.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c440a42..9e92e79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,6 @@ jobs: matrix: include: - os: ubuntu-latest - use_qemu: true - architectures: auto ppc64le - os: ubuntu-24.04-arm architectures: auto armv7l - os: macos-13 # Intel @@ -27,12 +25,6 @@ jobs: steps: - uses: actions/checkout@v4 - - if: matrix.use_qemu - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - with: - platforms: all - # Used to host cibuildwheel - uses: actions/setup-python@v4 with: From e8d160b0e3be82c13191d8b18f606dee6bdb1a1f Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Mon, 28 Apr 2025 09:25:54 +0000 Subject: [PATCH 3/3] Bump Python version since <3.9 is EOL --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e5606cf..6531c6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ description = """This module performs conversions between Python values \ and C bit field structs represented as Python \ byte strings.""" readme = "README.rst" -requires-python = ">=3.7" +requires-python = ">=3.9" license = "MIT" keywords = [ "bit field",