Repository navigation
Conversation
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.
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.
docvortex0.6.11PyO3/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
CIBW_SKIP: '*-musllinux_*')cp314tjob - upstream'ssetup.pyraises under free-threaded CPythonMatrix: cp311-abi3 only - upstream builds one abi3 wheel (
py_limited_api=cp311) per platform, not a per-interpreter matrix.Testing
License: OK