python313Packages.sentence-transformers: disable hanging tests on darwin

This should fix hydra timeouts, e.g. see:
https://hydra.nixos.org/build/305929387
This commit is contained in:
Ihar Hrachyshka
2025-08-31 22:35:49 -04:00
parent dc3d8f4907
commit e3753cbcc2
@@ -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 = [