From 9c3b876d7eb82f5de82f70ea388c31a720dc701f Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:15:13 +0000 Subject: [PATCH 1/2] voyager: Add versions 2.2.0, 2.2.1, 2.2.2 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/voyager.yaml | 3 +++ 1 file changed, 3 insertions(+) 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 From 64ed0cc5ca5849cfffd69b2bc3788b60479fc58a Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sun, 25 Oct 2026 19:03:53 +0100 Subject: [PATCH 2/2] voyager: build the abi3 wheel once on cp312 --- .github/workflows/build-voyager.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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