Skip to content

prek: add build-prek.yml for riscv64 wheels - #848

Merged
luhenry merged 1 commit into
mainfrom
prek
Sep 3, 2026
Merged

prek: add build-prek.yml for riscv64 wheels#848
luhenry merged 1 commit into
mainfrom
prek

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

Compiles prek, a Rust git-hook manager, into a maturin bindings = "bin" wheel with no ABI tag (a single compiled executable, not an extension module). Upstream publishes no riscv64 wheel.

Mirrors the linux/linux-arm jobs of upstream's build-release-binaries.yml.

Differs from upstream

  • Uses PyO3/maturin-action directly with target: riscv64gc-unknown-linux-gnu, manylinux: '2_39' - the riscv64 pairing upstream has no job for.

Testing

  • No pytest suite ships for the wheel; runs prek --version and a real prek run --all-files against prek's own builtin hooks (no network), the same shape the prek-action GitHub Action documents.

License: OK

Built on cp312; wheel installs and runs on cp312/cp313/cp314/cp314t.

prek is a maturin `bindings = "bin"` project (a Rust CLI packaged as a
py3-none-<platform> wheel, no ABI tag), built directly with
PyO3/maturin-action against riscv64gc-unknown-linux-gnu / manylinux_2_39.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Az13NcXsVZzzxXmaxxUEy7
@luhenry
luhenry merged commit 566c2e0 into main Sep 3, 2026
12 checks passed
@luhenry
luhenry deleted the prek branch September 3, 2026 14:57
@luhenry luhenry linked an issue Sep 3, 2026 that may be closed by this pull request
@luhenry luhenry mentioned this pull request Sep 3, 2026
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.

prek riscv64 support

1 participant