diff --git a/pkgs/development/python-modules/docling-core/default.nix b/pkgs/development/python-modules/docling-core/default.nix index e19e098dcbde..48d380bf8c01 100644 --- a/pkgs/development/python-modules/docling-core/default.nix +++ b/pkgs/development/python-modules/docling-core/default.nix @@ -8,6 +8,7 @@ setuptools, # dependencies + defusedxml, jsonref, jsonschema, latex2mathml, @@ -31,14 +32,14 @@ buildPythonPackage (finalAttrs: { pname = "docling-core"; - version = "2.64.0"; + version = "2.70.2"; pyproject = true; src = fetchFromGitHub { owner = "docling-project"; repo = "docling-core"; tag = "v${finalAttrs.version}"; - hash = "sha256-22UJuHKUKyaIXcFOJvBWZibxBpibENZqVVFmZalWGx0="; + hash = "sha256-YRvvizPwc3sJ6FgZfhadixDayMIGS1zTo+bnHBS7FMg="; }; build-system = [ @@ -46,7 +47,13 @@ buildPythonPackage (finalAttrs: { setuptools ]; + pythonRelaxDeps = [ + "defusedxml" + "pillow" + "typer" + ]; dependencies = [ + defusedxml jsonref jsonschema latex2mathml @@ -62,14 +69,7 @@ buildPythonPackage (finalAttrs: { typing-extensions ]; - pythonRelaxDeps = [ - "pillow" - "typer" - ]; - - pythonImportsCheck = [ - "docling_core" - ]; + pythonImportsCheck = [ "docling_core" ]; nativeCheckInputs = [ gitpython @@ -83,6 +83,7 @@ buildPythonPackage (finalAttrs: { "test/test_code_chunker.py" "test/test_code_chunking_strategy.py" "test/test_hybrid_chunker.py" + "test/test_line_chunker.py" ]; meta = {