diff --git a/.github/workflows/build-voyager.yml b/.github/workflows/build-voyager.yml index 1da5bbc27035..0e10e64aa065 100644 --- a/.github/workflows/build-voyager.yml +++ b/.github/workflows/build-voyager.yml @@ -39,13 +39,24 @@ jobs: build_wheels: needs: [setup] if: needs.setup.outputs.versions != '[]' - name: Build voyager ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64 + name: Build voyager ${{ matrix.version }} ${{ matrix.tag }}-manylinux_riscv64 runs-on: ubuntu-24.04-riscv strategy: fail-fast: false matrix: version: ${{ fromJSON(needs.setup.outputs.versions) }} - python: ["cp312", "cp313", "cp314", "cp314t"] + include: + # The wheel is cp312-abi3 whichever interpreter builds it, and building it + # on cp314 fails cibuildwheel's abi3audit (ABI violations from symbols the + # 3.14 headers expose), so build it once on cp312 and let the newer + # interpreters re-test that one wheel via find_compatible_wheel. + - tag: cp312-abi3 + build: >- + cp312-manylinux_riscv64 cp313-manylinux_riscv64 + cp314-manylinux_riscv64 + # Free-threaded builds get a per-interpreter wheel. + - tag: cp314t + build: cp314t-manylinux_riscv64 env: VOYAGER_VERSION: ${{ matrix.version }} @@ -69,8 +80,9 @@ jobs: with: package-dir: python output-dir: wheelhouse - only: ${{ matrix.python }}-manylinux_riscv64 env: + CIBW_ARCHS: riscv64 + CIBW_BUILD: ${{ matrix.build }} CIBW_ENVIRONMENT: >- PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ PIP_ONLY_BINARY=numpy @@ -80,7 +92,7 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: voyager-${{ env.VOYAGER_VERSION }}-${{ matrix.python }}-manylinux_riscv64 + name: voyager-${{ env.VOYAGER_VERSION }}-${{ matrix.tag }}-manylinux_riscv64 path: wheelhouse/*.whl if-no-files-found: error diff --git a/docs/packages/voyager.yaml b/docs/packages/voyager.yaml index ae1b710dcf9c..d0806639f663 100644 --- a/docs/packages/voyager.yaml +++ b/docs/packages/voyager.yaml @@ -13,3 +13,6 @@ versions: sha256: d359885b4f0dd28228e38f8b00096523fc6ae7fe07800910a0da6a8effa993c1 - filename: voyager-2.1.0-cp314-cp314t-manylinux_2_39_riscv64.whl sha256: b10022bd3be34fa21f3e0180bc25b0ea455e1f0101b79a3490040257e4311aba +- version: 2.2.0 +- version: 2.2.1 +- version: 2.2.2