From 5f8d76a205d7474ab75ec3d68c1e171d4ee1ae19 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 2 Apr 2025 10:20:26 +0200 Subject: [PATCH] python312Packages.botorch: skip tests that take too much time --- .../python-modules/botorch/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/botorch/default.nix b/pkgs/development/python-modules/botorch/default.nix index a36e88faa5d0..050869aafb23 100644 --- a/pkgs/development/python-modules/botorch/default.nix +++ b/pkgs/development/python-modules/botorch/default.nix @@ -43,16 +43,18 @@ buildPythonPackage rec { torch ]; - nativeCheckInputs = [ pytestCheckHook ]; - - pytestFlagsArray = [ - # tests tend to get stuck on busy hosts, increase verbosity to find out - # which specific tests get stuck - "-vvv" + nativeCheckInputs = [ + pytestCheckHook ]; disabledTests = - [ "test_all_cases_covered" ] + [ + "test_all_cases_covered" + + # Skip tests that take too much time + "TestQMultiObjectivePredictiveEntropySearch" + "TestQPredictiveEntropySearch" + ] ++ lib.optionals (pythonAtLeast "3.13") [ # RuntimeError: Boolean value of Tensor with more than one value is ambiguous "test_optimize_acqf_mixed_binary_only"