From 575af3e0deb6af47e71e2fb20b4f8dfe4427f3be Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:44 +0000 Subject: [PATCH 01/14] ci: migrate crosshair-tool to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-crosshair-tool.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-crosshair-tool.yml b/.github/workflows/build-crosshair-tool.yml index 1789583a743..234763b8c80 100644 --- a/.github/workflows/build-crosshair-tool.yml +++ b/.github/workflows/build-crosshair-tool.yml @@ -45,20 +45,20 @@ jobs: with: package: crosshair-tool version: ${{ inputs.version }} + # Upstream ships no free-threaded wheel; cp310/cp311 and cp315 are declared in + # docs/packages/crosshair-tool.yaml but never built on this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311 cp315*' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build crosshair-tool ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build crosshair-tool ${{ 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) }} - # Upstream ships no free-threaded wheel. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: CROSSHAIR_TOOL_VERSION: ${{ matrix.version }} @@ -75,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 +94,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: crosshair-tool-${{ env.CROSSHAIR_TOOL_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: crosshair-tool-${{ env.CROSSHAIR_TOOL_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 29b3ee1c99caa45e639a680a60df93974c3aa139 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:44 +0000 Subject: [PATCH 02/14] ci: migrate ct3 to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-ct3.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ct3.yml b/.github/workflows/build-ct3.yml index d4d0d5190ac..b512397aace 100644 --- a/.github/workflows/build-ct3.yml +++ b/.github/workflows/build-ct3.yml @@ -43,18 +43,19 @@ jobs: with: package: ct3 version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/ct3.yaml but never built on this + # repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ct3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ct3 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv 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: CT3_VERSION: ${{ matrix.version }} @@ -70,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 }} @@ -82,7 +83,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ct3-${{ env.CT3_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ct3-${{ env.CT3_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 9df9dc098c71585c92ff0f5b100e7c5912db2ee4 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:44 +0000 Subject: [PATCH 03/14] ci: migrate cyscale to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-cyscale.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-cyscale.yml b/.github/workflows/build-cyscale.yml index 4c6c4b7d70c..dcde8c4567b 100644 --- a/.github/workflows/build-cyscale.yml +++ b/.github/workflows/build-cyscale.yml @@ -47,20 +47,20 @@ jobs: with: package: cyscale version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/cyscale.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build cyscale ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build cyscale ${{ 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: upstream ships no free-threaded wheel. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: CYSCALE_VERSION: ${{ matrix.version }} @@ -76,7 +76,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 base58>=2.0.1 @@ -89,7 +89,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: cyscale-${{ env.CYSCALE_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: cyscale-${{ env.CYSCALE_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 66e231c1a0543365c99c0b9c4fb22f749101fa81 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:44 +0000 Subject: [PATCH 04/14] ci: migrate cyseq to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-cyseq.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-cyseq.yml b/.github/workflows/build-cyseq.yml index 7d57a0c4e66..3e6e156589e 100644 --- a/.github/workflows/build-cyseq.yml +++ b/.github/workflows/build-cyseq.yml @@ -45,19 +45,20 @@ jobs: with: package: cyseq version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/cyseq.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build cyseq ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build cyseq ${{ 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: CYSEQ_VERSION: ${{ matrix.version }} @@ -74,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 }} @@ -84,7 +85,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: cyseq-${{ env.CYSEQ_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: cyseq-${{ env.CYSEQ_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 38c121dc3a6e0b76dcb86c2eff271413e9ff32a0 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:44 +0000 Subject: [PATCH 05/14] ci: migrate cysignals to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-cysignals.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-cysignals.yml b/.github/workflows/build-cysignals.yml index 54e77c36ad4..7cac6fd4d31 100644 --- a/.github/workflows/build-cysignals.yml +++ b/.github/workflows/build-cysignals.yml @@ -44,11 +44,15 @@ jobs: with: package: cysignals version: ${{ inputs.version }} + # cp312 is excluded naturally: 1.13.0+ raised requires-python to >=3.13 (was + # >=3.12 in 1.12.6), and docs/packages/cysignals.yaml stops declaring cp312 + # from 1.13.0 on. cp315 is declared (1.13.1) but not yet buildable here. + python-exclude: 'cp39 cp315*' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build cysignals ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build cysignals ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv # cysignals's own test suite deliberately triggers stack overflows, infinite # loops and alarm-based interrupts; fail fast if one of those hangs instead @@ -57,13 +61,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # 1.13.0 raised requires-python to >=3.13 (was >=3.12 in 1.12.6), so - # cp312 is no longer a valid build target: cibuildwheel selects zero - # build identifiers for it and exits with "No build identifiers - # selected". - python: ["cp313", "cp314", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: CYSIGNALS_VERSION: ${{ matrix.version }} @@ -93,7 +91,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 }} @@ -118,7 +116,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: cysignals-${{ env.CYSIGNALS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: cysignals-${{ env.CYSIGNALS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 733598bc382f327c86aae7ce22098156318eda74 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 06/14] ci: migrate datasketches to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-datasketches.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-datasketches.yml b/.github/workflows/build-datasketches.yml index b55b4ec835f..79938556320 100644 --- a/.github/workflows/build-datasketches.yml +++ b/.github/workflows/build-datasketches.yml @@ -46,19 +46,20 @@ jobs: with: package: datasketches version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/datasketches.yaml but never + # built on this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build datasketches ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build datasketches ${{ 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: DATASKETCHES_VERSION: ${{ matrix.version }} @@ -86,7 +87,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: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ @@ -112,7 +113,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: datasketches-${{ env.DATASKETCHES_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: datasketches-${{ env.DATASKETCHES_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From bc9d0385394e043f2a13599fd7d8426ab0b70f07 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 07/14] ci: migrate deflate to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-deflate.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-deflate.yml b/.github/workflows/build-deflate.yml index 1e86d58622f..20e7a01755d 100644 --- a/.github/workflows/build-deflate.yml +++ b/.github/workflows/build-deflate.yml @@ -49,22 +49,22 @@ jobs: with: package: deflate version: ${{ inputs.version }} + # Wheels are abi3 (pyproject sets wheel.py-api = "cp311"), so a single build + # is loadable on 3.11+. Our repo floor is cp312, so exclude cp310/cp311 to + # make the generated matrix build the abi3 leg there instead of on cp311; + # the plain (non-abi3) cp310 target that upstream also ships is dropped too. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build deflate ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build deflate ${{ 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) }} - # Wheels are abi3 (pyproject sets wheel.py-api = "cp311"), so a single - # build is loadable on 3.11+; only the free-threaded cp314t build needs - # its own wheel. Our repo floor is cp312, so build there instead of 3.11. - python: [cp312, cp314t] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: DEFLATE_VERSION: ${{ matrix.version }} @@ -83,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 }} @@ -95,7 +95,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: deflate-${{ env.DEFLATE_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: deflate-${{ env.DEFLATE_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From 60f95efcf7fbb6d098f8b6871438c7dab79774a1 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 08/14] ci: migrate dukpy to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-dukpy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-dukpy.yml b/.github/workflows/build-dukpy.yml index ac222ce2873..e5c8407deb9 100644 --- a/.github/workflows/build-dukpy.yml +++ b/.github/workflows/build-dukpy.yml @@ -44,19 +44,20 @@ jobs: with: package: dukpy version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/dukpy.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build dukpy ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build dukpy ${{ 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: DUKPY_VERSION: ${{ matrix.version }} @@ -73,7 +74,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 }} @@ -98,7 +99,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: dukpy-${{ env.DUKPY_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: dukpy-${{ env.DUKPY_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From d42ad79297e36d37a40a8cf4c41afd88d29835d9 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 09/14] ci: migrate ed25519-blake2b-fork to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-ed25519-blake2b-fork.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-ed25519-blake2b-fork.yml b/.github/workflows/build-ed25519-blake2b-fork.yml index 8b759f0fa63..11d5c09ffd2 100644 --- a/.github/workflows/build-ed25519-blake2b-fork.yml +++ b/.github/workflows/build-ed25519-blake2b-fork.yml @@ -45,20 +45,21 @@ jobs: with: package: ed25519-blake2b-fork version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/ed25519-blake2b-fork.yaml but + # never built on this repo's cp312 floor; upstream ships no cp314t (the + # extension uses single-phase init, which re-enables the GIL). + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ed25519-blake2b-fork ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ed25519-blake2b-fork ${{ 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: the extension uses single-phase init, which re-enables the GIL. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: ED25519_BLAKE2B_FORK_VERSION: ${{ matrix.version }} @@ -74,7 +75,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_SOURCES: test_ed25519_kat.py kat-ed25519-blake2b.txt @@ -89,7 +90,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ed25519-blake2b-fork-${{ env.ED25519_BLAKE2B_FORK_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ed25519-blake2b-fork-${{ env.ED25519_BLAKE2B_FORK_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 0d00a9cfe227b6a29a5d3b7c4295b734abd028fb Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 10/14] ci: migrate edlib to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-edlib.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-edlib.yml b/.github/workflows/build-edlib.yml index fe6d0bf5899..57a15f2ecff 100644 --- a/.github/workflows/build-edlib.yml +++ b/.github/workflows/build-edlib.yml @@ -48,19 +48,20 @@ jobs: with: package: edlib version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/edlib.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build edlib ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build edlib ${{ 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: EDLIB_VERSION: ${{ matrix.version }} @@ -98,7 +99,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 }} # setup.py builds from the pre-generated edlib.bycython.cpp, which @@ -115,7 +116,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: edlib-${{ env.EDLIB_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: edlib-${{ env.EDLIB_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error From ef7e1fc7de24e6278b10efced31849e32d34b0c5 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 11/14] ci: migrate endec to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-endec.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-endec.yml b/.github/workflows/build-endec.yml index e44159c3934..360e0561f94 100644 --- a/.github/workflows/build-endec.yml +++ b/.github/workflows/build-endec.yml @@ -46,6 +46,9 @@ jobs: with: package: endec version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/endec.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] @@ -56,9 +59,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314"] - platform: ["manylinux", "musllinux"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: ENDEC_VERSION: ${{ matrix.version }} From 43395fb2fe6c064d491b05368ad945d5b6f0ac90 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:45 +0000 Subject: [PATCH 12/14] ci: migrate ephem to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-ephem.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-ephem.yml b/.github/workflows/build-ephem.yml index fe24b19c1ef..159a8f7672c 100644 --- a/.github/workflows/build-ephem.yml +++ b/.github/workflows/build-ephem.yml @@ -45,19 +45,20 @@ jobs: with: package: ephem version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/ephem.yaml but never built on + # this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ephem ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ephem ${{ 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: EPHEM_VERSION: ${{ matrix.version }} @@ -73,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_REQUIRES: tzdata @@ -87,7 +88,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ephem-${{ env.EPHEM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ephem-${{ env.EPHEM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error From 27676114e52c64fc6a3dcf6577da30d754ce33ce Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:46 +0000 Subject: [PATCH 13/14] ci: migrate evtx to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-evtx.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-evtx.yml b/.github/workflows/build-evtx.yml index 1ca47086b19..f8733eecb25 100644 --- a/.github/workflows/build-evtx.yml +++ b/.github/workflows/build-evtx.yml @@ -44,6 +44,10 @@ jobs: with: package: evtx version: ${{ inputs.version }} + # pyo3's abi3-py310 feature gives one cp310-abi3 wheel (pyo3 drops abi3 under + # Py_GIL_DISABLED); cp310/cp311 are declared in docs/packages/evtx.yaml but + # never built on this repo's cp312 floor, so the abi3 leg lands on cp312. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] @@ -56,11 +60,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - platform: ["manylinux", "musllinux"] - # pyo3's abi3-py310 feature gives one cp310-abi3 wheel, built on cp310 and - # re-tested on cp311-cp314; pyo3 drops abi3 under Py_GIL_DISABLED. - python: ["abi3", "cp314t"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: EVTX_VERSION: ${{ matrix.version }} @@ -86,7 +86,7 @@ jobs: with: output-dir: wheelhouse/ env: - CIBW_BUILD: ${{ matrix.python == 'abi3' && 'cp31?' || matrix.python }}-${{ matrix.platform }}_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_BEFORE_ALL_LINUX: >- From 1825d13dc006d4c107f1a0172f671c8f5b829862 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 18 Nov 2026 00:12:46 +0000 Subject: [PATCH 14/14] ci: migrate fast-diff-match-patch to needs.setup.outputs.matrix Drop the hardcoded python/libc strategy matrix in favor of needs.setup.outputs.matrix, and rename remaining matrix.libc references to matrix.platform. --- .github/workflows/build-fast-diff-match-patch.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-fast-diff-match-patch.yml b/.github/workflows/build-fast-diff-match-patch.yml index b23afd394b6..a2c0122b336 100644 --- a/.github/workflows/build-fast-diff-match-patch.yml +++ b/.github/workflows/build-fast-diff-match-patch.yml @@ -45,19 +45,20 @@ jobs: with: package: fast-diff-match-patch version: ${{ inputs.version }} + # cp310/cp311 are declared in docs/packages/fast-diff-match-patch.yaml but + # never built on this repo's cp312 floor. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build fast-diff-match-patch ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build fast-diff-match-patch ${{ 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: FAST_DIFF_MATCH_PATCH_VERSION: ${{ matrix.version }} @@ -74,7 +75,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: >- @@ -83,7 +84,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: fast-diff-match-patch-${{ env.FAST_DIFF_MATCH_PATCH_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: fast-diff-match-patch-${{ env.FAST_DIFF_MATCH_PATCH_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error