Skip to content

ci: build and test riscv64 wheels - #389

Merged
etrepum merged 1 commit into
simplejson:mainfrom
justeph:ci/riscv64-support
Oct 2, 2026
Merged

etrepum merged 1 commit into
simplejson:mainfrom
justeph:ci/riscv64-support

Conversation

@justeph

@justeph justeph commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Now that cibuildwheel and PyPI support riscv64, we can start building riscv64 wheels.

Integrated in the same way as other emulated architectures (aarch64, ppc64le).

@justeph

justeph commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

I am upstreaming this as part of our work with RISE to promote riscv64 support in python ecosystem. We already build, deploy and test riscv64 wheel for simplejson: https://pypi.riseproject.dev/packages/simplejson.html#simplejson

FYI, here are the action on my personal fork: https://github.com/justeph/simplejson/actions/runs/35862315764

This PR adds riscv support as an emulated platform (as aarch64 and ppc64le), but FYI, RISE is offering free native runners (see https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-github/). I would be happy to update my PR if you want to switch it

@etrepum etrepum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be happy to use native runners if you'd like to do the CI configuration to make that happen. I've added the https://github.com/apps/rise-risc-v-runners app to the simplejson org

Now that cibuildwheel and PyPI support riscv64, we can start building
riscv64 wheels.

Integrated using native runners provided by RISE [1]

[1]: https://riseproject.dev/2026/03/24/announcing-the-rise-risc-v-runners-free-native-risc-v-ci-on-github/

Signed-off-by: Julien Stephan <[email protected]>
@justeph
justeph force-pushed the ci/riscv64-support branch 2 times, most recently from 280b343 to 6e0bbbe Compare September 23, 2026 16:25
@justeph

justeph commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

@etrepum updated to use native runners! Here is the run on my personnal fork, running on native runner: https://github.com/justeph/simplejson/actions/runs/35881644146/job/107251307812

@justeph

justeph commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

@etrepum any idea about the failure? I am not sure it's related to riscv64

@etrepum
etrepum added this pull request to the merge queue Oct 2, 2026
Merged via the queue into simplejson:main with commit c3edf28 Oct 2, 2026
53 of 54 checks passed
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 3, 2026
4.2.0 released 2026-10-02

* Start building wheels for Python 3.15 and drop Python 3.8 support
  via upgrade to cibuildwheel v4.2.0
  simplejson/simplejson#385
* Build and test riscv64 Linux wheels on native RISE runners
  simplejson/simplejson#389
* The C scanner now reports the same error message as the pure Python
  decoder for an invalid first key in an object
  simplejson/simplejson#388
* ``int_as_string_bitcount`` now supports thresholds of 64 bits and above
  (including 128-bit integers) in both the C and pure Python encoders;
  the C encoder previously rejected them
  simplejson/simplejson#387
* Circular references introduced through ``for_json()`` or ``_asdict()``
  now raise ``ValueError("Circular reference detected")`` instead of
  recursing without bound
  simplejson/simplejson#390
* CI now tests Python 3.15 (including free-threaded 3.15t), PyPy 3.12,
  CPython 3.14.8 debug builds, and uses current GitHub Actions and
  cibuildwheel v4.2.1
  simplejson/simplejson#386
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 13, 2026
4.2.0 released 2026-10-02

* Start building wheels for Python 3.15 and drop Python 3.8 support
  via upgrade to cibuildwheel v4.2.0
  simplejson/simplejson#385
* Build and test riscv64 Linux wheels on native RISE runners
  simplejson/simplejson#389
* The C scanner now reports the same error message as the pure Python
  decoder for an invalid first key in an object
  simplejson/simplejson#388
* ``int_as_string_bitcount`` now supports thresholds of 64 bits and above
  (including 128-bit integers) in both the C and pure Python encoders;
  the C encoder previously rejected them
  simplejson/simplejson#387
* Circular references introduced through ``for_json()`` or ``_asdict()``
  now raise ``ValueError("Circular reference detected")`` instead of
  recursing without bound
  simplejson/simplejson#390
* CI now tests Python 3.15 (including free-threaded 3.15t), PyPy 3.12,
  CPython 3.14.8 debug builds, and uses current GitHub Actions and
  cibuildwheel v4.2.1
  simplejson/simplejson#386
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 21, 2026
4.2.0 released 2026-10-02

* Start building wheels for Python 3.15 and drop Python 3.8 support
  via upgrade to cibuildwheel v4.2.0
  simplejson/simplejson#385
* Build and test riscv64 Linux wheels on native RISE runners
  simplejson/simplejson#389
* The C scanner now reports the same error message as the pure Python
  decoder for an invalid first key in an object
  simplejson/simplejson#388
* ``int_as_string_bitcount`` now supports thresholds of 64 bits and above
  (including 128-bit integers) in both the C and pure Python encoders;
  the C encoder previously rejected them
  simplejson/simplejson#387
* Circular references introduced through ``for_json()`` or ``_asdict()``
  now raise ``ValueError("Circular reference detected")`` instead of
  recursing without bound
  simplejson/simplejson#390
* CI now tests Python 3.15 (including free-threaded 3.15t), PyPy 3.12,
  CPython 3.14.8 debug builds, and uses current GitHub Actions and
  cibuildwheel v4.2.1
  simplejson/simplejson#386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants