Commit 671bb2a1 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

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.
parent 7d5856e1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.