treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
This commit is contained in:
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
checkInputs = [ mock ];
|
||||
nativeCheckInputs = [ mock ];
|
||||
|
||||
meta = {
|
||||
description = "Code coverage measurement for python";
|
||||
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
sortedcontainers
|
||||
] ++ lib.optional (!isPy3k) enum34;
|
||||
|
||||
checkInputs = [ pytest pytest-xdist flaky mock pexpect ];
|
||||
nativeCheckInputs = [ pytest pytest-xdist flaky mock pexpect ];
|
||||
inherit doCheck;
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
sha256 = "a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
nativeCheckInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ markupsafe setuptools ];
|
||||
|
||||
# Multiple tests run out of stack space on 32bit systems with python2.
|
||||
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
#doCheck = !(python.isPyPy && python.isPy27);
|
||||
doCheck = false; # Infinite recursion pytest
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
pytest
|
||||
];
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
nativeCheckInputs = [ nose ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# iterable = range(10 ** 10) # Is efficiently reversible
|
||||
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ pyparsing six ];
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pretend
|
||||
];
|
||||
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
# to force it a little.
|
||||
pipInstallFlags = [ "--ignore-installed" ];
|
||||
|
||||
checkInputs = [ mock scripttest virtualenv pretend pytest ];
|
||||
nativeCheckInputs = [ mock scripttest virtualenv pretend pytest ];
|
||||
# Pip wants pytest, but tests are not distributed
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ let
|
||||
|
||||
# circular dependencies if enabled by default
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
jinja2
|
||||
railroad-diagrams
|
||||
];
|
||||
|
||||
@@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm pytest ];
|
||||
checkInputs = [ pytest filelock ];
|
||||
nativeCheckInputs = [ pytest filelock ];
|
||||
propagatedBuildInputs = [ execnet pytest-forked psutil six ];
|
||||
|
||||
# Encountered a memory leak
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
--replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0"
|
||||
'';
|
||||
|
||||
checkInputs = [ hypothesis mock ];
|
||||
nativeCheckInputs = [ hypothesis mock ];
|
||||
buildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
|
||||
++ lib.optionals (!isPy3k) [ funcsigs ]
|
||||
|
||||
@@ -20,7 +20,7 @@ in buildPythonPackage rec {
|
||||
# Also, don't bother on PyPy: AssertionError: TypeError not raised
|
||||
doCheck = pythonOlder "3.6" && !isPyPy;
|
||||
|
||||
checkInputs = [ unittestCheckHook ];
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
unittestFlagsArray = [ "-s" testDir ];
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ more-itertools ];
|
||||
|
||||
checkInputs = [ pytest pytest-flake8 ];
|
||||
nativeCheckInputs = [ pytest pytest-flake8 ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
|
||||
Reference in New Issue
Block a user