Gaetan Lepage
2026-03-22 18:11:37 +00:00
parent f1dc23578e
commit e1be7722b3
@@ -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 = {