From 5cf7a4f4a701909639f2b77feeb33f89316c293f Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Mon, 3 Feb 2025 09:41:49 +0100 Subject: [PATCH] update with docling-core release Signed-off-by: Michele Dolfi --- poetry.lock | 40 ++++++++++++++++++---------------------- pyproject.toml | 2 +- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/poetry.lock b/poetry.lock index f9dee268..04e4e007 100644 --- a/poetry.lock +++ b/poetry.lock @@ -861,36 +861,32 @@ files = [ [[package]] name = "docling-core" -version = "2.16.1" +version = "2.17.0" description = "A python library to define and validate data types in Docling." optional = false -python-versions = "^3.9" -files = [] -develop = false +python-versions = "<4.0,>=3.9" +files = [ + {file = "docling_core-2.17.0-py3-none-any.whl", hash = "sha256:5c3015e0eed8e939069bdfd566761dc9f39239647893ae42c53d1333dd0a4749"}, + {file = "docling_core-2.17.0.tar.gz", hash = "sha256:cfcba8d173730baf244f279369f68e3cb5ddc7680769841afd254b61e432133e"}, +] [package.dependencies] -jsonref = "^1.1.0" -jsonschema = "^4.16.0" -latex2mathml = "^3.77.0" -pandas = "^2.1.4" -pillow = "^10.3.0" -pydantic = ">=2.6.0,<3.0.0,!=2.10.0,!=2.10.1,!=2.10.2" +jsonref = ">=1.1.0,<2.0.0" +jsonschema = ">=4.16.0,<5.0.0" +latex2mathml = ">=3.77.0,<4.0.0" +pandas = ">=2.1.4,<3.0.0" +pillow = ">=10.3.0,<11.0.0" +pydantic = ">=2.6.0,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<3.0.0" pyyaml = ">=5.1,<7.0.0" -semchunk = {version = "^2.2.0", optional = true} -tabulate = "^0.9.0" -transformers = {version = "^4.34.0", optional = true} -typer = "^0.12.5" -typing-extensions = "^4.12.2" +semchunk = {version = ">=2.2.0,<3.0.0", optional = true, markers = "extra == \"chunking\""} +tabulate = ">=0.9.0,<0.10.0" +transformers = {version = ">=4.34.0,<5.0.0", optional = true, markers = "extra == \"chunking\""} +typer = ">=0.12.5,<0.13.0" +typing-extensions = ">=4.12.2,<5.0.0" [package.extras] chunking = ["semchunk (>=2.2.0,<3.0.0)", "transformers (>=4.34.0,<5.0.0)"] -[package.source] -type = "git" -url = "https://github.com/DS4SD/docling-core" -reference = "feat-formula-as-img" -resolved_reference = "65519b08ca1301d783097a6d70186ebd4be9561a" - [[package]] name = "docling-ibm-models" version = "3.3.0" @@ -7841,4 +7837,4 @@ tesserocr = ["tesserocr"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "f90b6e8c1654f62ddbc3efd702176c9a39f0b8c48e3addd4c887e6395eda095f" +content-hash = "907c7cef6722358ac30193f07f9cc15684daf1b75b6c400104e87f3b22137632" diff --git a/pyproject.toml b/pyproject.toml index 34df62e4..d12b70e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ packages = [{include = "docling"}] ###################### python = "^3.9" pydantic = "^2.0.0" -docling-core = {git = "https://github.com/DS4SD/docling-core", rev = "feat-formula-as-img", extras = ["chunking"]} +docling-core = {extras = ["chunking"], version = "^2.17.0"} docling-ibm-models = "^3.3.0" deepsearch-glm = "^1.0.0" docling-parse = "^3.1.0"