Allow packaging of wheels for riscv64 architecture#147
Closed
ffgan wants to merge 6 commits intocrate-py:mainfrom
ffgan:main
Closed
Allow packaging of wheels for riscv64 architecture#147ffgan wants to merge 6 commits intocrate-py:mainfrom ffgan:main
ffgan wants to merge 6 commits intocrate-py:mainfrom
ffgan:main
Conversation
Co-authored-by: <nijincheng@iscas.ac.cn>;
Member
|
Hi there, thanks for the PR. Besides the small CI failure the other important thing to check is whether these actually upload to PyPI. I haven't stayed on top of RISC support but it seems like they still may not. You could try uploading your output to TestPyPI perhaps so we could see. |
Contributor
Author
|
Bad news, I can’t actually upload the package to TestPyPI root@u22:~/new_ceph/rpds# twine upload --verbose --repository testpypi dist/*
INFO Using configuration from /root/.pypirc
Uploading distributions to https://test.pypi.org/legacy/
INFO dist/rpds_py-0.26.0-cp310-cp310-manylinux_2_34_riscv64.whl (391.7 KB)
INFO username set by command options
INFO password set from config file
INFO username: __token__
INFO password: <hidden>
Uploading rpds_py-0.26.0-cp310-cp310-manylinux_2_34_riscv64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 408.8/408.8 kB • 00:01 • 5.6 MB/s
INFO Response from https://test.pypi.org/legacy/:
400 Bad Request
INFO <html>
<head>
<title>400 Binary wheel 'rpds_py-0.26.0-cp310-cp310-manylinux_2_34_riscv64.whl' has an unsupported platform tag
'manylinux_2_34_riscv64'.</title>
</head>
<body>
<h1>400 Binary wheel 'rpds_py-0.26.0-cp310-cp310-manylinux_2_34_riscv64.whl' has an unsupported platform tag
'manylinux_2_34_riscv64'.</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>
Binary wheel 'rpds_py-0.26.0-cp310-cp310-manylinux_2_34_riscv64.whl' has an unsupported platform tag
'manylinux_2_34_riscv64'.
</body>
</html>
ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
Bad RequestOK, I will find a solution to this problem as soon as possible. I will let you know if there is any new information. |
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.
For manylinux (gnu/glibc, not musl), after testing, it is possible to package a wheel for the riscv64 architecture. After testing with the riscv64 virtual machine, the test result is passed.
Here is the CI Result, https://github.com/ffgan/rpds/actions/runs/16413208054
The following is the test script and the output of the test script run
1. test script
The test script runs on ubuntu22 riscv64.
(u22 rv64 can be used through the qemu virtual machine, reference link)
2. test output
Therefore, for manylinux, it is possible to package a wheel for riscv64. However, for Linux using musl, after preliminary testing, I have not yet obtained satisfactory results. I will submit a new PR if there are new results later.
Co-authored-by: nijincheng@iscas.ac.cn;