python312Packages.docling-ibm-models: skip failing tests on darwin
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user