From 8afa2ba0e96f4aa5c894af21256b27a5c93cf820 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 3 May 2025 15:51:44 -0700 Subject: [PATCH] python3Packages.deepdiff: disable test on darwin that times out in Hydra --- .../python-modules/deepdiff/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/deepdiff/default.nix b/pkgs/development/python-modules/deepdiff/default.nix index c8a341dab571..a4bcc20e3041 100644 --- a/pkgs/development/python-modules/deepdiff/default.nix +++ b/pkgs/development/python-modules/deepdiff/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + stdenv, # build-system setuptools, @@ -19,7 +20,6 @@ numpy, pytestCheckHook, python-dateutil, - toml, tomli-w, polars, pandas, @@ -65,14 +65,19 @@ buildPythonPackage rec { pandas ] ++ lib.flatten (lib.attrValues optional-dependencies); - disabledTests = [ - # not compatible with pydantic 2.x - "test_pydantic1" - "test_pydantic2" - # Require pytest-benchmark - "test_cache_deeply_nested_a1" - "test_lfu" - ]; + disabledTests = + [ + # not compatible with pydantic 2.x + "test_pydantic1" + "test_pydantic2" + # Require pytest-benchmark + "test_cache_deeply_nested_a1" + "test_lfu" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Times out on darwin in Hydra + "test_repeated_timer" + ]; pythonImportsCheck = [ "deepdiff" ];