From 6779b33dbecb4b45faa1dda3d61eba4b9c2ea4e6 Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Thu, 19 Mar 2026 18:16:08 +0100 Subject: [PATCH] ci: add riscv64 Python wheel builds using RISE native runners Add riscv64 to the wheel build matrix using native RISE runners (ubuntu-24.04-riscv) and manylinux_2_39 image. Changes: - packaging_wheels.yml: add riscv64 to seed_wheels and main wheel matrices - pyproject.toml: add manylinux-riscv64-image = "manylinux_2_39" Built successfully on native riscv64: duckdb-1.5.0-cp313-cp313-linux_riscv64.whl Signed-off-by: Bruno Verachten --- .github/workflows/packaging_wheels.yml | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/packaging_wheels.yml b/.github/workflows/packaging_wheels.yml index 82ed76a8..ffa7c6d7 100644 --- a/.github/workflows/packaging_wheels.yml +++ b/.github/workflows/packaging_wheels.yml @@ -36,6 +36,7 @@ jobs: - { os: windows-11-arm, arch: ARM64, cibw_system: win } - { os: ubuntu-24.04, arch: x86_64, cibw_system: manylinux } - { os: ubuntu-24.04-arm, arch: aarch64, cibw_system: manylinux } + - { os: ubuntu-24.04-riscv, arch: riscv64, cibw_system: manylinux } - { os: macos-15, arch: arm64, cibw_system: macosx } - { os: macos-15, arch: universal2, cibw_system: macosx } - { os: macos-15-intel, arch: x86_64, cibw_system: macosx } @@ -133,6 +134,7 @@ jobs: - { os: windows-11-arm, arch: ARM64, cibw_system: win } - { os: ubuntu-24.04, arch: x86_64, cibw_system: manylinux } - { os: ubuntu-24.04-arm, arch: aarch64, cibw_system: manylinux } + - { os: ubuntu-24.04-riscv, arch: riscv64, cibw_system: manylinux } - { os: macos-15, arch: arm64, cibw_system: macosx } - { os: macos-15, arch: universal2, cibw_system: macosx } - { os: macos-15-intel, arch: x86_64, cibw_system: macosx } diff --git a/pyproject.toml b/pyproject.toml index 12c853dd..fcb5c998 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -458,6 +458,7 @@ manylinux-x86_64-image = "manylinux_2_28" manylinux-pypy_x86_64-image = "manylinux_2_28" manylinux-aarch64-image = "manylinux_2_28" manylinux-pypy_aarch64-image = "manylinux_2_28" +manylinux-riscv64-image = "manylinux_2_39" [tool.cibuildwheel.linux] before-build = ["yum install -y ccache"]