fastnumbers: add build-fastnumbers.yml for riscv64 wheels - #1242
Merged
Conversation
Small C++ extension for fast numeric type checking/conversion, no runtime dependencies. Build-from-checkout cibuildwheel job mirroring upstream's deploy.yml, narrowed to manylinux riscv64, with the test suite (pytest + hypothesis + README doctests) run per tests.yml against the built wheel.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
PyPI's newest hypothesis has no riscv64 wheel (6.156+ ships as a maturin/Rust build); pip resolved the highest version across both indexes and fell back to the sdist on cp314t, which fails building for riscv64gc (rustup does not recognize the triple). Scope PIP_ONLY_BINARY to hypothesis in CIBW_TEST_ENVIRONMENT so pip lands on our registry's riscv64 wheel (6.165.10) instead.
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.
fastnumbers5.2.0Compiles a small C++17 extension for fast numeric type checking and conversion, with no runtime dependencies. Upstream publishes no riscv64 wheel.
Mirrors upstream's
deploy.ymlbuild job.Differs from upstream
tests.yml's pytest invocation instead.Testing
tests.yml(pytest + hypothesis + README doctests); numpy comes from our registry since it has no riscv64 wheel on public PyPI.License: OK
Built off the sdist on cp312 (macOS/arm64, local, off-riscv64); 1845 passed.