Allow manylinux/musllinux riscv64 wheel upload (PEP 600/656)#18390
Merged
Allow manylinux/musllinux riscv64 wheel upload (PEP 600/656)#18390
Conversation
|
@mayeut I'm working on the wording. |
di
approved these changes
Jul 21, 2025
fix pypi#18243 All mainstream distros support the `RVA20U64` profile (which defines the ABI) targeting the `RV64GC` ISA (no optional extensions). This can serve as a baseline for `riscv64`. Optional extensions and/or later profiles shall go through a PEP (same status as on x86_64 fo v2/v3/v4 ISA extensions).
This was referenced Jul 23, 2025
zanieb
added a commit
to astral-sh/uv
that referenced
this pull request
Jul 23, 2025
This reverts commit 49b4501 from #14009 following pypi/warehouse#18390
This was referenced Jul 24, 2025
messense
added a commit
to PyO3/maturin
that referenced
this pull request
Jul 28, 2025
#2694) Recently, pypi has just provided support for riscv wheel uploads. For details, please see pypi/warehouse#18390 Here you can see that test.pypi.org has deployed support, https://github.com/pypi/warehouse/deployments/test.pypi.org I think maturin-action can also provide support for this, mainly by setting manylinux_2_39 as the default and supported version of riscv64, so that riscv64 packages that can be uploaded to pypi can be packaged Here are the results of my github action run, CI result: [release](https://github.com/ffgan/maturin/actions/runs/16551719275) [test](https://github.com/ffgan/maturin/actions/runs/16551720338) The results show that riscv64 runs well **Other Info** Co-authored-by: @kotvaer Co-authored-by: nijincheng@iscas.ac.cn; --------- Co-authored-by: messense <messense@icloud.com>
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.
Fixes #18243.
All mainstream distros target or support the
RV64GCarch +LP64Dabi. This can serve as a baseline forriscv64.python -c "import sysconfig; print(sysconfig.get_platform())returnslinux-riscv64on all those distros.Optional extensions and/or later profiles shall go through a PEP (same status as on x86_64 for v2/v3/v4 ISA extensions).