Skip to content

Commit 578ed25

Browse files
committed
python312Packages.docling-core: add semchunk dependency
This also allows to enable tests back again. Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent 4f7ec25 commit 578ed25

File tree

1 file changed

+7
-3
lines changed
  • pkgs/development/python-modules/docling-core

1 file changed

+7
-3
lines changed

pkgs/development/python-modules/docling-core/default.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
pydantic,
1212
tabulate,
1313
pyyaml,
14+
semchunk,
1415
typing-extensions,
1516
transformers,
1617
typer,
@@ -46,7 +47,7 @@ buildPythonPackage rec {
4647
pyyaml
4748
typing-extensions
4849
transformers
49-
# semchunk
50+
semchunk
5051
typer
5152
latex2mathml
5253
];
@@ -59,14 +60,17 @@ buildPythonPackage rec {
5960
"docling_core"
6061
];
6162

62-
doCheck = false;
63-
6463
nativeCheckInputs = [
6564
jsondiff
6665
pytestCheckHook
6766
requests
6867
];
6968

69+
disabledTestPaths = [
70+
# attempts to download models
71+
"test/test_hybrid_chunker.py"
72+
];
73+
7074
meta = {
7175
changelog = "https://github.com/DS4SD/docling-core/blob/${src.tag}/CHANGELOG.md";
7276
description = "Python library to define and validate data types in Docling";

0 commit comments

Comments
 (0)