Skip to content

docvortex: Add version 0.6.11 - #4395

Merged
luhenry merged 4 commits into
mainfrom
docvortex
Nov 5, 2026
Merged

luhenry merged 4 commits into
mainfrom
docvortex

Conversation

@luhenry

@luhenry luhenry commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

PyO3/setuptools-rust abi3 extension for multi-format document parsing and conversion. Upstream publishes no riscv64 wheel.

Mirrors upstream's native-wheels.yml.

Differs from upstream

  • Dropped musllinux - upstream itself skips it (CIBW_SKIP: '*-musllinux_*')
  • No cp314t job - upstream's setup.py raises under free-threaded CPython

Matrix: cp311-abi3 only - upstream builds one abi3 wheel (py_limited_api=cp311) per platform, not a per-interpreter matrix.

Testing

  • same as upstream

License: OK

docvortex is a pure pyo3/setuptools-rust abi3-py311 extension with no vendored
binaries or GPU dependencies; all runtime/test deps already resolve riscv64
wheels on PyPI or pypi.riseproject.dev. Upstream ships no sdist and disables
free-threaded builds itself, so this mirrors its own native-wheels.yml:
one cp311-abi3 manylinux_riscv64 build, no musllinux, no cp*t job.
luhenry added a commit that referenced this pull request Nov 3, 2026
Pure pyo3/setuptools-rust abi3-py311 extension with no vendored binaries,
GPU/CUDA or GPL code; all runtime/test deps already resolve riscv64 wheels.
Port opened as PR #4395 and is building on the riscv64 runner.
The build succeeded but the pre-test install of the cp311-abi3 wheel
failed under cp311:

    ERROR: No matching distribution found for onnxruntime<2,>=1.24.4

onnxruntime has no riscv64 wheel on PyPI, and pypi.riseproject.dev only
carries cp312/cp313/cp314 builds. Keep cp311 as the build interpreter
(gotcha 96), add cp312 so cibuildwheel reuses and tests the same abi3
wheel there, and skip only the cp311 test (gotcha 216). A dry-run
resolve of the full dependency set for cp312 manylinux riscv64 finds
binary wheels for everything (onnxruntime 1.31.0, numpy 2.4.3, pillow
12.3.0, pydantic_core, lxml, protobuf, rl_accel, ...).
The cp311-abi3 wheel built, but installing it on cp312 before the tests
failed: pip picked pillow 13.0.0, which has no riscv64 wheel on PyPI, and
its source build stopped on missing libjpeg headers. numpy went the same
way (2.5.4 sdist built from source). pypi.riseproject.dev hosts cp312
riscv64 wheels for pillow 12.3.0 and numpy 2.4.3, both of which satisfy
docvortex's requirements; PIP_PREFER_BINARY lets pip take them.
Upstream's golden fixtures were generated with pypdfium2 5.13.0, which
bundles PDFium 153.0.7999 on every platform except riscv64, where the
PyPI wheel is a source build of PDFium 151.0.7913. That older PDFium
returns StemV-derived font weights (250/440 instead of 400), failing
test_real_font_and_geometry_bridge_parity[caibao1] and [demo2].

pypdfium2 5.14.0's riscv64 wheel bundles PDFium 156.0.8076, which
reproduces the golden font weights, and the full upstream test list
passes with it on x86_64.
@luhenry
luhenry marked this pull request as ready for review November 4, 2026 19:41
@luhenry
luhenry merged commit 674c8a6 into main Nov 5, 2026
6 checks passed
@luhenry
luhenry deleted the docvortex branch November 5, 2026 01:59
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