fixup! removes pytest-runner dependency from setup.py

This commit is contained in:
Matej Urbas 2021-01-17 15:26:33 +00:00
parent 70b54ac1cd
commit 8efbb2791d

View File

@ -1,6 +1,5 @@
{ lib , buildPythonPackage, fetchFromGitHub, isPy27 { lib , buildPythonPackage, fetchFromGitHub, isPy27
, falcon , falcon
, pytestrunner
, requests , requests
, pytestCheckHook , pytestCheckHook
, marshmallow , marshmallow
@ -22,7 +21,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ falcon requests ]; propagatedBuildInputs = [ falcon requests ];
checkInputs = [ mock marshmallow pytestCheckHook pytestrunner numpy ]; checkInputs = [ mock marshmallow pytestCheckHook numpy ];
postPatch = ''
substituteInPlace setup.py --replace '"pytest-runner"' ""
'';
preCheck = '' preCheck = ''
# some tests need the `hug` CLI on the PATH # some tests need the `hug` CLI on the PATH