From 2dabd051a7a910d94bc2a9819dcf0719802056dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maret?= Date: Wed, 17 Jul 2019 12:21:29 +0200 Subject: [PATCH] pythonPackages.pytest-arraydiff: fix infinite recursion --- .../python-modules/pytest-arraydiff/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pytest-arraydiff/default.nix b/pkgs/development/python-modules/pytest-arraydiff/default.nix index 4a59e22d136..e01d26b530e 100644 --- a/pkgs/development/python-modules/pytest-arraydiff/default.nix +++ b/pkgs/development/python-modules/pytest-arraydiff/default.nix @@ -22,14 +22,10 @@ buildPythonPackage rec { pytest ]; - checkInputs = [ - pytest - astropy - ]; - - checkPhase = '' - pytest - ''; + # The tests requires astropy, which itself requires + # pytest-arraydiff. This causes an infinite recursion if the tests + # are enabled. + doCheck = false; meta = with lib; { description = "Pytest plugin to help with comparing array output from tests";