From a21c84bc753dbb330dfbf8fa15ce414c658714dc Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 4 Feb 2022 18:26:41 -0800 Subject: [PATCH] python3Packages.nilearn: reduce test suite significantly Full test suite attempts to pull down web resources and can take 9+ hours with timeout periods --- pkgs/development/python-modules/nilearn/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/nilearn/default.nix b/pkgs/development/python-modules/nilearn/default.nix index c79ea52f558c..60e11ef1d12d 100644 --- a/pkgs/development/python-modules/nilearn/default.nix +++ b/pkgs/development/python-modules/nilearn/default.nix @@ -12,7 +12,8 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook ]; disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608 - pytestFlagsArray = [ "nilearn" ]; + # do subset of tests which don't fetch resources + pytestFlagsArray = [ "nilearn/connectome/tests" ]; propagatedBuildInputs = [ joblib