From 547146241bc2ac145d79a13d2c7244a6f2e79b0d Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:11:52 +0000 Subject: [PATCH 01/14] ci: migrate build-pytomlpp.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/pytomlpp.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was stale: version 1.0.13 also needs cp310 and cp311 (declared in the YAML), and version 1.1.0 has no cp314/ cp314t targets at all, so the hardcoded list would have built legs that don't correspond to any declared target for that version. --- .github/workflows/build-pytomlpp.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-pytomlpp.yml b/.github/workflows/build-pytomlpp.yml index 7d35e5d0e8d..ffaef388d7a 100644 --- a/.github/workflows/build-pytomlpp.yml +++ b/.github/workflows/build-pytomlpp.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pytomlpp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pytomlpp ${{ 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: PYTOMLPP_VERSION: ${{ matrix.version }} @@ -85,7 +83,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: pytomlpp-${{ env.PYTOMLPP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pytomlpp-${{ env.PYTOMLPP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From c3823d9cc5c61f6a10fc22354a6efcb1daa0f02c Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:08 +0000 Subject: [PATCH 02/14] ci: migrate build-pyvirtualcam.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/pyvirtualcam.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314 list was stale: it missed cp310/cp311 manylinux, which the YAML declares for 0.15.0. No cp314t either way, matching the existing comment (upstream ships no free-threaded wheel). --- .github/workflows/build-pyvirtualcam.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-pyvirtualcam.yml b/.github/workflows/build-pyvirtualcam.yml index 21ea58cde44..062804cd0d6 100644 --- a/.github/workflows/build-pyvirtualcam.yml +++ b/.github/workflows/build-pyvirtualcam.yml @@ -49,17 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyvirtualcam ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyvirtualcam ${{ 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 ships no cp314t wheel either (pybind11, not abi3 - every - # interpreter needs its own build). - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYVIRTUALCAM_VERSION: ${{ matrix.version }} @@ -76,7 +72,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 }} # virtual_output.h pulls in linux/videodev2.h (the standard kernel @@ -119,7 +115,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyvirtualcam-${{ env.PYVIRTUALCAM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyvirtualcam-${{ env.PYVIRTUALCAM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 15fcd7ca7458a1ec427769b69ece2b0b32b95db2 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:09 +0000 Subject: [PATCH 03/14] ci: migrate build-quickjs.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/quickjs.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was badly stale for the pending version 1.19.4: the YAML only declares targets through cp312 (cp310/cp311 manylinux, cp312 manylinux+musllinux), so the old matrix both missed cp310/cp311 and tried to build cp313/cp314/cp314t legs with no corresponding declared target at all. --- .github/workflows/build-quickjs.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-quickjs.yml b/.github/workflows/build-quickjs.yml index 793304cfb91..fdb398f48b1 100644 --- a/.github/workflows/build-quickjs.yml +++ b/.github/workflows/build-quickjs.yml @@ -100,15 +100,13 @@ jobs: build_wheels: needs: [setup, build_sdist] if: needs.setup.outputs.versions != '[]' - name: Build quickjs ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build quickjs ${{ 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: QUICKJS_VERSION: ${{ matrix.version }} @@ -163,7 +161,7 @@ jobs: package-dir: dist/quickjs-${{ matrix.version }} 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 }} CIBW_TEST_SOURCES: test_quickjs.py @@ -184,7 +182,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: quickjs-${{ env.QUICKJS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: quickjs-${{ env.QUICKJS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 0972097e49004f9c0fcc86f6f6b11753c3f6e34a Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:09 +0000 Subject: [PATCH 04/14] ci: migrate build-ruckig.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/ruckig.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was stale: it missed cp310/cp311 manylinux+musllinux, which the YAML declares for 0.19.4. --- .github/workflows/build-ruckig.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ruckig.yml b/.github/workflows/build-ruckig.yml index 26cd6e1df20..c75ce82775f 100644 --- a/.github/workflows/build-ruckig.yml +++ b/.github/workflows/build-ruckig.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ruckig ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ruckig ${{ 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: RUCKIG_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_COMMAND: >- @@ -98,7 +96,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ruckig-${{ env.RUCKIG_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ruckig-${{ env.RUCKIG_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 9d0661df3f81a3fd6f25e804ff3b865be65dba37 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:09 +0000 Subject: [PATCH 05/14] ci: migrate build-secp256k1.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/secp256k1.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was badly stale: the YAML declares no cp314/cp314t target at all for 0.14.0, and cp311 has manylinux only (no musllinux), so the old matrix both built legs with no corresponding declared target and missed cp310/cp311 entirely. --- .github/workflows/build-secp256k1.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-secp256k1.yml b/.github/workflows/build-secp256k1.yml index 914fad95608..9f88818f96d 100644 --- a/.github/workflows/build-secp256k1.yml +++ b/.github/workflows/build-secp256k1.yml @@ -53,15 +53,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build secp256k1 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build secp256k1 ${{ 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: SECP256K1_VERSION: ${{ matrix.version }} @@ -77,7 +75,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 }} @@ -94,7 +92,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: secp256k1-${{ env.SECP256K1_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: secp256k1-${{ env.SECP256K1_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 7d19c3e4a3439defb2ae92e57ed31ed8607751ea Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:09 +0000 Subject: [PATCH 06/14] ci: migrate build-spacy-alignments.yml to needs.setup.outputs.matrix This workflow already named its platform axis matrix.platform, so only the strategy.matrix block changes: drop the hardcoded version/python/platform arrays in favor of the matrix _setup.yml already derives from docs/packages/spacy-alignments.yaml. The old cp312/cp313 list was stale: it missed cp310/cp311 (both pending versions) and cp314/cp315 (0.9.3 only), all declared in the YAML. --- .github/workflows/build-spacy-alignments.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-spacy-alignments.yml b/.github/workflows/build-spacy-alignments.yml index baf04df0abd..8f26510f62a 100644 --- a/.github/workflows/build-spacy-alignments.yml +++ b/.github/workflows/build-spacy-alignments.yml @@ -59,10 +59,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # setup.cfg caps python_requires at <3.14 and pyo3 0.24 tops out at 3.13. - python: ["cp312", "cp313"] - platform: ["manylinux", "musllinux"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: SPACY_ALIGNMENTS_VERSION: ${{ matrix.version }} From a839392f7c60de8677873feeb3b2f3a4e3179c08 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:09 +0000 Subject: [PATCH 07/14] ci: migrate build-spidev.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/spidev.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was stale: it missed cp310/cp311/cp315 manylinux, all declared in the YAML for version 3.8 (musllinux is only declared for cp312-cp314t, which the old list did cover). --- .github/workflows/build-spidev.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-spidev.yml b/.github/workflows/build-spidev.yml index 96d758087f0..5d9d154a9f6 100644 --- a/.github/workflows/build-spidev.yml +++ b/.github/workflows/build-spidev.yml @@ -47,15 +47,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build spidev ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build spidev ${{ 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: SPIDEV_VERSION: ${{ matrix.version }} @@ -71,7 +69,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 }} # spidev_module.c pulls in linux/spi/spidev.h; manylinux already has @@ -96,7 +94,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: spidev-${{ env.SPIDEV_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: spidev-${{ env.SPIDEV_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 7b22abfdb51e067fff3a7380ca9f8a25ccd22b31 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:24 +0000 Subject: [PATCH 08/14] ci: migrate build-sqlcipher3-wheels.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/sqlcipher3-wheels.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. Two behavior changes fall out of this, both worth a maintainer look: the old list explicitly included cp39 (unlike every other workflow in this batch), so this version stops building cp39 under the repo's default python-exclude: 'cp39' (0.5.7's cp39 wheel is already published, so nothing already released is affected); and the YAML's pending cp314t targets (added after the hardcoded list was written) now get built for the first time. --- .github/workflows/build-sqlcipher3-wheels.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-sqlcipher3-wheels.yml b/.github/workflows/build-sqlcipher3-wheels.yml index ff0e8cd60d8..71fed2ddd66 100644 --- a/.github/workflows/build-sqlcipher3-wheels.yml +++ b/.github/workflows/build-sqlcipher3-wheels.yml @@ -91,17 +91,13 @@ jobs: build_wheels: needs: [setup, prepare_sqlite] if: needs.setup.outputs.versions != '[]' - name: Build sqlcipher3-wheels ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build sqlcipher3-wheels ${{ 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) }} - # Mirrors upstream's own build-wheels matrix (CIBW_BUILD: "cp*"), narrowed to the - # ABIs the riscv64 images ship (cp39-cp315; no cp38). - python: ["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: SQLCIPHER3_WHEELS_VERSION: ${{ matrix.version }} @@ -180,7 +176,7 @@ jobs: env: CIBW_BUILD_FRONTEND: build 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 }} # Conan's openssl recipe has no riscv64 entry and falls back to linux-generic32; @@ -203,7 +199,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: sqlcipher3-wheels-${{ env.SQLCIPHER3_WHEELS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: sqlcipher3-wheels-${{ env.SQLCIPHER3_WHEELS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 8168b870ef25812c88573dfd1d6e3b5705e8c60c Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:25 +0000 Subject: [PATCH 09/14] ci: migrate build-sqlcipher3.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/sqlcipher3.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list excluded cp39/cp310/cp311, which the YAML has declared (with no filename, i.e. never built) across all three versions, including the two already published (0.6.2, 0.6.3) - so this is a long-standing gap, not something introduced here. This migration starts building cp310/cp311 for the first time (cp39 stays excluded by the repo's default python-exclude); worth a maintainer check that cp310/cp311 actually build before this merges, since there's no comment recording why they were left out originally. --- .github/workflows/build-sqlcipher3.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-sqlcipher3.yml b/.github/workflows/build-sqlcipher3.yml index e60e56bd5b5..e1e9fb4fd50 100644 --- a/.github/workflows/build-sqlcipher3.yml +++ b/.github/workflows/build-sqlcipher3.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build sqlcipher3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build sqlcipher3 ${{ 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: SQLCIPHER3_VERSION: ${{ matrix.version }} @@ -131,7 +129,7 @@ jobs: env: CIBW_BUILD_FRONTEND: build 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 }} # Conan's openssl recipe has no riscv64 entry and falls back to linux-generic32; @@ -150,7 +148,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: sqlcipher3-${{ env.SQLCIPHER3_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: sqlcipher3-${{ env.SQLCIPHER3_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From bcfd1ac9755d65c6d3bb819cc39553993c584069 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:25 +0000 Subject: [PATCH 10/14] ci: migrate build-sslpsk-pmd3.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/sslpsk-pmd3.yaml, rename matrix.libc to matrix.platform throughout build_wheels, including the extra manylinux/cp312-only test step's if: condition. The YAML only declares targets through cp312 for 1.0.3 (cp38-cp311 pending/never built, cp312 published); it has no cp313/cp314/cp314t entries at all, so the old list's cp313/cp314 legs (kept despite the existing 'no cp314t: upstream ships no free-threaded wheel' comment) never corresponded to a declared target. This migration naturally drops those two and starts building cp310/cp311, which were excluded without explanation; cp39 stays excluded by the repo default. --- .github/workflows/build-sslpsk-pmd3.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-sslpsk-pmd3.yml b/.github/workflows/build-sslpsk-pmd3.yml index be4184385e7..bccc81092b9 100644 --- a/.github/workflows/build-sslpsk-pmd3.yml +++ b/.github/workflows/build-sslpsk-pmd3.yml @@ -49,16 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build sslpsk-pmd3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build sslpsk-pmd3 ${{ 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) }} - # No cp314t: single-phase init re-enables the GIL, and upstream ships no free-threaded wheel. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: SSLPSK_PMD3_VERSION: ${{ matrix.version }} @@ -134,7 +131,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 }} # openssl-dev, not upstream's libressl-dev: the extension must link the OpenSSL that Python's _ssl uses. @@ -145,14 +142,14 @@ jobs: CIBW_TEST_COMMAND: python {project}/tests/test_psk.py - name: Test against the runner's own Python and OpenSSL - if: matrix.python == 'cp312' && matrix.libc == 'manylinux' + if: matrix.python == 'cp312' && matrix.platform == 'manylinux' run: | python3 -m zipfile -e wheelhouse/*.whl "$RUNNER_TEMP/site" PYTHONPATH="$RUNNER_TEMP/site" python3 tests/test_psk.py - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: sslpsk-pmd3-${{ env.SSLPSK_PMD3_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: sslpsk-pmd3-${{ env.SSLPSK_PMD3_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 94c552f65a810f557974378db428c2ae59388658 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:25 +0000 Subject: [PATCH 11/14] ci: migrate build-sysv-ipc.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/sysv-ipc.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was stale: it missed cp310/cp311 manylinux+musllinux, which the YAML declares for 1.2.0. --- .github/workflows/build-sysv-ipc.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-sysv-ipc.yml b/.github/workflows/build-sysv-ipc.yml index 4c02fc2a0f6..2956d66da27 100644 --- a/.github/workflows/build-sysv-ipc.yml +++ b/.github/workflows/build-sysv-ipc.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build sysv-ipc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build sysv-ipc ${{ 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: SYSV_IPC_VERSION: ${{ matrix.version }} @@ -73,14 +71,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 -m unittest discover --start-directory {package} - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: sysv-ipc-${{ env.SYSV_IPC_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: sysv-ipc-${{ env.SYSV_IPC_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 3513d7d0b3094506c18dd9a8ecf80c1883eee598 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:35 +0000 Subject: [PATCH 12/14] ci: migrate build-teptris.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/teptris.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list matched the YAML's declared targets for 0.3.20.0 exactly (cp310/cp311 manylinux+musllinux are also declared, but the port comment doesn't mention them - only the sdist job's python-version pin and the YAML's requires-python note cp310+, so cp310/cp311 were simply never added to the hardcoded list). This migration starts building them for the first time. --- .github/workflows/build-teptris.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-teptris.yml b/.github/workflows/build-teptris.yml index 26abd98430f..833f048a9be 100644 --- a/.github/workflows/build-teptris.yml +++ b/.github/workflows/build-teptris.yml @@ -132,15 +132,13 @@ jobs: build_wheels: needs: [setup, sdist] if: needs.setup.outputs.versions != '[]' - name: Build teptris ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build teptris ${{ 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: TEPTRIS_VERSION: ${{ matrix.version }} @@ -159,7 +157,7 @@ jobs: with: package-dir: ${{ steps.sdist_path.outputs.path }} 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 }} @@ -192,7 +190,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: teptris-${{ env.TEPTRIS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: teptris-${{ env.TEPTRIS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 2d90f04c88e8da29854001f8681a298b29d4809b Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:35 +0000 Subject: [PATCH 13/14] ci: migrate build-tesserocr.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/tesserocr.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list excluded cp39/cp310/cp311, which the YAML has declared (with no filename, i.e. never built) across both versions, including the already-published 2.11.0 - a long-standing gap, not something introduced here. This migration starts building cp310/cp311 for the first time (cp39 stays excluded by the repo's default python-exclude), and also picks up cp315/cp315t for the 2.12.0 version. Worth a maintainer check that cp310/cp311 actually build, since there's no comment recording why they were left out. --- .github/workflows/build-tesserocr.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-tesserocr.yml b/.github/workflows/build-tesserocr.yml index d1daae39396..ee69b85100e 100644 --- a/.github/workflows/build-tesserocr.yml +++ b/.github/workflows/build-tesserocr.yml @@ -54,15 +54,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build tesserocr ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build tesserocr ${{ 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: TESSEROCR_VERSION: ${{ matrix.version }} @@ -98,7 +96,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 }} @@ -214,7 +212,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: tesserocr-${{ env.TESSEROCR_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: tesserocr-${{ env.TESSEROCR_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 263382d43f0e4f73706e289956bd1b61650f142f Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:36 +0000 Subject: [PATCH 14/14] ci: migrate build-tgcrypto.yml to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy arrays in favor of the version/python/platform matrix _setup.yml already derives from docs/packages/tgcrypto.yaml, and rename matrix.libc to matrix.platform throughout build_wheels. The old cp312-cp314t list was stale: it missed cp310/cp311 manylinux+musllinux, which the YAML declares for 1.2.5. --- .github/workflows/build-tgcrypto.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-tgcrypto.yml b/.github/workflows/build-tgcrypto.yml index 5a7fb84c0e2..09108739e79 100644 --- a/.github/workflows/build-tgcrypto.yml +++ b/.github/workflows/build-tgcrypto.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build tgcrypto ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build tgcrypto ${{ 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: TGCRYPTO_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: tgcrypto-${{ env.TGCRYPTO_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: tgcrypto-${{ env.TGCRYPTO_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error