You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add riscv64 (linux_riscv64) wheel to PyPI releases #732
pip install uvloop on riscv64 Linux currently requires building from source (~5 min on a 1.6 GHz RISC-V SoC). Adding linux_riscv64 to the wheel build matrix would give riscv64 users a prebuilt wheel.
The wheel imports and passes basic smoke tests on riscv64 Linux.
Suggested CI change
Workflow: .github/workflows/release.yml
Add riscv64 to the matrix:
# In strategy.matrix.cibw_arch, add riscv64:cibw_arch: [x86_64, aarch64, universal2, riscv64]# Add exclude for riscv64 on non-linux:exclude:
- os: macos-latestcibw_arch: riscv64
Add QEMU step and test skip:
- name: Set up QEMUif: matrix.cibw_arch == 'riscv64'uses: docker/setup-qemu-action@v3with:
platforms: riscv64# Add to env:CIBW_TEST_SKIP: '*-linux_riscv64'
libuv has riscv64 support since v1.44. Event-loop tests may hang under QEMU, hence the test skip recommendation.
Ecosystem context
manylinux_2_28_riscv64 images are available on quay.io/pypa/ (landed in pypa/manylinux, 2025)
cibuildwheel 3.x supports riscv64 via QEMU emulation
Activity