python312Packages.docling-ibm-models: skip failing tests on darwin

This commit is contained in:
Gaetan Lepage
2025-03-24 23:01:24 +01:00
parent 3a122b21d8
commit b109774a10
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -82,6 +83,12 @@ buildPythonPackage rec {
"test_tf_predictor"
];
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
"tests/test_code_formula_predictor.py"
"tests/test_layout_predictor.py"
];
meta = {
changelog = "https://github.com/DS4SD/docling-ibm-models/blob/${src.tag}/CHANGELOG.md";
description = "Docling IBM models";