diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-21 12:00:00 +0000 |
commit | 33afbf39f6f2a6b37e99f070ba7d17a28c416d02 (patch) | |
tree | 6431c14751da2ff638abc06b1c8e11f99315f2c3 /pkgs/development/python2-modules | |
parent | 25193e2732e178f701f517ca15ff802f03b29933 (diff) | |
download | nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.gz nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.bz2 nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.lz nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.xz nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.tar.zst nixlib-33afbf39f6f2a6b37e99f070ba7d17a28c416d02.zip |
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.
Diffstat (limited to 'pkgs/development/python2-modules')
12 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/development/python2-modules/coverage/default.nix b/pkgs/development/python2-modules/coverage/default.nix index f93d32d392f7..94da2f4c7b43 100644 --- a/pkgs/development/python2-modules/coverage/default.nix +++ b/pkgs/development/python2-modules/coverage/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { # No tests in archive doCheck = false; - checkInputs = [ mock ]; + nativeCheckInputs = [ mock ]; meta = { description = "Code coverage measurement for python"; diff --git a/pkgs/development/python2-modules/hypothesis/default.nix b/pkgs/development/python2-modules/hypothesis/default.nix index 47bc8860bc54..f1eb403d8109 100644 --- a/pkgs/development/python2-modules/hypothesis/default.nix +++ b/pkgs/development/python2-modules/hypothesis/default.nix @@ -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 = '' diff --git a/pkgs/development/python2-modules/jinja2/default.nix b/pkgs/development/python2-modules/jinja2/default.nix index 0be970d49946..3b593338763f 100644 --- a/pkgs/development/python2-modules/jinja2/default.nix +++ b/pkgs/development/python2-modules/jinja2/default.nix @@ -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. diff --git a/pkgs/development/python2-modules/mock/default.nix b/pkgs/development/python2-modules/mock/default.nix index f30c407e6f5a..a343acfffaa1 100644 --- a/pkgs/development/python2-modules/mock/default.nix +++ b/pkgs/development/python2-modules/mock/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { #doCheck = !(python.isPyPy && python.isPy27); doCheck = false; # Infinite recursion pytest - checkInputs = [ + nativeCheckInputs = [ unittestCheckHook pytest ]; diff --git a/pkgs/development/python2-modules/more-itertools/default.nix b/pkgs/development/python2-modules/more-itertools/default.nix index f9a6ac732e2e..615b1d00d204 100644 --- a/pkgs/development/python2-modules/more-itertools/default.nix +++ b/pkgs/development/python2-modules/more-itertools/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4"; }; - checkInputs = [ nose ]; + nativeCheckInputs = [ nose ]; propagatedBuildInputs = [ six ]; # iterable = range(10 ** 10) # Is efficiently reversible diff --git a/pkgs/development/python2-modules/packaging/default.nix b/pkgs/development/python2-modules/packaging/default.nix index 0f9e61859a16..61f0ed3a7303 100644 --- a/pkgs/development/python2-modules/packaging/default.nix +++ b/pkgs/development/python2-modules/packaging/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ pyparsing six ]; - checkInputs = [ + nativeCheckInputs = [ pytestCheckHook pretend ]; diff --git a/pkgs/development/python2-modules/pip/default.nix b/pkgs/development/python2-modules/pip/default.nix index e3666d6a7961..ba78377f5943 100644 --- a/pkgs/development/python2-modules/pip/default.nix +++ b/pkgs/development/python2-modules/pip/default.nix @@ -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; diff --git a/pkgs/development/python2-modules/pyparsing/default.nix b/pkgs/development/python2-modules/pyparsing/default.nix index d51032a154af..5b61dc0c85b5 100644 --- a/pkgs/development/python2-modules/pyparsing/default.nix +++ b/pkgs/development/python2-modules/pyparsing/default.nix @@ -22,7 +22,7 @@ let # circular dependencies if enabled by default doCheck = false; - checkInputs = [ + nativeCheckInputs = [ jinja2 railroad-diagrams ]; diff --git a/pkgs/development/python2-modules/pytest-xdist/default.nix b/pkgs/development/python2-modules/pytest-xdist/default.nix index 466d86f50f78..5da424a0c302 100644 --- a/pkgs/development/python2-modules/pytest-xdist/default.nix +++ b/pkgs/development/python2-modules/pytest-xdist/default.nix @@ -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 diff --git a/pkgs/development/python2-modules/pytest/default.nix b/pkgs/development/python2-modules/pytest/default.nix index 0a0ae571ba01..0edfd3039112 100644 --- a/pkgs/development/python2-modules/pytest/default.nix +++ b/pkgs/development/python2-modules/pytest/default.nix @@ -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 ] diff --git a/pkgs/development/python2-modules/typing/default.nix b/pkgs/development/python2-modules/typing/default.nix index a835be985ff4..b8c143cbd537 100644 --- a/pkgs/development/python2-modules/typing/default.nix +++ b/pkgs/development/python2-modules/typing/default.nix @@ -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 ]; diff --git a/pkgs/development/python2-modules/zipp/default.nix b/pkgs/development/python2-modules/zipp/default.nix index 82f100aaa0d1..c256ed4f7ada 100644 --- a/pkgs/development/python2-modules/zipp/default.nix +++ b/pkgs/development/python2-modules/zipp/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ more-itertools ]; - checkInputs = [ pytest pytest-flake8 ]; + nativeCheckInputs = [ pytest pytest-flake8 ]; checkPhase = '' pytest |