Conversation
luhenry
added a commit
that referenced
this pull request
Sep 12, 2026
luhenry
force-pushed
the
tesserocr
branch
2 times, most recently
from
September 12, 2026 13:38
2d4995a to
3759ec6
Compare
luhenry
added a commit
that referenced
this pull request
Sep 12, 2026
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Az13NcXsVZzzxXmaxxUEy7
pypi.riseproject.dev has never published a musllinux_riscv64 Pillow
wheel (manylinux_riscv64 only, plus a legacy untagged linux_riscv64
wheel for cp39-cp312 that pip happens to accept on musl too), so
PIP_ONLY_BINARY=cysignals,Pillow made cp313/cp314/cp314t-musllinux
fail outright installing the test-only Pillow dependency ("Could not
find a version that satisfies the requirement Pillow (from versions:
none)"). Drop Pillow from PIP_ONLY_BINARY so pip falls back to its
sdist there; the jpeg/png/tiff/webp/zlib -dev packages already
installed earlier in the same container for leptonica/tesseract cover
what Pillow's setup.py auto-detects and needs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tesserocr2.11.0Cython wrapper around the tesseract OCR engine and the leptonica image library. Upstream publishes no riscv64 wheel.
Mirrors upstream's own
build.yml.Differs from upstream
before-all- needed for the packaged suite to actually run OCRTesting
License: Wheel bundles libleptonica (BSD-2-Clause) and libtesseract (Apache-2.0); their licence texts are added since upstream's own package ships neither.
Patches
0001-package-the-leptonica-and-tesseract-licences-with-t.patch- Inappropriate [riscv64-specific build dependency]. Adds both licence texts so setuptools' default glob bundles them; reproduces off riscv64 too.Built on cp312; results pending first CI run.