diff --git a/.github/workflows/build-ncompress.yml b/.github/workflows/build-ncompress.yml index 82155fc1876..34cfb995903 100644 --- a/.github/workflows/build-ncompress.yml +++ b/.github/workflows/build-ncompress.yml @@ -51,16 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build ncompress ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build ncompress ${{ 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) }} - # cp312 wheel is abi3, so only cp314t needs a separate build - python: ["cp312", "cp314t"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: NCOMPRESS_VERSION: ${{ matrix.version }} @@ -88,7 +85,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 }} @@ -107,7 +104,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: ncompress-${{ env.NCOMPRESS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: ncompress-${{ env.NCOMPRESS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-ngt.yml b/.github/workflows/build-ngt.yml index 7aae1ddc967..2b7465487ca 100644 --- a/.github/workflows/build-ngt.yml +++ b/.github/workflows/build-ngt.yml @@ -60,8 +60,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: NGT_VERSION: ${{ matrix.version }} diff --git a/.github/workflows/build-openstep-plist.yml b/.github/workflows/build-openstep-plist.yml index eb52e642512..76f5d86c243 100644 --- a/.github/workflows/build-openstep-plist.yml +++ b/.github/workflows/build-openstep-plist.yml @@ -48,15 +48,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build openstep-plist ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build openstep-plist ${{ 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: OPENSTEP_PLIST_VERSION: ${{ matrix.version }} @@ -75,7 +73,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 }} @@ -87,7 +85,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: openstep-plist-${{ env.OPENSTEP_PLIST_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: openstep-plist-${{ env.OPENSTEP_PLIST_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pcapy-ng.yml b/.github/workflows/build-pcapy-ng.yml index 2fa4e2a3d6d..8a7fc098bc4 100644 --- a/.github/workflows/build-pcapy-ng.yml +++ b/.github/workflows/build-pcapy-ng.yml @@ -49,15 +49,12 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pcapy-ng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pcapy-ng ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - # upstream builds no free-threaded wheel: the module does not declare Py_mod_gil - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PCAPY_NG_VERSION: ${{ matrix.version }} @@ -157,7 +154,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 }} @@ -195,7 +192,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pcapy-ng-${{ env.PCAPY_NG_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pcapy-ng-${{ env.PCAPY_NG_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pemja.yml b/.github/workflows/build-pemja.yml index 71cee152ea5..63142875bd2 100644 --- a/.github/workflows/build-pemja.yml +++ b/.github/workflows/build-pemja.yml @@ -57,17 +57,7 @@ jobs: strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] - exclude: - # 0.5.7 predates cp313 (released Oct 2024, ~2 months later) and - # never shipped a wheel past cp312 upstream either. - - version: "0.5.7" - python: cp313 - - version: "0.5.7" - python: cp314 - - version: "0.5.7" - python: cp314t + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PEMJA_VERSION: ${{ matrix.version }} diff --git a/.github/workflows/build-polyscope.yml b/.github/workflows/build-polyscope.yml index 1eefbc2bccc..37b366ffa80 100644 --- a/.github/workflows/build-polyscope.yml +++ b/.github/workflows/build-polyscope.yml @@ -50,15 +50,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build polyscope ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build polyscope ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 360 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: POLYSCOPE_VERSION: ${{ matrix.version }} @@ -104,7 +102,7 @@ jobs: with: config-file: .github/workflows/cibuildwheel_config.toml 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 }} @@ -138,7 +136,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: polyscope-${{ env.POLYSCOPE_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: polyscope-${{ env.POLYSCOPE_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-posix-ipc.yml b/.github/workflows/build-posix-ipc.yml index f2d727e4ee7..6893dd4d95d 100644 --- a/.github/workflows/build-posix-ipc.yml +++ b/.github/workflows/build-posix-ipc.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build posix-ipc ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build posix-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: POSIX_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: posix-ipc-${{ env.POSIX_IPC_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: posix-ipc-${{ env.POSIX_IPC_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-potpourri3d.yml b/.github/workflows/build-potpourri3d.yml index f6be873d55b..a9e44651f01 100644 --- a/.github/workflows/build-potpourri3d.yml +++ b/.github/workflows/build-potpourri3d.yml @@ -49,16 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build potpourri3d ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build potpourri3d ${{ 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: POTPOURRI3D_VERSION: ${{ matrix.version }} @@ -75,16 +72,16 @@ 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 }} # scikit-build-core bootstraps its own (recent) cmake from PyPI, which # also ships riscv64 wheels; matches upstream's cibuildwheel_config.toml. - CIBW_BEFORE_ALL_LINUX: ${{ matrix.libc == 'manylinux' && 'yum remove -y cmake' || '' }} + CIBW_BEFORE_ALL_LINUX: ${{ matrix.platform == 'manylinux' && 'yum remove -y cmake' || '' }} - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: potpourri3d-${{ env.POTPOURRI3D_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: potpourri3d-${{ env.POTPOURRI3D_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-private-attribute-cpp.yml b/.github/workflows/build-private-attribute-cpp.yml index 3f64b1cf45f..e1604280dd9 100644 --- a/.github/workflows/build-private-attribute-cpp.yml +++ b/.github/workflows/build-private-attribute-cpp.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build private-attribute-cpp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build private-attribute-cpp ${{ 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: PRIVATE_ATTRIBUTE_CPP_VERSION: ${{ matrix.version }} @@ -76,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 }} @@ -87,7 +85,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: private-attribute-cpp-${{ env.PRIVATE_ATTRIBUTE_CPP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: private-attribute-cpp-${{ env.PRIVATE_ATTRIBUTE_CPP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-py-radix.yml b/.github/workflows/build-py-radix.yml index edf6cee5fd1..5f6fbb41b1f 100644 --- a/.github/workflows/build-py-radix.yml +++ b/.github/workflows/build-py-radix.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build py-radix ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build py-radix ${{ 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: PY_RADIX_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 }} # setup.py appends a `+dev-v` local version unless VERSION matches @@ -90,7 +88,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: py-radix-${{ env.PY_RADIX_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: py-radix-${{ env.PY_RADIX_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pycapnp.yml b/.github/workflows/build-pycapnp.yml index a7e29d10209..def94cbb134 100644 --- a/.github/workflows/build-pycapnp.yml +++ b/.github/workflows/build-pycapnp.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pycapnp ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pycapnp ${{ 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: PYCAPNP_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 }} # pycapnp bundles and statically links its own build of Cap'n Proto @@ -115,7 +113,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pycapnp-${{ env.PYCAPNP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pycapnp-${{ env.PYCAPNP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error