feat: initial support for riscv64 - #2366
Merged
Merged
Conversation
Contributor
|
I expect only a few people have set However, making this an enable group is a good idea IMO, since it's kind of experimental... In theory, something about these wheels might change before the PEP is approved. That way it matches the logic of the prerelease enable group. |
joerick
reviewed
Apr 21, 2025
joerick
left a comment
Contributor
There was a problem hiding this comment.
Looks good! I think we'd want to document the option in the docs for CIBW_ENABLE, in options.md.
Co-authored-by: Joe Rickerby <[email protected]>
henryiii
approved these changes
Apr 28, 2025
xen0n
added a commit
to xen0n/pygit2
that referenced
this pull request
Jun 16, 2026
RISC-V wheels have been supported by cibuildwheel and PyPI for a while, so let's build binary wheels for it as many of the boards currently on the market are rather slow to make building on the spot rather painful. Human note: The entirety of the commit message is written manually. See: pypa/cibuildwheel#2366 See: pypi/warehouse#18243 Assisted-by: GPT-5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Towards #2263
While riscv64 would need a PEP in order to publish to PyPI, the community is already using a patch version of cibuildwheel to populate a repository hosted on GitLab: https://gitlab.com/riseproject/python/wheel_builder.
In order to get things moving forward, initial support could be added to cibuildwheel while waiting for full support once a PEP is available.
IMHO, the fact that those wheels can't be uploaded to PyPI isn't a showstopper here (in fact, the same is true of pyodide wheels). The only thing I'm concerned about with this PR is that building "all" platforms on Linux would now include something not upload able to PyPI so maybe it should be protected by an enable flag ?