From 671bb2a1523e573f441e8357855f9fa9d325f1b1 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sat, 18 Jan 2025 11:08:47 -0500 Subject: [PATCH] python3Packages.joblib: disable tests that assume strictatime mount The memory module of the library - and its tests - assume that atimes are updated on each access to a file. At least on Darwin, the default mount is without strictatime option for /private/tmp, which makes the tests fails when nix build is executed. --- pkgs/development/python-modules/joblib/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/joblib/default.nix b/pkgs/development/python-modules/joblib/default.nix index 0cd4182d4241..7b5154d905e9 100644 --- a/pkgs/development/python-modules/joblib/default.nix +++ b/pkgs/development/python-modules/joblib/default.nix @@ -50,6 +50,7 @@ buildPythonPackage rec { "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests "test_nested_parallel_warnings" # tests is flaky under load + "test_memory" # tests - and the module itself - assume strictatime mount for build directory ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin.