From e3753cbcc2f1987264cd40dced0605cfe626dc29 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 24 Aug 2025 00:26:17 -0400 Subject: [PATCH] python313Packages.sentence-transformers: disable hanging tests on darwin This should fix hydra timeouts, e.g. see: https://hydra.nixos.org/build/305929387 --- .../python-modules/sentence-transformers/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/sentence-transformers/default.nix b/pkgs/development/python-modules/sentence-transformers/default.nix index 178e75aae18d..0d1bb64536a9 100644 --- a/pkgs/development/python-modules/sentence-transformers/default.nix +++ b/pkgs/development/python-modules/sentence-transformers/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -108,6 +109,10 @@ buildPythonPackage rec { # NameError: name 'ParallelismConfig' is not defined "test_hf_argument_parser" "test_hf_argument_parser_incorrect_string_arguments" + ] + ++ lib.optionals (!stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ + # These sparse tests also time out, on x86_64-darwin. + "sim_sparse" ]; disabledTestPaths = [