Skip to content
IJK

CPython on RISC-V: Tier 3 Support, Testing and What Is Asked

By IJK ·

The support level, the real-hardware testing and the next steps the CPython RISC-V announcement describes, and what it asks users with RISC-V hardware to do.

The support level and how it was reached

Over the last few months, I’ve been working on improving CPython’s support for the RISC-V architecture, and I’m thrilled to announce that RISC-V is now officially supported by CPython as a tier 3 platform! 🎉 🚀 [1]

That work is what has brought the platform to the point where it could be added to PEP 11. [2]

hostsupports reachingRISE-provided RISC-V machinesBuildbotsrun after a patch is mergedTier 3 platform in PEP 11
How does the announcement say CPython is tested on RISC-V today?

How testing works today

A particularly important part of this has been having reliable, ongoing testing on real RISC-V hardware. [3]

RISE has kindly provided several RISC-V machines for CPython, giving us buildbots for testing as well as debugging architecture-specific issues. [4]

What comes next and what users are asked

We are currently investigating how to improve our testing further by bringing RISC-V directly into CPython’s CI, again kindly supported by RISE with their RISE RISC-V Runners initiative. [5]

If you have access to RISC-V hardware, please try building and running CPython, run your workloads and test suites, and please let us know what breaks. [6]

Sources

  1. The CPython core developer source says: Over the last few months, I’ve been working on improving CPython’s support for the RISC-V architecture, and I’m thrilled to announce that RISC-V is now officially supported by CPython as a tier 3 platform! 🎉 🚀 RISC-V is now officially supported by CPython
  2. The CPython core developer source says: That work is what has brought the platform to the point where it could be added to PEP 11. RISC-V is now officially supported by CPython
  3. The CPython core developer source says: A particularly important part of this has been having reliable, ongoing testing on real RISC-V hardware. RISC-V is now officially supported by CPython
  4. The CPython core developer source says: RISE has kindly provided several RISC-V machines for CPython, giving us buildbots for testing as well as debugging architecture-specific issues. RISC-V is now officially supported by CPython
  5. The CPython core developer source says: We are currently investigating how to improve our testing further by bringing RISC-V directly into CPython’s CI, again kindly supported by RISE with their RISE RISC-V Runners initiative. RISC-V is now officially supported by CPython
  6. The CPython core developer source says: If you have access to RISC-V hardware, please try building and running CPython, run your workloads and test suites, and please let us know what breaks. RISC-V is now officially supported by CPython

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • python
  • risc v
  • cpython
  • platforms