Repository navigation
chore: update locked docling dependencies - #4985
docling-ops[bot] wants to merge 4 commits into
Conversation
Signed-off-by: docling-ops[bot] <203151778+docling-ops[bot]@users.noreply.github.com>
|
✅ DCO Check Passed Thanks @docling-ops[bot], all your commits are properly signed off. 🎉 |
Merge Protections🔴 1 of 2 protections blocking · waiting on 👀 reviews
🔴 Require two reviewer for test updatesWaiting for
This rule is failing.When test data is updated, we require two reviewers
Show 1 satisfied protection🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
The Markdown backend sends documents with raw HTML blocks through the HTML backend. It stored each block as a code item between markers and removed the markers after HTML serialization. docling-core 2.104.0 escapes code text in the HTML serializer, so the blocks reached the HTML backend as escaped text: `<div>note</div>` became the text `<div>note</div>`, and pictures inside HTML blocks were lost. Keep the raw blocks in a list and store only a numbered placeholder in the code item. After serialization, replace each placeholder with its original block. This does not depend on how the serializer escapes code. Regenerate the Markdown reference files that the escaped blocks changed. Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Fix and reference data changeseec1b26 fixes the 4 failing core tests. docling-core 2.104.0 escapes code text in the HTML serializer (docling-project/docling-core#894). The Markdown backend stored raw HTML blocks as code items and relied on unescaped output, so Reference data changes in this PR, by cause:
Tests: the Markdown, HTML, DocLang and input tests pass locally (269 passed). A full local core regeneration with |
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> # Conflicts: # docling/backend/md_backend.py
…pping on Python 3.10 Pillow 13 moved the WMF stub handler from the module to WmfStubImageFile and needs Python >= 3.11, so the lock resolves Pillow 12 on Python 3.10. Clear the handler in both places so that the EMF tests run with every supported Pillow version, instead of skipping them on Python 3.10. Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
51c4538 to
f1007b0
Compare
Automated update of the locked Docling dependencies.
Versions
docling-coredocling-parseReference data regeneration
DOCLING_GEN_TEST_DATA=1asrcoreocrpdf-modelvlmChanged reference files:
Review the reference data changes before you merge. A
failedsuiteneeds a code fix on this branch. The nightly job stops updating this
branch once it has commits from other authors.
Generated by this run.