Skip to content

Conversation

@justeph
Copy link

@justeph justeph commented Dec 5, 2025

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

FYI, RISE has been building, testing and distributing pyzstd for riscv64 (versions 0.17.0 and 0.18.0). Tested builds are available for riscv64 here.

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

Signed-off-by: Julien Stephan <[email protected]>
@Rogdham
Copy link
Owner

Rogdham commented Dec 6, 2025

Hello, and thank you for your interest and the tests performed!

Following up on the plan with PEP 784, the next version of pyzstd will be pure-python, so there will be no need to build specific wheels for riscv64.

However, for that to work, the newly introduced dependency backports.zstd (only for Python before 3.14) will need to support riscv64 as well. I have just created a PR on that repo to add support for it.

Since the support for riscv64 will be done in an other way, I am closing this PR.

@Rogdham Rogdham closed this Dec 6, 2025
@Rogdham
Copy link
Owner

Rogdham commented Dec 7, 2025

Version 0.19.0 of pyzstd shipping the changes mentioned has been released 🚀

@justeph could you try to install it from PyPi on a riscv64 machine? It should work by downloading necessary wheels without compiling anything locally.

@justeph
Copy link
Author

justeph commented Dec 8, 2025

@Rogdham I confirm I can install pyzstd on riscv64 without compiling :
On a 3.12 virtual env:

((venv312) ) bash-5.2# pip install pyzstd                                                                                                                                                                                                                                                                                                                                                                       
Collecting pyzstd                                                                                                                                                                                                         
  Downloading pyzstd-0.19.0-py3-none-any.whl.metadata (2.6 kB)                                                                                                                                                            
Collecting backports-zstd>=1.0.0 (from pyzstd)                                                                                                                                                                            
  Downloading backports_zstd-1.2.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl.metadata (6.9 kB)                                                                                                        
Collecting typing-extensions>=4.13.2 (from pyzstd)                                                                                                                                                                        
  Downloading typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)                                                                                                                                                 
Downloading pyzstd-0.19.0-py3-none-any.whl (23 kB)                                                                                                                                                                        
Downloading backports_zstd-1.2.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl (568 kB)                                                                                                                   
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 568.9/568.9 kB 702.2 kB/s eta 0:00:00                                                                                                                                         
Downloading typing_extensions-4.15.0-py3-none-any.whl (44 kB)                                                                                                                                                             
Installing collected packages: typing-extensions, backports-zstd, pyzstd                                                                                                                                                  
Successfully installed backports-zstd-1.2.0 pyzstd-0.19.0 typing-extensions-4.15.0                                                                                                                                        

and on a 3.14 virtual env:

(venv314) bash-5.2# pip install pyzstd                                                                                                                                                                                                                                                                                                                                                                                         
Collecting pyzstd                                                                                                                                                                                                                
  Downloading pyzstd-0.19.0-py3-none-any.whl.metadata (2.6 kB)                                                                                                                                                                   
Downloading pyzstd-0.19.0-py3-none-any.whl (23 kB)                                                                                                                                                                               
Installing collected packages: pyzstd                                                                                                                                                                                            
Successfully installed pyzstd-0.19.0                                                                                                                                                                                             

@Rogdham
Copy link
Owner

Rogdham commented Dec 8, 2025

Terrific! Thank you for confirming!

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