From e1be7722b39258c20031f259ab83085cd2228edc Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 22 Mar 2026 18:11:37 +0000 Subject: [PATCH] python3Packages.docling-core: 2.64.0 -> 2.70.2 Diff: https://github.com/docling-project/docling-core/compare/v2.64.0...v2.70.2 Changelog: https://github.com/docling-project/docling-core/blob/v2.70.2/CHANGELOG.md --- .../python-modules/docling-core/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) 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 = {