py-bip39-bindings: add build-py-bip39-bindings.yml for riscv64 wheels - #1239
Merged
Conversation
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.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
…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'.
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.
py-bip39-bindings0.3.0PyO3/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.ymllinux/sdistjobs, same shape as py-sr25519-bindings (#1223).Differs from upstream
Testing
pytest tests.py, covering French and zh-hans mnemonic locales too)License: OK