Skip to content

fastnumbers: add build-fastnumbers.yml for riscv64 wheels - #1242

Merged
luhenry merged 2 commits into
mainfrom
fastnumbers
Sep 7, 2026
Merged

fastnumbers: add build-fastnumbers.yml for riscv64 wheels#1242
luhenry merged 2 commits into
mainfrom
fastnumbers

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles 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.yml build job.

Differs from upstream

  • No musllinux riscv64 job - manylinux only for now.
  • Test suite runs against the built wheel, unlike upstream's own wheel job (which runs no tests) - reuses tests.yml's pytest invocation instead.

Testing

  • Same suite and command as upstream's 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.

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.
@luhenry
luhenry merged commit 6677d21 into main Sep 7, 2026
9 checks passed
@luhenry
luhenry deleted the fastnumbers branch September 7, 2026 09:07
@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.

fastnumbers riscv64 support

1 participant