Skip to content

kreuzberg: Add version 4.10.2 - #2681

Merged
luhenry merged 4 commits into
mainfrom
kreuzberg
Oct 5, 2026
Merged

luhenry merged 4 commits into
mainfrom
kreuzberg

Conversation

@luhenry

@luhenry luhenry commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Compiles the PyO3/maturin abi3 extension (Rust core with tesseract/leptonica built from source, embedded PDFium, dynamically linked ONNX Runtime). Upstream publishes no riscv64 wheel.

Mirrors upstream's publish.yaml python-wheels job.

Differs from upstream

  • PDFium chromium/7678 cross-built from bblanchon/pdfium-binaries' recipe - it ships no linux-riscv64 asset.
  • ONNX Runtime 1.30.0 library taken from our riscv64 onnxruntime wheel - Microsoft ships no riscv64 archive.
  • Dropped the C23 glibc-symbol check - irrelevant at the manylinux_2_39 floor.

Testing

  • Upstream's smoke test, plus the packages/python/tests binding suite.

License: Wheel bundles PDFium and its third-party components (BSD-3-Clause and others), tesseract (Apache-2.0), leptonica (BSD-2-Clause) and ONNX Runtime (MIT); upstream ships no licence text for them, so the build adds it.

Patches

  • 0001-skia-accept-riscv64-target-cpu.patch - To upstream; PDFium's skia/BUILD.gn asserts on riscv64 during gn gen. riscv64-only.

luhenry added a commit that referenced this pull request Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-05 10:02 UTC

The image's /usr/bin/python3 ships without pip.
test_cli_server.py imports it at module level; it is part of upstream's
dev dependency group.
They drive the standalone kreuzberg-cli binary, which upstream builds
separately and does not ship in any wheel; upstream's pytest marker
documents deselecting them.
@luhenry
luhenry marked this pull request as ready for review October 4, 2026 05:38
@luhenry
luhenry merged commit 511baf8 into main Oct 5, 2026
10 checks passed
@luhenry
luhenry deleted the kreuzberg branch October 5, 2026 08:20
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