From cff16de5b4181310d496e95ff0c5436efd228398 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:41 +0000 Subject: [PATCH 01/14] ci: fastcdc build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-fastcdc.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-fastcdc.yml b/.github/workflows/build-fastcdc.yml index 8a21679285b..5a8ac596d9e 100644 --- a/.github/workflows/build-fastcdc.yml +++ b/.github/workflows/build-fastcdc.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build fastcdc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build fastcdc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: FASTCDC_VERSION: ${{ matrix.version }} @@ -74,7 +72,7 @@ jobs: uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} @@ -92,7 +90,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: fastcdc-${{ env.FASTCDC_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: fastcdc-${{ env.FASTCDC_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 8974edf5d6af36be6dcfebbe7242f10b1e5c7fe9 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:41 +0000 Subject: [PATCH 02/14] ci: faster-fifo build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-faster-fifo.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-faster-fifo.yml b/.github/workflows/build-faster-fifo.yml index 9ae5c39fbae..aa0c1f78682 100644 --- a/.github/workflows/build-faster-fifo.yml +++ b/.github/workflows/build-faster-fifo.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build faster-fifo ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build faster-fifo ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: FASTER_FIFO_VERSION: ${{ matrix.version }} @@ -133,7 +131,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} @@ -142,7 +140,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: faster-fifo-${{ env.FASTER_FIFO_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: faster-fifo-${{ env.FASTER_FIFO_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 5fd336256097663349d8022689b744a1f4847a61 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:41 +0000 Subject: [PATCH 03/14] ci: gemmi build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-gemmi.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-gemmi.yml b/.github/workflows/build-gemmi.yml index f7c13acbe5d..38b259b9e1d 100644 --- a/.github/workflows/build-gemmi.yml +++ b/.github/workflows/build-gemmi.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build gemmi ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build gemmi ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 120 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: GEMMI_VERSION: ${{ matrix.version }} @@ -85,7 +83,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # find_package(nanobind 2.4.0) in CMakeLists.txt rejects nanobind 3.x as @@ -113,7 +111,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: gemmi-${{ env.GEMMI_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: gemmi-${{ env.GEMMI_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 126d49f5c7d561dbed8a1b936e431e2718ab1a5e Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:41 +0000 Subject: [PATCH 04/14] ci: gimli.units build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-gimli-units.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-gimli-units.yml b/.github/workflows/build-gimli-units.yml index 3b050d5ce7a..2e8c6645245 100644 --- a/.github/workflows/build-gimli-units.yml +++ b/.github/workflows/build-gimli-units.yml @@ -50,15 +50,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build gimli.units ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build gimli.units ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314"] - libc: ["manylinux", "musllinux"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: GIMLI_UNITS_VERSION: ${{ matrix.version }} @@ -85,7 +83,7 @@ jobs: output-dir: wheelhouse/ env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # Overriding CIBW_ENVIRONMENT replaces upstream's own pyproject.toml @@ -100,7 +98,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: gimli.units-${{ env.GIMLI_UNITS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: gimli.units-${{ env.GIMLI_UNITS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 463c48a5341624a51bbc5b084818157aa9ce5891 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:41 +0000 Subject: [PATCH 05/14] ci: glcontext build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-glcontext.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-glcontext.yml b/.github/workflows/build-glcontext.yml index 8fe3d84bc19..88b9de0f5d4 100644 --- a/.github/workflows/build-glcontext.yml +++ b/.github/workflows/build-glcontext.yml @@ -48,15 +48,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build glcontext ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build glcontext ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: GLCONTEXT_VERSION: ${{ matrix.version }} @@ -72,7 +70,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} @@ -121,7 +119,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: glcontext-${{ env.GLCONTEXT_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: glcontext-${{ env.GLCONTEXT_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 42d10197625f57aa10af0e6d7a3ad76136b6a74c Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 06/14] ci: gpiod build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-gpiod.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-gpiod.yml b/.github/workflows/build-gpiod.yml index fb5e5f8833f..26441d5137a 100644 --- a/.github/workflows/build-gpiod.yml +++ b/.github/workflows/build-gpiod.yml @@ -102,15 +102,13 @@ jobs: build_wheels: needs: [setup, python_sdist] if: needs.setup.outputs.versions != '[]' - name: Build gpiod ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build gpiod ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: GPIOD_VERSION: ${{ matrix.version }} @@ -133,7 +131,7 @@ jobs: output-dir: wheelhouse/ env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # lib/uapi/gpio.h pulls in the system linux/const.h,linux/ioctl.h, @@ -162,7 +160,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: gpiod-${{ env.GPIOD_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: gpiod-${{ env.GPIOD_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 51a6bcaf0ab1030f17a0b14d58534d7615f9012d Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 07/14] ci: guppy3 build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-guppy3.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-guppy3.yml b/.github/workflows/build-guppy3.yml index a21498384b3..77efec57a74 100644 --- a/.github/workflows/build-guppy3.yml +++ b/.github/workflows/build-guppy3.yml @@ -49,20 +49,19 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build guppy3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build guppy3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # Matches upstream's own published matrix (cp310-cp314, no free-threaded). - # cp313t/cp314t are not attempted: rootstate.c's designated initializer - # `.ob_refcnt = 1` doesn't compile against the free-threaded PyObject - # header (no ob_refcnt field there), which is also why upstream ships no - # cp313t/cp314t wheel on PyPI. - python: ["cp310", "cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # cp313t isn't a buildable riscv64 interpreter at all (no -manylinux_riscv64 + # identifier upstream cibuildwheel can target); cp314t doesn't appear + # because docs/packages/guppy3.yaml declares no 3.1[34]t entries: + # rootstate.c's designated initializer `.ob_refcnt = 1` doesn't compile + # against the free-threaded PyObject header (no ob_refcnt field there), + # which is also why upstream ships no cp313t/cp314t wheel on PyPI. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: GUPPY3_VERSION: ${{ matrix.version }} @@ -78,14 +77,14 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} CIBW_TEST_COMMAND: python -c 'import guppy; guppy.hpy().test()' - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: guppy3-${{ env.GUPPY3_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: guppy3-${{ env.GUPPY3_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From e41a7dba7672199a5c223731cf1a857e03cfd949 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 08/14] ci: hdrhistogram build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-hdrhistogram.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-hdrhistogram.yml b/.github/workflows/build-hdrhistogram.yml index 7afa5fe82b9..029bb02f9ee 100644 --- a/.github/workflows/build-hdrhistogram.yml +++ b/.github/workflows/build-hdrhistogram.yml @@ -51,17 +51,16 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build hdrhistogram ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build hdrhistogram ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} # Matches upstream's own CIBW_BUILD/CIBW_SKIP: cp310-cp314, free-threaded - # skipped because the C extension is not validated for that ABI. - python: ["cp310", "cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # skipped because the C extension is not validated for that ABI (and + # docs/packages/hdrhistogram.yaml declares no cp314t entries either way). + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: HDRHISTOGRAM_VERSION: ${{ matrix.version }} @@ -85,7 +84,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # Fixture lookups in test/test_hdrhistogram.py are the literal relative @@ -114,7 +113,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: hdrhistogram-${{ env.HDRHISTOGRAM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: hdrhistogram-${{ env.HDRHISTOGRAM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 58bc3c40dc8899b56d619a5f28c21655227cbcd6 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 09/14] ci: igwn-segments build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-igwn-segments.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-igwn-segments.yml b/.github/workflows/build-igwn-segments.yml index 00aae446cba..a8b81016384 100644 --- a/.github/workflows/build-igwn-segments.yml +++ b/.github/workflows/build-igwn-segments.yml @@ -85,18 +85,18 @@ jobs: build_wheels: needs: [setup, python_sdist] if: needs.setup.outputs.versions != '[]' - name: Build igwn-segments ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build igwn-segments ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} # Upstream builds no cp314t Linux wheel yet; the extension declares no - # free-threading support either way, so cp314t just re-enables the GIL - # on import (CLAUDE.md gotcha 127) rather than failing. - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + # free-threading support either way, so cp314t would just re-enable the + # GIL on import (CLAUDE.md gotcha 127) rather than failing -- but + # docs/packages/igwn-segments.yaml declares no 3.14t entries, so the + # generated matrix naturally stops short of testing that leg. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: IGWN_SEGMENTS_VERSION: ${{ matrix.version }} @@ -118,7 +118,7 @@ jobs: output-dir: wheelhouse/ env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} CIBW_TEST_REQUIRES: pytest @@ -127,7 +127,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: igwn-segments-${{ env.IGWN_SEGMENTS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: igwn-segments-${{ env.IGWN_SEGMENTS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 47177dacc538bfee7890ef81934ecf97baf02d83 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 10/14] ci: imgui-bundle build_wheels uses needs.setup.outputs.matrix, keep cp311 excluded --- .github/workflows/build-imgui-bundle.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-imgui-bundle.yml b/.github/workflows/build-imgui-bundle.yml index e39fc08bdc0..0ddfb550254 100644 --- a/.github/workflows/build-imgui-bundle.yml +++ b/.github/workflows/build-imgui-bundle.yml @@ -46,21 +46,24 @@ jobs: with: package: imgui-bundle version: ${{ inputs.version }} + # cp311 is excluded to match this repo's numpy-driven cp312 floor (see + # build_wheels' CIBW_ENVIRONMENT: PIP_ONLY_BINARY/UV_ONLY_BINARY pin numpy + # to binary wheels from our registry, which publishes no cp311 numpy). + python-exclude: 'cp39 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build imgui-bundle ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build imgui-bundle ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 480 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} # Upstream's own cibuildwheel build list is cp311-cp314 (no free-threaded - # variants); cp311 is dropped to match this repo's numpy-driven cp312 floor. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # variants); cp311 is dropped (via the setup job's python-exclude above) + # to match this repo's numpy-driven cp312 floor. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: IMGUI_BUNDLE_VERSION: ${{ matrix.version }} @@ -77,7 +80,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} @@ -89,7 +92,7 @@ jobs: # below), which installs the X11/GL dev headers GLFW's CMake needs - # repeat that command here per libc. CIBW_BEFORE_ALL: >- - ${{ matrix.libc == 'musllinux' && 'apk add xorg-server-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev mesa-dev mesa-gl cmake curl bash' || 'yum install -y libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel mesa-libGL-devel' }} && + ${{ matrix.platform == 'musllinux' && 'apk add xorg-server-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev mesa-dev mesa-gl cmake curl bash' || 'yum install -y libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel mesa-libGL-devel' }} && echo 'nanobind<3' > /nanobind-constraint.txt # scikit-build-core provisions cmake/ninja from PyPI when not already on # PATH; both are published to our registry for riscv64, so pin pip/uv to @@ -108,7 +111,7 @@ jobs: UV_ONLY_BINARY=numpy,cmake,ninja UV_CONSTRAINT=/nanobind-constraint.txt UV_BUILD_CONSTRAINT=/nanobind-constraint.txt - ${{ matrix.libc == 'musllinux' && 'CMAKE_ARGS=-DIMGUI_BUNDLE_PYTHON_DISABLE_OPENGL2=ON' || '' }} + ${{ matrix.platform == 'musllinux' && 'CMAKE_ARGS=-DIMGUI_BUNDLE_PYTHON_DISABLE_OPENGL2=ON' || '' }} # Upstream's test-requires (pytest, pytest-asyncio, numpy) needs numpy, which # has no riscv64 musllinux wheel in our registry (manylinux_riscv64 only) - # skip the test-install/test-command on musllinux legs, keeping the build. @@ -116,7 +119,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: imgui-bundle-${{ env.IMGUI_BUNDLE_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: imgui-bundle-${{ env.IMGUI_BUNDLE_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From b2d717a99407bf8f264544e9ec5d2a7a6e033f94 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 11/14] ci: immutables build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-immutables.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-immutables.yml b/.github/workflows/build-immutables.yml index 15fee2b73fc..f8d4ad712c0 100644 --- a/.github/workflows/build-immutables.yml +++ b/.github/workflows/build-immutables.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build immutables ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build immutables ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: IMMUTABLES_VERSION: ${{ matrix.version }} @@ -73,7 +71,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # Upstream's own "test" extra pins mypy~=1.4, which has no riscv64 wheel @@ -86,7 +84,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: immutables-${{ env.IMMUTABLES_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: immutables-${{ env.IMMUTABLES_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 3630e88fc8515936ea92d4f97ab088a0a66fedc3 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:42 +0000 Subject: [PATCH 12/14] ci: islpy build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-islpy.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-islpy.yml b/.github/workflows/build-islpy.yml index c155980feb9..15e9804172c 100644 --- a/.github/workflows/build-islpy.yml +++ b/.github/workflows/build-islpy.yml @@ -48,17 +48,16 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build islpy ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build islpy ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 90 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # cp314t dropped: upstream's own cibuildwheel skip list excludes all - # free-threaded builds ('cp31?t-*'). - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # cp314t/cp315t never appear: upstream's own cibuildwheel skip list + # excludes all free-threaded builds ('cp31?t-*'), and + # docs/packages/islpy.yaml declares no such entries either. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: ISLPY_VERSION: ${{ matrix.version }} @@ -76,14 +75,14 @@ jobs: uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: islpy-${{ env.ISLPY_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: islpy-${{ env.ISLPY_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From ad539137126b2c2843da59f0e7ac9dd109505973 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:43 +0000 Subject: [PATCH 13/14] ci: jsonobject build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-jsonobject.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-jsonobject.yml b/.github/workflows/build-jsonobject.yml index 4fb3c899993..be4dcbb8b2b 100644 --- a/.github/workflows/build-jsonobject.yml +++ b/.github/workflows/build-jsonobject.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build jsonobject ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build jsonobject ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: JSONOBJECT_VERSION: ${{ matrix.version }} @@ -73,7 +71,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # test/ resolves its couchdbkit fixtures relative to cwd (not @@ -87,7 +85,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: jsonobject-${{ env.JSONOBJECT_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: jsonobject-${{ env.JSONOBJECT_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 4de93943a3369a26b4dfe54976604a88c5868b9b Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:43 +0000 Subject: [PATCH 14/14] ci: kaldialign build_wheels uses needs.setup.outputs.matrix --- .github/workflows/build-kaldialign.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-kaldialign.yml b/.github/workflows/build-kaldialign.yml index 2574423d7a7..fd698828fce 100644 --- a/.github/workflows/build-kaldialign.yml +++ b/.github/workflows/build-kaldialign.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build kaldialign ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build kaldialign ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 60 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: KALDIALIGN_VERSION: ${{ matrix.version }} @@ -73,7 +71,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} CIBW_TEST_REQUIRES: pytest @@ -83,7 +81,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: kaldialign-${{ env.KALDIALIGN_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: kaldialign-${{ env.KALDIALIGN_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error