Commit b109774a authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

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

parent 3a122b21
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
{
  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";