From 1142380b3f20ab82558f2e5a6279749906adbe8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 16 Aug 2022 06:02:47 +0200 Subject: [PATCH] python3.pkgs.pymanopt: add pre and post check --- pkgs/development/python-modules/pymanopt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pymanopt/default.nix b/pkgs/development/python-modules/pymanopt/default.nix index 55d56b1f62d3..f04357596852 100644 --- a/pkgs/development/python-modules/pymanopt/default.nix +++ b/pkgs/development/python-modules/pymanopt/default.nix @@ -25,6 +25,7 @@ buildPythonPackage rec { checkInputs = [ nose2 autograd matplotlib tensorflow ]; checkPhase = '' + runHook preCheck # FIXME: Some numpy regression? # Traceback (most recent call last): # File "/build/source/tests/manifolds/test_hyperbolic.py", line 270, in test_second_order_function_approximation @@ -35,6 +36,7 @@ buildPythonPackage rec { rm tests/manifolds/test_hyperbolic.py nose2 tests -v + runHook postCheck ''; pythonImportsCheck = [ "pymanopt" ];