Skip to content

arraykit: add build-arraykit.yml for riscv64 wheels - #1787

Open
luhenry wants to merge 2 commits into
mainfrom
arraykit
Open

arraykit: add build-arraykit.yml for riscv64 wheels#1787
luhenry wants to merge 2 commits into
mainfrom
arraykit

Conversation

@luhenry

@luhenry luhenry commented Sep 11, 2026

Copy link
Copy Markdown
Member

Compiles a small CPython C extension (arraykit._arraykit) of NumPy array utilities used by static-frame. Upstream publishes no riscv64 wheel.

Mirrors the wheels job of upstream's ci.yml.

Differs from upstream

  • Preinstalls numpy and disables build isolation - setup.py finds numpy's headers via site.getsitepackages(), invisible to the isolation overlay.
  • Pins numpy via PIP_ONLY_BINARY - only our registry has a riscv64 wheel for it.

Testing

  • same as upstream

License: OK

Built locally (macOS arm64, cp312, pip wheel --no-build-isolation with numpy preinstalled): 775 passed.

luhenry added a commit that referenced this pull request Sep 11, 2026
Our registry ships hypothesis 6.165.10 with a cp314t riscv64 wheel, but
PyPI's newer 6.168.0 (no riscv64 wheel for cp314t) otherwise wins version
resolution and falls back to building its sdist, which fails needing Rust.
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.

1 participant