python.pkgs.pytest_3: keep older version

because not all test suites are compatible with 4 yet.
This commit is contained in:
Frederik Rietdijk
2019-02-14 11:07:19 +01:00
parent b4acd97729
commit b3febfb850
5 changed files with 63 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, pytest_3
, setuptools_scm
, apipkg
}:
@@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "a7a84d5fa07a089186a329528f127c9d73b9de57f1a1131b82bb5320ee651f6a";
};
checkInputs = [ pytest ];
checkInputs = [ pytest_3 ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ apipkg ];
@@ -31,6 +31,9 @@ buildPythonPackage rec {
py.test testing
'';
# not yet compatible with pytest 4
doCheck = false;
__darwinAllowLocalNetworking = true;
meta = with stdenv.lib; {