Skip to content

py-bip39-bindings: add build-py-bip39-bindings.yml for riscv64 wheels - #1239

Merged
luhenry merged 3 commits into
mainfrom
py-bip39-bindings
Sep 7, 2026
Merged

py-bip39-bindings: add build-py-bip39-bindings.yml for riscv64 wheels#1239
luhenry merged 3 commits into
mainfrom
py-bip39-bindings

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

PyO3/maturin bindings for the tiny-bip39 Rust crate, generating and validating BIP-39 mnemonic seed phrases for Substrate/Polkadot key derivation. Upstream publishes no riscv64 wheel.

Mirrors upstream's CI.yml linux/sdist jobs, same shape as py-sr25519-bindings (#1223).

Differs from upstream

  • Musllinux dropped - rustup ships no riscv64 musl host toolchain.

Testing

  • same as upstream (pytest tests.py, covering French and zh-hans mnemonic locales too)

License: OK

Mirrors build-py-sr25519-bindings.yml (same polkascan org, same
maturin/PyO3 shape with no abi3, no [tool.cibuildwheel]): sdist built
from a maturin checkout, per-interpreter riscv64 bdist with rustup
bootstrapped in-container, tested against upstream's own mnemonic/
mini-secret/seed fixtures from tests.py.
…tors

tests.py ships in the released sdist and needs no extra fixtures (unlike
py-sr25519-bindings' test suite, it does not depend on another
not-yet-published package), so running it directly covers the French and
zh-hans locale cases too.
…ha 5)

cibuildwheel was invoked as './py-bip39-bindings' (a subdir of the job's
cwd), so {package} resolves to that mounted checkout while {project} is
the invocation dir - which has no tests.py. All four riscv64 build jobs
failed with 'file or directory not found: /project/tests.py'.
@luhenry
luhenry merged commit 632aa81 into main Sep 7, 2026
10 checks passed
@luhenry
luhenry deleted the py-bip39-bindings branch September 7, 2026 11:13
@luhenry luhenry linked an issue Sep 7, 2026 that may be closed by this pull request
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.

py-bip39-bindings riscv64 support

1 participant