Packaging support for riscv64

There’s been quite a bit of progress over the summer so I thought it worthwhile to update the thread to reflect the latest status.

  1. Manylinux now supports riscv64. manylinux_2_39_riscv64 and musllinux_1_2_riscv64 images are available on quay.io.
  2. Cibuildwheel v3.1.0 added support for riscv64 via an experimental option and enabled riscv64 support by default in v3.1.2.
  3. warehouse also now supports riscv64.

With these changes it is now possible to build riscv64 manylinux and musllinux wheels with an unpatched, upstream cibuildwheel and to upload the built wheels to PyPI. At least two projects, uv and maturin, have uploaded riscv64 wheels to PyPI.

A big thanks to @mayeut who provided the necessary patches.

6 Likes