Skip to content

pycrc32: add build-pycrc32.yml for riscv64 wheels - #1380

Merged
luhenry merged 2 commits into
mainfrom
pycrc32
Sep 8, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a PyO3 binding around the crc32fast crate for CRC32 checksum computation. Upstream publishes no riscv64 wheel.

Mirrors upstream's CI.yml linux job.

Differs from upstream

  • musllinux dropped - rustup ships no riscv64 musl toolchain.
  • Rust toolchain installed via CIBW_BEFORE_ALL_LINUX - upstream has no [tool.cibuildwheel] config of its own.

Testing

  • test-sources stages only pycrc32/tests - the suite lives inside the importable package directory.

License: OK

Ports pycrc32 0.3.0, a small pyo3/maturin binding around the crc32fast
crate. Mirrors the linux job of upstream's own CI.yml: cibuildwheel
drives maturin in the manylinux_riscv64 image, installing the Rust
toolchain via CIBW_BEFORE_ALL_LINUX since the project ships no
[tool.cibuildwheel]. No abi3 feature on pyo3, so one wheel is built
per interpreter (cp312-cp314t). musllinux is skipped: rustup.rs ships
no riscv64 musl toolchain.
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 1ac82d9 into main Sep 8, 2026
7 checks passed
@luhenry
luhenry deleted the pycrc32 branch September 8, 2026 08:34
@luhenry luhenry linked an issue Sep 8, 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.

pycrc32 riscv64 support

1 participant