diff --git a/.github/workflows/build-pycld2.yml b/.github/workflows/build-pycld2.yml index 02610eff34e..30bbeacd1d9 100644 --- a/.github/workflows/build-pycld2.yml +++ b/.github/workflows/build-pycld2.yml @@ -54,15 +54,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pycld2 ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pycld2 ${{ 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: PYCLD2_VERSION: ${{ matrix.version }} @@ -78,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 }} # test_pycld2.py lives next to the pycld2/ source package at the repo @@ -91,7 +89,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pycld2-${{ env.PYCLD2_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pycld2-${{ env.PYCLD2_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyfarmhash.yml b/.github/workflows/build-pyfarmhash.yml index d8485846453..3840d8bb36d 100644 --- a/.github/workflows/build-pyfarmhash.yml +++ b/.github/workflows/build-pyfarmhash.yml @@ -57,15 +57,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyfarmhash ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyfarmhash ${{ 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: PYFARMHASH_VERSION: ${{ matrix.version }} @@ -90,7 +88,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # Upstream ships no test suite at all; exercise every bound @@ -113,7 +111,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyfarmhash-${{ env.PYFARMHASH_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyfarmhash-${{ env.PYFARMHASH_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyglm.yml b/.github/workflows/build-pyglm.yml index 84d9214ca16..92263b93db0 100644 --- a/.github/workflows/build-pyglm.yml +++ b/.github/workflows/build-pyglm.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyglm ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyglm ${{ 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: PYGLM_VERSION: ${{ matrix.version }} @@ -74,7 +72,7 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 with: output-dir: wheelhouse/ - only: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + only: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} @@ -83,7 +81,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyglm-${{ env.PYGLM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyglm-${{ env.PYGLM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pylzss.yml b/.github/workflows/build-pylzss.yml index 4cd2751b8c6..254eb062d75 100644 --- a/.github/workflows/build-pylzss.yml +++ b/.github/workflows/build-pylzss.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pylzss ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pylzss ${{ 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: PYLZSS_VERSION: ${{ matrix.version }} @@ -87,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 }} # Upstream's own test.py calls lzss.encode()/decode(), which the @@ -105,7 +103,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pylzss-${{ env.PYLZSS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pylzss-${{ env.PYLZSS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pymetis.yml b/.github/workflows/build-pymetis.yml index 44f43cdc463..f6c2903e93f 100644 --- a/.github/workflows/build-pymetis.yml +++ b/.github/workflows/build-pymetis.yml @@ -49,14 +49,12 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pymetis ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pymetis ${{ 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: PYMETIS_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 }} @@ -107,7 +105,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pymetis-${{ env.PYMETIS_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pymetis-${{ env.PYMETIS_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pymsym.yml b/.github/workflows/build-pymsym.yml index c8bfd1735cd..aa6b39d4599 100644 --- a/.github/workflows/build-pymsym.yml +++ b/.github/workflows/build-pymsym.yml @@ -49,16 +49,16 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pymsym ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pymsym ${{ 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's `build = "cp311-* cp312-* cp313-* cp314-*"` ships no free-threaded wheel. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # Upstream's `build = "cp311-* cp312-* cp313-* cp314-*"` ships no free-threaded + # wheel; docs/packages/pymsym.yaml declares no 3.14t target, so the generated + # matrix already omits it without a python-exclude override here. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYMSYM_VERSION: ${{ matrix.version }} @@ -85,7 +85,7 @@ jobs: output-dir: wheelhouse/ env: CIBW_ARCHS: riscv64 - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ @@ -104,7 +104,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pymsym-${{ env.PYMSYM_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pymsym-${{ env.PYMSYM_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pynng.yml b/.github/workflows/build-pynng.yml index 3d618ecda01..47b8e6f7acd 100644 --- a/.github/workflows/build-pynng.yml +++ b/.github/workflows/build-pynng.yml @@ -40,6 +40,7 @@ env: NNG_VERSION: v1.11 MBEDTLS_VERSION: v3.6.3.1 MANYLINUX_RISCV64_IMAGE: quay.io/pypa/manylinux_2_39_riscv64 + MUSLLINUX_RISCV64_IMAGE: quay.io/pypa/musllinux_1_2_riscv64 jobs: setup: @@ -51,14 +52,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pynng ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64 + name: Build pynng ${{ 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"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYNNG_VERSION: ${{ matrix.version }} @@ -94,11 +94,13 @@ jobs: - uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 env: CIBW_ARCHS: riscv64 - # cffi has no manylinux musllinux_riscv64 wheel on our registry, so - # musllinux is dropped here too (accepted per the porting playbook). - CIBW_BUILD: ${{ matrix.python }}-manylinux_riscv64 + CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} + CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} # cffi, needed to build and to import the extension, has no riscv64 wheel on PyPI. + # docs/packages/pynng.yaml's musllinux targets are untested here (musllinux + # was previously dropped: cffi had no musllinux_riscv64 wheel on our + # registry); the matrix now includes them, so watch the first run. CIBW_ENVIRONMENT: >- PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ SETUPTOOLS_SCM_PRETEND_VERSION=${{ env.PYNNG_VERSION }} @@ -109,7 +111,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pynng-${{ env.PYNNG_VERSION }}-${{ matrix.python }}-manylinux_riscv64 + name: pynng-${{ env.PYNNG_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error @@ -129,4 +131,4 @@ jobs: app-private-key: ${{ secrets.RISEPROJECT_APP_PRIVATE_KEY }} with: matrix: ${{ needs.setup.outputs.matrix }} - artifact-pattern: pynng-${{ matrix.version }}-*-manylinux_riscv64 + artifact-pattern: pynng-${{ matrix.version }}-*riscv64 diff --git a/.github/workflows/build-pyopenxlsx.yml b/.github/workflows/build-pyopenxlsx.yml index cdb12e665d8..55cf5d7a453 100644 --- a/.github/workflows/build-pyopenxlsx.yml +++ b/.github/workflows/build-pyopenxlsx.yml @@ -47,14 +47,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyopenxlsx ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64 + name: Build pyopenxlsx ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 180 strategy: fail-fast: false matrix: - version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314"] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYOPENXLSX_VERSION: ${{ matrix.version }} @@ -90,7 +89,7 @@ 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 }} # build[uv] needs a host uv for the audit step, which the riscv64 runner lacks (gotcha 13). @@ -121,7 +120,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyopenxlsx-${{ env.PYOPENXLSX_VERSION }}-${{ matrix.python }}-manylinux_riscv64 + name: pyopenxlsx-${{ env.PYOPENXLSX_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyqt5-sip.yml b/.github/workflows/build-pyqt5-sip.yml index 69a00311be7..d155e64a7a5 100644 --- a/.github/workflows/build-pyqt5-sip.yml +++ b/.github/workflows/build-pyqt5-sip.yml @@ -50,15 +50,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyqt5-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyqt5-sip ${{ 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: ["cp310", "cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYQT5_SIP_VERSION: ${{ matrix.version }} @@ -112,7 +110,7 @@ jobs: package-dir: pyqt5_sip-${{ env.PYQT5_SIP_VERSION }} 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 @@ -121,7 +119,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyqt5-sip-${{ env.PYQT5_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyqt5-sip-${{ env.PYQT5_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyqt6-sip.yml b/.github/workflows/build-pyqt6-sip.yml index 9b974118580..074c3eb87d8 100644 --- a/.github/workflows/build-pyqt6-sip.yml +++ b/.github/workflows/build-pyqt6-sip.yml @@ -50,15 +50,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyqt6-sip ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyqt6-sip ${{ 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: ["cp310", "cp311", "cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYQT6_SIP_VERSION: ${{ matrix.version }} @@ -112,7 +110,7 @@ jobs: package-dir: pyqt6_sip-${{ env.PYQT6_SIP_VERSION }} 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 @@ -121,7 +119,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyqt6-sip-${{ env.PYQT6_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyqt6-sip-${{ env.PYQT6_SIP_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyrodigal.yml b/.github/workflows/build-pyrodigal.yml index a3043e08381..4fb11121d53 100644 --- a/.github/workflows/build-pyrodigal.yml +++ b/.github/workflows/build-pyrodigal.yml @@ -49,15 +49,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyrodigal ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyrodigal ${{ 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: PYRODIGAL_VERSION: ${{ matrix.version }} @@ -77,13 +75,13 @@ 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 }} - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyrodigal-${{ env.PYRODIGAL_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyrodigal-${{ env.PYRODIGAL_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pysjef.yml b/.github/workflows/build-pysjef.yml index 79d763bd68a..25b33b30dc6 100644 --- a/.github/workflows/build-pysjef.yml +++ b/.github/workflows/build-pysjef.yml @@ -50,16 +50,15 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pysjef ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pysjef ${{ 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) }} - # Upstream ships no free-threaded wheel. - python: ["cp312", "cp313", "cp314"] - libc: [manylinux, musllinux] + # Upstream ships no free-threaded wheel; docs/packages/pysjef.yaml declares + # no 3.14t target, so the generated matrix already omits it. + include: ${{ fromJSON(needs.setup.outputs.matrix) }} env: PYSJEF_VERSION: ${{ matrix.version }} @@ -87,7 +86,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 }} @@ -125,7 +124,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pysjef-${{ env.PYSJEF_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pysjef-${{ env.PYSJEF_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-pyswisseph.yml b/.github/workflows/build-pyswisseph.yml index c5e8f6cae55..cc5618c431b 100644 --- a/.github/workflows/build-pyswisseph.yml +++ b/.github/workflows/build-pyswisseph.yml @@ -51,15 +51,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build pyswisseph ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build pyswisseph ${{ 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: PYSWISSEPH_VERSION: ${{ matrix.version }} @@ -94,7 +92,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 @@ -156,7 +154,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: pyswisseph-${{ env.PYSWISSEPH_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: pyswisseph-${{ env.PYSWISSEPH_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: ./wheelhouse/*.whl if-no-files-found: error diff --git a/.github/workflows/build-python-sat.yml b/.github/workflows/build-python-sat.yml index ca23dd5dbb4..beb027bb58c 100644 --- a/.github/workflows/build-python-sat.yml +++ b/.github/workflows/build-python-sat.yml @@ -53,15 +53,13 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build python-sat ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: Build python-sat ${{ matrix.version }} ${{ matrix.python }}-${{ matrix.platform }}_riscv64 runs-on: ubuntu-24.04-riscv timeout-minutes: 150 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: PYTHON_SAT_VERSION: ${{ matrix.version }} @@ -100,7 +98,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/ @@ -142,7 +140,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: python-sat-${{ env.PYTHON_SAT_VERSION }}-${{ matrix.python }}-${{ matrix.libc }}_riscv64 + name: python-sat-${{ env.PYTHON_SAT_VERSION }}-${{ matrix.python }}-${{ matrix.platform }}_riscv64 path: wheelhouse/*.whl if-no-files-found: error