Skip to content

Upgrade to docling-rs v2 - #618

Open
ppinchuk wants to merge 7 commits into
mainfrom
pp/docling-rs-2x
Open

ppinchuk wants to merge 7 commits into
mainfrom
pp/docling-rs-2x

Conversation

@ppinchuk

Copy link
Copy Markdown
Collaborator

Docling rs team is on a sprint and already has a v2 out. Update to the newest dep for this PR.

@ppinchuk ppinchuk self-assigned this Nov 24, 2026
@ppinchuk
ppinchuk requested a review from castelao as a code owner November 24, 2026 03:19
@ppinchuk ppinchuk added enhancement Update to logic or general code improvements dependencies Issues/pull requests related to a dependency labels Nov 24, 2026
Copilot AI balanced review requested due to automatic review settings November 24, 2026 03:19
@ppinchuk ppinchuk added the p-medium Priority: medium label Nov 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The major native-parser upgrade leaves adapter usage unchanged, but conversion/OCR compatibility and Intel macOS source-build/ONNX-linking CI results are unavailable for verification.

No open issues 🎉

What changed in this PR

Upgrades COMPASS’s Docling document-loading dependencies to docling-rs v2, aligning package requirements, development environments, CI, and installation guidance.

Changes:

  • Raises minimum versions to docling-rs 2.86.14 and docling-core 2.108.0.
  • Refreshes locked dependencies, including doclang 0.10.1.
  • Updates CI installation commands, documentation, and missing-dependency guidance.
File Description
tox.ini Updates standard and minimum-version test dependencies.
pyproject.toml Raises package requirements while preserving macOS exclusions.
pixi.toml Aligns Linux and Windows dependency requirements.
pixi.lock Refreshes resolved Docling packages and dependency metadata.
docs/​source/​misc/​INSTALL.rst Updates pip and Pixi installation instructions.
compass/​services/​docling.py Updates installation advice in the import error message.
.github/​workflows/​ci-python.yml Uses upgraded dependencies in unit, integration, and backend checks.

Review effort: Balanced

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.90%. Comparing base (28d015c) to head (a20dcd2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #618   +/-   ##
=======================================
  Coverage   76.90%   76.90%           
=======================================
  Files          85       85           
  Lines        9871     9871           
  Branches     1086     1086           
=======================================
  Hits         7591     7591           
  Misses       2070     2070           
  Partials      210      210           
Flag Coverage Δ
unittests 76.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch was previously deployed

2 inactive deployments
pypi — a20dcd2e Deployed Nov 24, 2026 by ppinchuk via Build, check, and optionally upload wheels #563
codecov — a20dcd2e Deployed Nov 24, 2026 by ppinchuk via Codecov #729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issues/pull requests related to a dependency enhancement Update to logic or general code improvements p-medium Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants