Skip to content

pyrxing: Add version 0.8.0 - #3367

Merged
riseproject-dev[bot] merged 2 commits into
mainfrom
pyrxing
Oct 26, 2026
Merged

riseproject-dev[bot] merged 2 commits into
mainfrom
pyrxing

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Compiles a PyO3 extension binding the real zxing-cpp C++ barcode/QR core (via the Rust zxing-cpp crate's bundled feature) through a pure-Rust reader_core crate. Upstream publishes no riscv64 wheel.

Mirrors the linux job of upstream's own build.yml.

Differs from upstream

  • yum install -y cmake before the build - the manylinux riscv64 image has no cmake, needed by the bundled zxing-cpp C++ build.

Testing

  • Decodes upstream's own assets/test_qr_code.png test image.

License: OK

tanagumo/pyrxing is a PyO3/maturin barcode/QR reader binding the real
zxing-cpp C++ core (via the Rust zxing-cpp crate's "bundled" feature,
compiling the same v3.1.1 sources this repo already builds for the
zxing-cpp package) through a pure-Rust reader_core crate. Ships
manylinux/musllinux (x86_64/aarch64), macOS and Windows wheels for
cp311-cp314 but no riscv64. Mirrors the `linux` job of upstream's own
build.yml, narrowed to riscv64, installing cmake before the build the
same way the bundled C++ library needs it anywhere else.
luhenry added a commit that referenced this pull request Oct 15, 2026
@luhenry
luhenry marked this pull request as draft October 16, 2026 00:05
uv pip install pillow resolved the newest PyPI Pillow release, which has
no riscv64 wheel anywhere, so uv source-built it against missing
libjpeg headers on the bare runner (gotcha 210). Point at our own
registry and pass --only-binary pillow so uv falls back to the newest
Pillow release our registry has a riscv64 wheel for, mirroring
build-modern-colorthief.yml's Test step.
@riseproject-dev
riseproject-dev Bot marked this pull request as ready for review October 26, 2026 14:54
@riseproject-dev
riseproject-dev Bot merged commit 91bb25b into main Oct 26, 2026
9 checks passed
@riseproject-dev
riseproject-dev Bot deleted the pyrxing branch October 26, 2026 14:54
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