Skip to content

breez-sdk-spark: Add version 0.24.1 - #3059

Draft
luhenry wants to merge 1 commit into
mainfrom
breez-sdk-spark
Draft

luhenry wants to merge 1 commit into
mainfrom
breez-sdk-spark

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Builds the uniffi-rs cdylib behind the Breez Spark (Bitcoin/Lightning) SDK and generates its ctypes-based Python glue. Upstream publishes no riscv64 wheel.

Mirrors upstream's publish-python.yml (build-language-bindings + build-linux-wheels jobs).

Differs from upstream

  • Builds the cdylib natively on the riscv64 runner inside cibuildwheel - upstream cross-compiles only x86_64/aarch64, with no riscv64 toolchain.
  • manylinux_2_39_riscv64 plat tag, not upstream's manylinux_2_31_<arch> - matches this repo's riscv64 image's glibc baseline.

Matrix: cp312/cp313/cp314/cp314t only, not upstream's cp38-cp314 - no riscv64 CPython exists below this repo's default four.

Testing

  • added an import + bundled-.so smoke check (upstream ships none for the Python bindings).

License: OK - MIT, no vendored binaries; ring's portable C fallback and rustls's ring provider need no riscv64 asm, cmake or perl.

No local rehearsal (disk-constrained host); relying on CI's riscv64 runner.

Rust/uniffi-rs cdylib built natively on the riscv64 runner; ring falls
back to its portable C implementation (no riscv64 asm) and rustls
selects it over aws-lc-sys, so no cmake/perl is needed either.
luhenry added a commit that referenced this pull request Oct 13, 2026
…-dependency

lmcache's common.txt hard-pins numba (used directly for cachegen/token-hash
JIT kernels), and numba/llvmlite are both already parked on conda-distributed
riscv64 LLVM.
@luhenry
luhenry marked this pull request as draft October 14, 2026 11:34

This branch has not been deployed

No deployments
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.

1 participant