Debian Patches

Status for yarf/3.24.22+ds-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Set-project-version.patch Set project version Nadzeya Hutsko <nadzeya@debian.org> not-needed 2026-10-13
0002-Make-rapidocr-optional-falling-to-Tesseract.patch Make rapidocr optional falling to Tesseract
RapidOCR is not packaged in Debian. It runs PaddleOCR detection and
recognition models (ONNX weights), which first need to be checked
against Debian's policy for machine learning models.

rapidocr moves to a "rapidocr" extra in pyproject.toml, and the tests
mock the RapidOCR engine so they run without the package or its
models. A new test covers the Tesseract fallback.
Nadzeya Hutsko <nadzeya@debian.org> not-needed 2026-10-09
0003-Fail-when-cursor-detection-model-is-missing.patch Fail when cursor detection model is missing
The YOLO model behind "Find Cursor Position"
(yolo26_mouse_detector.onnx) is removed from the Debian source because
its training data and training scripts are not published. Without it,
onnxruntime fails with a low-level error when the keyword runs.

CursorDetector now checks for the model file and raises a
FileNotFoundError naming the keyword instead. The unit tests point the
detector at a placeholder model file, since the ONNX session is
mocked, and a new test covers the missing-model case.
Nadzeya Hutsko <nadzeya@debian.org> not-needed 2026-10-13

All known versions for source package 'yarf'

Links