typeid-python: add build-typeid-python.yml for riscv64 wheels - #1398
Merged
Conversation
Adds a maturin/PyO3 build for typeid-python (K-sortable, type-safe TypeIDs). The rust-base32 extension is per-interpreter (no abi3), so the matrix builds cp312/cp313/cp314/cp314t; musllinux is skipped (rustup ships no riscv64 musl toolchain). uuid-utils, pydantic-core and pyyaml already have riscv64 wheels on our registry.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
[tool.maturin] include only lists LICENSE/README/typeid/rust-base32, so the maturin sdist genuinely ships no tests/ directory - CI failed with 'file or directory not found: /project/typeid-python/tests' on every interpreter. Build directly from the upstream git checkout instead (matches build-fastnanoid.yml's shape) so tests/ is present at cwd, and stage it into the wheel test via CIBW_TEST_SOURCES.
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.
typeid-python0.3.10Builds the rust-base32 PyO3 extension backing typeid-python's K-sortable, type-safe TypeIDs. Upstream publishes no riscv64 wheel.
Mirrors upstream's
publish.yml.Differs from upstream
Testing
License: OK
Built and tested locally in manylinux_2_39_aarch64 on cp312; 77 passed.