Skip to content

pikepdf: add build-pikepdf.yml for riscv64 wheels - #877

Merged
luhenry merged 2 commits into
mainfrom
pikepdf
Sep 4, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

Builds qpdf 12.3.2 from source (CMake, native crypto provider) then compiles pikepdf's nanobind/qpdf C++ extension against it. Upstream publishes no riscv64 wheel.

Mirrors upstream's build.yml (wheels_linux job).

Differs from upstream

  • Adds CIBW_MANYLINUX_RISCV64_IMAGE - upstream has no riscv64 image configured.
  • Repeats QPDF_MIN_VERSION/QPDF_VERSION/QPDF_PATTERN in CIBW_ENVIRONMENT - the env var replaces, not merges, upstream's [tool.cibuildwheel.environment] table.
  • Drops musllinux - no musllinux_riscv64 manylinux image exists.

Testing

  • same as upstream

License: OK

Built on cp312; wheel imports and the wheel's own pytest -nauto tests suite passes.

Downloads and builds qpdf 12.3.2 from source (CMake, native crypto) before
building pikepdf's nanobind extension, mirroring upstream's own before-all.
@luhenry luhenry closed this Sep 3, 2026
@luhenry luhenry reopened this Sep 3, 2026
hypothesis switched to a maturin build backend; the newest release has no
riscv64 wheel, and maturin's rustup auto-install does not support riscv64
as a host triple. Our registry carries an older wheel that satisfies
pikepdf's >=6.36 floor, so keep pip on it during the test phase.
@luhenry
luhenry merged commit f1671b8 into main Sep 4, 2026
9 checks passed
@luhenry
luhenry deleted the pikepdf branch September 4, 2026 06:03
@luhenry luhenry linked an issue Sep 4, 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.

pikepdf riscv64 support

1 participant