DS4SD / docling

Get your documents ready for gen AI
https://ds4sd.github.io/docling
MIT License
10.48k stars 507 forks source link

fix: force pydantic < 2.10.0 #407

Closed dolfim-ibm closed 6 hours ago

dolfim-ibm commented 1 day ago

It seems the new Pydantic 2.10.0 release (16h ago).

Downgrading Pydantic works, and it seems the approach taken by many libraries. See https://github.com/run-llama/llama_index/issues/17016.

Issue resolved by this Pull Request: Resolves #406

Checklist:

mergify[bot] commented 1 day ago

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded. Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/ - [X] `title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:`
vagenas commented 1 day ago

IMO best addressed on docling-core level: https://github.com/DS4SD/docling-core/pull/70

As soon as docling-core is patched (underway):