about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorConnor Baker <connorbaker01@gmail.com>2024-05-26 14:50:31 -0400
committerConnor Baker <connorbaker01@gmail.com>2024-05-26 21:42:03 -0400
commit7568ee06c9f8db787588c2168895301a5db4cded (patch)
tree6f6438b88f8c513ea7e81c0d4a2076460ca8e8c9 /pkgs
parentb1c46e1d2e20ba001be75dd197ad3adbe19b89d2 (diff)
python3Packages.apricot-select: disable tests by default
They can run for hours on Hydra: https://hydra.nixos.org/build/261011861
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/apricot-select/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/apricot-select/default.nix b/pkgs/development/python-modules/apricot-select/default.nix
index 4b735ec1c98e4..f05e9b8e5e95f 100644
--- a/pkgs/development/python-modules/apricot-select/default.nix
+++ b/pkgs/development/python-modules/apricot-select/default.nix
@@ -2,6 +2,7 @@
   lib,
   buildPythonPackage,
   fetchFromGitHub,
+  apricot-select,
   numba,
   numpy,
   pynose,
@@ -66,6 +67,11 @@ buildPythonPackage rec {
     "test_digits_sqrt_modular_sparse"
   ];
 
+  # NOTE: Tests are disabled by default because they can run for hours and timeout on Hydra.
+  doCheck = false;
+
+  passthru.tests.check = apricot-select.overridePythonAttrs { doCheck = true; };
+
   meta = with lib; {
     description = "Module for submodular optimization for the purpose of selecting subsets of massive data sets";
     homepage = "https://github.com/jmschrei/apricot";