Conversation
Build chia_rs (PyO3 bindings for Chia's Rust consensus/BLS crates) from the upstream 0.48.0 tag with cibuildwheel, mirroring upstream's own riscv64 maturin build (no openssl feature). The crate graph has portable paths for riscv64: blst compiles with __BLST_NO_ASM__, ring and zstd-sys are plain C, and chia-pos2 uses its soft-AES fallback.
luhenry
added a commit
that referenced
this pull request
Sep 25, 2026
Contributor
|
The suite opens test-bundles/, ff-tests/ and generator-tests/ relative to the working directory, as upstream runs pytest from the repository root. cibuildwheel runs the test command from an empty temporary directory, so stage those directories (and pytest.ini) with CIBW_TEST_SOURCES.
luhenry
added a commit
that referenced
this pull request
Sep 27, 2026
This branch has not been deployed
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.
chia-rs0.48.0Compiles the PyO3 extension over Chia's Rust consensus, BLS (blst, portable C) and proof-of-space (C++) crates. Upstream publishes no riscv64 wheel on PyPI.
Mirrors upstream's
build-riscv64.yml, with tests frombuild-wheels.yml.Differs from upstream
opensslfeature, as in upstream's riscv64 build, so no bundled libcrypto.LICENSEnext towheel/pyproject.toml; upstream's wheels ship no licence text.Testing
-n auto.License: OK