From 64794ad0bdfcb740187d9aaa0001255970a3c032 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:53 +0000 Subject: [PATCH 01/13] ci: migrate thinc workflow to needs.setup.outputs.matrix Drops the hardcoded version/python matrix (and its per-version 9.1.1 cp313/cp314 exclude, now naturally covered by docs/packages/thinc.yaml's own files: list) in favor of the setup job's generated include: matrix. docs/packages/thinc.yaml also declares musllinux files for both pending versions, which the old manylinux-only job never built; this starts building those too. --- .github/workflows/build-thinc.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-thinc.yml b/.github/workflows/build-thinc.yml index cf737a4047c..c95787b69fc 100644 --- a/.github/workflows/build-thinc.yml +++ b/.github/workflows/build-thinc.yml @@ -39,6 +39,7 @@ permissions: env: MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64 + MUSLLINUX_RISCV64_IMAGE: quay.io/pypa/musllinux_1_2_riscv64 jobs: setup: @@ -50,23 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build thinc ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64 + name: Build thinc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 300 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # 9.1.1 pins `cython>=0.25,<3.0`, and Cython 0.29 emits calls to the - # pre-3.13 `_PyLong_AsByteArray` signature, so cp313+ cannot compile. - # Upstream ships cp39-cp312 wheels for this release for the same reason; - # 10.0.0 moved to Cython 3 and builds on every interpreter. - python: ["cp312", "cp313", "cp314"] - exclude: - - version: 9.1.1 - python: cp313 - - version: 9.1.1 - python: cp314 + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: THINC_VERSION: ${{ matrix.version }} @@ -132,9 +123,10 @@ jobs: uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-manylinux_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} + CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # numpy has no riscv64 wheel on public PyPI; the build and the test # environment both resolve it from our registry. CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ @@ -172,7 +164,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: thinc-${{ env.THINC_VERSION }}-${{ matrix.python }}-manylinux_riscv64 + name: thinc-${{ env.THINC_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error @@ -192,4 +184,4 @@ jobs: app-private-key: ${{ secrets.RISEPROJECT_APP_PRIVATE_KEY }} with: matrix: ${{ needs.setup.outputs.matrix }} - artifact-pattern: thinc-${{ matrix.version }}-*-manylinux_riscv64 + artifact-pattern: thinc-${{ matrix.version }}-*riscv64 From 5b49f6f30ba3aac5ba45b323dbe974dd1a109847 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:53 +0000 Subject: [PATCH 02/13] ci: migrate thriftpy2 workflow to needs.setup.outputs.matrix --- .github/workflows/build-thriftpy2.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-thriftpy2.yml b/.github/workflows/build-thriftpy2.yml index de9ff5999fb..1d9e6259e05 100644 --- a/.github/workflows/build-thriftpy2.yml +++ b/.github/workflows/build-thriftpy2.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build thriftpy2 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build thriftpy2 ${{ 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: THRIFTPY2_VERSION: ${{ matrix.version }} @@ -73,7 +71,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 }} @@ -115,7 +113,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: thriftpy2-${{ env.THRIFTPY2_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: thriftpy2-${{ env.THRIFTPY2_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 8e37fa114693eddf295fa1b1454b120b543cbf10 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:53 +0000 Subject: [PATCH 03/13] ci: migrate traits workflow to needs.setup.outputs.matrix --- .github/workflows/build-traits.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-traits.yml b/.github/workflows/build-traits.yml index f9ca0219f7c..9d0f91a4682 100644 --- a/.github/workflows/build-traits.yml +++ b/.github/workflows/build-traits.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build traits ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build traits ${{ 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: TRAITS_VERSION: ${{ matrix.version }} @@ -84,7 +82,7 @@ jobs: - name: Build and test wheel 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 }} # traits/tests is a real subpackage shipped in the wheel (setup.py's @@ -105,13 +103,13 @@ jobs: if: always() uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: traits-${{ env.TRAITS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64-log + name: traits-${{ env.TRAITS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64-log path: cibuildwheel.log if-no-files-found: warn - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: traits-${{ env.TRAITS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: traits-${{ env.TRAITS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 9a2f682e5d8ed0568b6905887dead492b9771b6b Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:53 +0000 Subject: [PATCH 04/13] ci: migrate turbohtml workflow to needs.setup.outputs.matrix --- .github/workflows/build-turbohtml.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-turbohtml.yml b/.github/workflows/build-turbohtml.yml index b435eace692..aa36dcc6134 100644 --- a/.github/workflows/build-turbohtml.yml +++ b/.github/workflows/build-turbohtml.yml @@ -52,17 +52,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build turbohtml ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build turbohtml ${{ 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) }} - # Same cp311-cp315(t) set upstream's own check.yaml tests; PyPy is dropped (no riscv64 - # PyPy interpreter for cibuildwheel to build against, same as every other port here). - python: ["cp311", "cp312", "cp313", "cp314", "cp314t", "cp315", "cp315t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: TURBOHTML_VERSION: ${{ matrix.version }} @@ -89,14 +85,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: turbohtml-${{ env.TURBOHTML_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: turbohtml-${{ env.TURBOHTML_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From f5ef5b679085ab2e5ff08129d5c4d87a02fd9824 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 05/13] ci: migrate type-enforced workflow to needs.setup.outputs.matrix --- .github/workflows/build-type-enforced.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-type-enforced.yml b/.github/workflows/build-type-enforced.yml index 7777265a8da..e0fd5902740 100644 --- a/.github/workflows/build-type-enforced.yml +++ b/.github/workflows/build-type-enforced.yml @@ -50,17 +50,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build type_enforced ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build type_enforced ${{ 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) }} - # Per-interpreter (not abi3): upstream ships cp3x-cp3x wheels despite - # nanobind's STABLE_ABI flag (no wheel.py-api set in pyproject.toml). - python: ["cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: TYPE_ENFORCED_VERSION: ${{ matrix.version }} @@ -78,12 +74,12 @@ 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 }} # scikit-build-core bootstraps its own (recent) cmake from PyPI, which # also ships riscv64 wheels; matches the potpourri3d precedent. - CIBW_BEFORE_ALL_LINUX: ${{ matrix.libc == 'manylinux' && 'yum remove -y cmake' || '' }} + CIBW_BEFORE_ALL_LINUX: ${{ matrix.platform == 'manylinux' && 'yum remove -y cmake' || '' }} # Fail the build instead of silently shipping a pure-Python wheel if the # C++ extension fails to compile, same as upstream's own CI does. CIBW_ENVIRONMENT: TYPE_ENFORCED_REQUIRE_CPP="1" @@ -91,7 +87,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: type-enforced-${{ env.TYPE_ENFORCED_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: type-enforced-${{ env.TYPE_ENFORCED_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 0f5990bc14a3ee740bb27342998bbb7cd8a02b48 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 06/13] ci: migrate ulid-transform workflow to needs.setup.outputs.matrix --- .github/workflows/build-ulid-transform.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ulid-transform.yml b/.github/workflows/build-ulid-transform.yml index fd6a5211eaf..5edb3c0ee57 100644 --- a/.github/workflows/build-ulid-transform.yml +++ b/.github/workflows/build-ulid-transform.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ulid-transform ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ulid-transform ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 30 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: ULID_TRANSFORM_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_ENVIRONMENT: REQUIRE_EXTENSION=1 @@ -85,7 +83,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ulid-transform-${{ env.ULID_TRANSFORM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ulid-transform-${{ env.ULID_TRANSFORM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 875317e2f6621fe129216944178c556849bb8628 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 07/13] ci: migrate unicodedata2 workflow to needs.setup.outputs.matrix --- .github/workflows/build-unicodedata2.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-unicodedata2.yml b/.github/workflows/build-unicodedata2.yml index ce66f606b79..aa7cb7a4e8c 100644 --- a/.github/workflows/build-unicodedata2.yml +++ b/.github/workflows/build-unicodedata2.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build unicodedata2 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build unicodedata2 ${{ 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: UNICODEDATA2_VERSION: ${{ matrix.version }} @@ -76,7 +74,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_EXTRAS: testing @@ -84,7 +82,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: unicodedata2-${{ env.UNICODEDATA2_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: unicodedata2-${{ env.UNICODEDATA2_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 2e02c6fa3ecb44134e669717b4de98b97739773d Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 08/13] ci: migrate vhacdx workflow to needs.setup.outputs.matrix --- .github/workflows/build-vhacdx.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-vhacdx.yml b/.github/workflows/build-vhacdx.yml index e6064fe41ef..04915109ca9 100644 --- a/.github/workflows/build-vhacdx.yml +++ b/.github/workflows/build-vhacdx.yml @@ -49,16 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build vhacdx ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build vhacdx ${{ 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) }} - # Per-interpreter (not abi3): upstream ships cp3x-cp3x wheels. - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: VHACDX_VERSION: ${{ matrix.version }} @@ -96,7 +93,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 }} # numpy is a runtime dependency with no riscv64 wheel on public PyPI; @@ -106,7 +103,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: vhacdx-${{ env.VHACDX_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: vhacdx-${{ env.VHACDX_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 8d3187f2b16949bab69316662d754f581a6542ca Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 09/13] ci: migrate vtk workflow to needs.setup.outputs.matrix No libc dimension (docs/packages/vtk.yaml has no musllinux entries), so this stays manylinux-only; only the strategy.matrix block changes. --- .github/workflows/build-vtk.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-vtk.yml b/.github/workflows/build-vtk.yml index 413a0b0e5c3..ed9dcfac315 100644 --- a/.github/workflows/build-vtk.yml +++ b/.github/workflows/build-vtk.yml @@ -60,10 +60,10 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} # VTK is not abi3 (VTK_WRAP_PYTHON links directly against Python.h): upstream # publishes one wheel per interpreter, rebuilding the whole tree each time. - python: ["cp312", "cp313", "cp314", "cp314t"] + # docs/packages/vtk.yaml has no musllinux entries, so this stays manylinux-only. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: VTK_VERSION: ${{ matrix.version }} From d4433e9dd723d6081ad3bbf81907a8c3d61aeba4 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 10/13] ci: migrate webrtcvad-wheels workflow to needs.setup.outputs.matrix --- .github/workflows/build-webrtcvad-wheels.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-webrtcvad-wheels.yml b/.github/workflows/build-webrtcvad-wheels.yml index be25f2395f3..77f08fc0326 100644 --- a/.github/workflows/build-webrtcvad-wheels.yml +++ b/.github/workflows/build-webrtcvad-wheels.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build webrtcvad-wheels ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build webrtcvad-wheels ${{ 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: WEBRTCVAD_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_EXTRAS: dev @@ -81,7 +79,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: webrtcvad-wheels-${{ env.WEBRTCVAD_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: webrtcvad-wheels-${{ env.WEBRTCVAD_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 5004f20e038065c8595d7558f1a3b95d3a7b2900 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:54 +0000 Subject: [PATCH 11/13] ci: migrate yara-python workflow to needs.setup.outputs.matrix --- .github/workflows/build-yara-python.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-yara-python.yml b/.github/workflows/build-yara-python.yml index ec4b5b38d3d..1708b8a3445 100644 --- a/.github/workflows/build-yara-python.yml +++ b/.github/workflows/build-yara-python.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build yara-python ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build yara-python ${{ 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: YARA_PYTHON_VERSION: ${{ matrix.version }} @@ -88,7 +86,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 }} # Rocky 10 and Alpine both carry a current openssl-dev(el); skip upstream's @@ -114,7 +112,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: yara-python-${{ env.YARA_PYTHON_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: yara-python-${{ env.YARA_PYTHON_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 801cc0a267f10919e9460586d933fadcb315827b Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:55 +0000 Subject: [PATCH 12/13] ci: migrate zlib-ng workflow to needs.setup.outputs.matrix --- .github/workflows/build-zlib-ng.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-zlib-ng.yml b/.github/workflows/build-zlib-ng.yml index 52b8a32ad49..38b29943166 100644 --- a/.github/workflows/build-zlib-ng.yml +++ b/.github/workflows/build-zlib-ng.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build zlib-ng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build zlib-ng ${{ 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: ZLIB_NG_VERSION: ${{ matrix.version }} @@ -85,7 +83,7 @@ jobs: with: output-dir: wheelhouse/ 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 }} # The riscv64-compat patch leaves the checkout dirty relative to the @@ -101,7 +99,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: zlib-ng-${{ env.ZLIB_NG_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: zlib-ng-${{ env.ZLIB_NG_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 648d47a09f5abe7f94f21b85a6b9f9f797e999e4 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:09:55 +0000 Subject: [PATCH 13/13] ci: migrate zttp workflow to needs.setup.outputs.matrix --- .github/workflows/build-zttp.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-zttp.yml b/.github/workflows/build-zttp.yml index 544d18ba514..7233aca6d1b 100644 --- a/.github/workflows/build-zttp.yml +++ b/.github/workflows/build-zttp.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build zttp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build zttp ${{ 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) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: ZTTP_VERSION: ${{ matrix.version }} @@ -81,7 +79,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 }} @@ -106,7 +104,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: zttp-${{ env.ZTTP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: zttp-${{ env.ZTTP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error