Repository navigation
Conversation
opendp (MIT) is a Rust differential-privacy library exposed to Python as a plain cdylib via setuptools-rust (binding=NoBinding, no CPython linkage). PyPI ships manylinux x86_64/aarch64, musllinux, macOS and Windows wheels but no riscv64. Generates the Python glue code once (upstream's own "bindings" feature, architecture-independent) on a standard runner, then compiles the cdylib on the riscv64 runner with cibuildwheel, mirroring upstream's own .build.yml x86_64 job narrowed to riscv64.
luhenry
added a commit
that referenced
this pull request
Oct 15, 2026
…on -> no-gap; piper-phonemize/concrete-python -> parked
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.
opendp0.16.0Compiles a Rust differential-privacy library as a plain cdylib (setuptools-rust,
binding=NoBinding, no CPython linkage at all) dlopened via ctypes at import time. Upstream publishes no riscv64 wheel.Mirrors the x86_64 job of upstream's
.build.yml: generate the Python glue code once (upstream's own architecture-independentbindingsfeature), build the sdist, then compile on riscv64 with cibuildwheel.Differs from upstream
bindings/python-sdistjobs - no other OS/arch to share the glue code with.bdist_wheel- riscv64 is a native runner here, so it follows the x86_64 cibuildwheel shape instead.Testing
python -c "import opendp")License: OK
Draft: the default-feature vendored OpenSSL build and the pinned
polarscrate make this a long, unproven riscv64 build - opening for CI visibility before claiming it works.