Skip to content

typeid-python: add build-typeid-python.yml for riscv64 wheels - #1398

Merged
luhenry merged 2 commits into
mainfrom
typeid-python
Sep 7, 2026
Merged

typeid-python: add build-typeid-python.yml for riscv64 wheels#1398
luhenry merged 2 commits into
mainfrom
typeid-python

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Builds 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

  • Dropped musllinux - rustup ships no riscv64 musl toolchain
  • Dropped cp310/cp311 - below this repo's numpy-driven cp312 floor

Testing

  • same as upstream

License: OK

Built and tested locally in manylinux_2_39_aarch64 on cp312; 77 passed.

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.
@luhenry
luhenry merged commit 529addd into main Sep 7, 2026
9 checks passed
@luhenry
luhenry deleted the typeid-python branch September 7, 2026 17:36
@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.

typeid-python riscv64 support

1 participant