From 8efbb2791d0d453a2145d421a42c97f835c2044d Mon Sep 17 00:00:00 2001 From: Matej Urbas Date: Sun, 17 Jan 2021 15:26:33 +0000 Subject: [PATCH] fixup! removes pytest-runner dependency from setup.py --- pkgs/development/python-modules/hug/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hug/default.nix b/pkgs/development/python-modules/hug/default.nix index 839c0ce387c..872798c6ced 100644 --- a/pkgs/development/python-modules/hug/default.nix +++ b/pkgs/development/python-modules/hug/default.nix @@ -1,6 +1,5 @@ { lib , buildPythonPackage, fetchFromGitHub, isPy27 , falcon -, pytestrunner , requests , pytestCheckHook , marshmallow @@ -22,7 +21,11 @@ buildPythonPackage rec { propagatedBuildInputs = [ falcon requests ]; - checkInputs = [ mock marshmallow pytestCheckHook pytestrunner numpy ]; + checkInputs = [ mock marshmallow pytestCheckHook numpy ]; + + postPatch = '' + substituteInPlace setup.py --replace '"pytest-runner"' "" + ''; preCheck = '' # some tests need the `hug` CLI on the PATH