nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.pytest*: Move pytest to buildInputs to allow easy overriding pytest

authored by

Sandro Jäckel and committed by
Frederik Rietdijk
60a10e09 970aea96

+92 -46
+3 -1
pkgs/development/python-modules/pytest-aiohttp/default.nix
··· 9 9 sha256 = "0kx4mbs9bflycd8x9af0idcjhdgnzri3nw1qb0vpfyb3751qaaf9"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ pytest aiohttp ]; 12 + buildInputs = [ pytest ]; 13 + 14 + propagatedBuildInputs = [ aiohttp ]; 13 15 14 16 # There are no tests 15 17 doCheck = false;
+3 -1
pkgs/development/python-modules/pytest-ansible/default.nix
··· 21 21 sed -i "s/'setuptools-markdown'//g" setup.py 22 22 ''; 23 23 24 + buildInputs = [ pytest ]; 25 + 24 26 # requires pandoc < 2.0 25 27 # buildInputs = [ setuptools-markdown ]; 26 28 checkInputs = [ mock ]; 27 - propagatedBuildInputs = [ ansible pytest ]; 29 + propagatedBuildInputs = [ ansible ]; 28 30 29 31 # tests not included with release, even on github 30 32 doCheck = false;
+2 -1
pkgs/development/python-modules/pytest-arraydiff/default.nix
··· 16 16 sha256 = "de2d62f53ecc107ed754d70d562adfa7573677a263216a7f19aa332f20dc6c15"; 17 17 }; 18 18 19 + buildInputs = [ pytest ]; 20 + 19 21 propagatedBuildInputs = [ 20 22 numpy 21 23 six 22 - pytest 23 24 ]; 24 25 25 26 # The tests requires astropy, which itself requires
+1 -2
pkgs/development/python-modules/pytest-astropy-header/default.nix
··· 31 31 }) 32 32 ]; 33 33 34 - 35 - propagatedBuildInputs = [ 34 + buildInputs = [ 36 35 pytest 37 36 ]; 38 37
+2 -1
pkgs/development/python-modules/pytest-astropy/default.nix
··· 25 25 setuptools_scm 26 26 ]; 27 27 28 + buildInputs = [ pytest ]; 29 + 28 30 propagatedBuildInputs = [ 29 31 hypothesis 30 - pytest 31 32 pytest-astropy-header 32 33 pytest-doctestplus 33 34 pytest-filter-subpackage
+3 -1
pkgs/development/python-modules/pytest-bdd/default.nix
··· 22 22 sha256 = "1yqzz44as4pxffmg4hk9lijvnvlc2chg1maq1fbj5i4k4jpagvjz"; 23 23 }; 24 24 25 - propagatedBuildInputs = [ glob2 Mako parse parse-type py pytest six ]; 25 + buildInputs = [ pytest ]; 26 + 27 + propagatedBuildInputs = [ glob2 Mako parse parse-type py six ]; 26 28 27 29 # Tests require extra dependencies 28 30 checkInputs = [ execnet mock pytest ];
+3 -1
pkgs/development/python-modules/pytest-benchmark/default.nix
··· 19 19 sha256 = "1hslzzinpwc1zqhbpllqh3sllmiyk69pcycl7ahr0rz3micgwczj"; 20 20 }; 21 21 22 - propagatedBuildInputs = [ pytest py-cpuinfo ] ++ lib.optionals (pythonOlder "3.4") [ pathlib statistics ]; 22 + buildInputs = [ pytest ]; 23 + 24 + propagatedBuildInputs = [ py-cpuinfo ] ++ lib.optionals (pythonOlder "3.4") [ pathlib statistics ]; 23 25 24 26 meta = { 25 27 description = "Py.test fixture for benchmarking code";
+3 -1
pkgs/development/python-modules/pytest-black/default.nix
··· 16 16 17 17 nativeBuildInputs = [ setuptools_scm ]; 18 18 19 - propagatedBuildInputs = [ black pytest toml ]; 19 + buildInputs = [ pytest ]; 20 + 21 + propagatedBuildInputs = [ black toml ]; 20 22 21 23 # does not contain tests 22 24 doCheck = false;
+1 -1
pkgs/development/python-modules/pytest-check/default.nix
··· 15 15 sha256 = "1i01i5ab06ic11na13gcacrlcs2ab6rmaii0yz0x06z5ynnljn6s"; 16 16 }; 17 17 18 - propagatedBuildInputs = [ pytest ]; 18 + buildInputs = [ pytest ]; 19 19 checkInputs = [ pytestCheckHook ]; 20 20 21 21 meta = with lib; {
+2 -1
pkgs/development/python-modules/pytest-click/default.nix
··· 19 19 sha256 = "197nvlqlyfrqpy5lrkmfh1ywpr6j9zipxl9d7syg2a2n7jz3a8rj"; 20 20 }; 21 21 22 + buildInputs = [ pytest ]; 23 + 22 24 propagatedBuildInputs = [ 23 - pytest 24 25 click 25 26 ]; 26 27
+1 -1
pkgs/development/python-modules/pytest-dependency/default.nix
··· 9 9 sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ pytest ]; 12 + buildInputs = [ pytest ]; 13 13 14 14 checkInputs = [ pytest ]; 15 15
+2 -1
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 17 17 sha256 = "fb083925a17ce636f33997c275f61123e63372c1db11fefac1e991ed25a4ca37"; 18 18 }; 19 19 20 + buildInputs = [ pytest ]; 21 + 20 22 propagatedBuildInputs = [ 21 23 six 22 24 numpy 23 - pytest 24 25 ]; 25 26 26 27 checkInputs = [
+2 -1
pkgs/development/python-modules/pytest-factoryboy/default.nix
··· 21 21 sha256 = "0v6b4ly0p8nknpnp3f4dbslfsifzzjx2vv27rfylx04kzdhg4m9p"; 22 22 }; 23 23 24 + buildInputs = [ pytest ]; 25 + 24 26 propagatedBuildInputs = [ 25 27 factory_boy 26 28 inflection 27 - pytest 28 29 ]; 29 30 30 31 checkInputs = [
+2 -1
pkgs/development/python-modules/pytest-filter-subpackage/default.nix
··· 21 21 setuptools_scm 22 22 ]; 23 23 24 + buildInputs = [ pytest ]; 25 + 24 26 propagatedBuildInputs = [ 25 - pytest 26 27 pytest-doctestplus 27 28 pytestcov 28 29 pytestCheckHook
+2 -1
pkgs/development/python-modules/pytest-flakes/default.nix
··· 15 15 sha256 = "bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754"; 16 16 }; 17 17 18 + buildInputs = [ pytest ]; 19 + propagatedBuildInputs = [ pyflakes ]; 18 20 checkInputs = [ pytest ]; 19 - propagatedBuildInputs = [ pytest pyflakes ]; 20 21 21 22 # no longer passes 22 23 doCheck = false;
+2 -1
pkgs/development/python-modules/pytest-flask/default.nix
··· 12 12 13 13 doCheck = false; 14 14 15 + buildInputs = [ pytest ]; 16 + 15 17 propagatedBuildInputs = [ 16 - pytest 17 18 flask 18 19 werkzeug 19 20 ];
+2 -1
pkgs/development/python-modules/pytest-freezegun/default.nix
··· 18 18 sha256 = "10c4pbh03b4s1q8cjd75lr0fvyf9id0zmdk29566qqsmaz28npas"; 19 19 }; 20 20 21 + buildInputs = [ pytest ]; 22 + 21 23 propagatedBuildInputs = [ 22 24 freezegun 23 - pytest 24 25 ]; 25 26 26 27 checkInputs = [
+2 -1
pkgs/development/python-modules/pytest-html/default.nix
··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ setuptools_scm ]; 15 - propagatedBuildInputs = [ pytest pytest-metadata ]; 15 + buildInputs = [ pytest ]; 16 + propagatedBuildInputs = [ pytest-metadata ]; 16 17 17 18 meta = with lib; { 18 19 description = "Plugin for generating HTML reports";
+2 -1
pkgs/development/python-modules/pytest-httpx/default.nix
··· 18 18 sha256 = "08idd3y6khxjqkn46diqvkjvsl4w4pxhl6z1hspbkrj0pqwf9isi"; 19 19 }; 20 20 21 + buildInputs = [ pytest ]; 22 + 21 23 propagatedBuildInputs = [ 22 24 httpx 23 - pytest 24 25 ]; 25 26 26 27 checkInputs = [
+1 -1
pkgs/development/python-modules/pytest-metadata/default.nix
··· 11 11 }; 12 12 13 13 nativeBuildInputs = [ setuptools_scm ]; 14 - propagatedBuildInputs = [ pytest ]; 14 + buildInputs = [ pytest ]; 15 15 16 16 meta = with lib; { 17 17 description = "Plugin for accessing test session metadata";
+3 -1
pkgs/development/python-modules/pytest-mypy/default.nix
··· 18 18 19 19 nativeBuildInputs = [ setuptools_scm ]; 20 20 21 - propagatedBuildInputs = [ pytest mypy filelock ]; 21 + buildInputs = [ pytest ]; 22 + 23 + propagatedBuildInputs = [ mypy filelock ]; 22 24 23 25 # does not contain tests 24 26 doCheck = false;
+2 -1
pkgs/development/python-modules/pytest-openfiles/default.nix
··· 20 20 21 21 nativeBuildInputs = [ setuptools_scm ]; 22 22 23 + buildInputs = [ pytest ]; 24 + 23 25 propagatedBuildInputs = [ 24 - pytest 25 26 psutil 26 27 ]; 27 28
+1 -1
pkgs/development/python-modules/pytest-order/default.nix
··· 17 17 sha256 = "9c9e4f1b060414c642e88ad98ca60f1fd37937debd704bd8f4a2ef8e08b9cb6d"; 18 18 }; 19 19 20 - propagatedBuildInputs = [ pytest ]; 20 + buildInputs = [ pytest ]; 21 21 22 22 checkInputs = [ 23 23 pytestCheckHook
+2 -1
pkgs/development/python-modules/pytest-pylint/default.nix
··· 21 21 22 22 nativeBuildInputs = [ pytestrunner ]; 23 23 24 + buildInputs = [ pytest ]; 25 + 24 26 propagatedBuildInputs = [ 25 - pytest 26 27 pylint 27 28 six 28 29 toml
+1 -1
pkgs/development/python-modules/pytest-pythonpath/default.nix
··· 9 9 sha256 = "0qhxh0z2b3p52v3i0za9mrmjnb1nlvvyi2g23rf88b3xrrm59z33"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ pytest ]; 12 + buildInputs = [ pytest ]; 13 13 checkInputs = [ pytest ]; 14 14 15 15 checkPhase = ''
+1 -1
pkgs/development/python-modules/pytest-qt/default.nix
··· 19 19 setuptools_scm 20 20 ]; 21 21 22 - propagatedBuildInputs = [ 22 + buildInputs = [ 23 23 pytest 24 24 ]; 25 25
+1 -1
pkgs/development/python-modules/pytest-random-order/default.nix
··· 16 16 17 17 disabled = pythonOlder "3.5"; 18 18 19 - propagatedBuildInputs = [ pytest ]; 19 + buildInputs = [ pytest ]; 20 20 21 21 meta = with lib; { 22 22 homepage = "https://github.com/jbasko/pytest-random-order";
+2 -1
pkgs/development/python-modules/pytest-remotedata/default.nix
··· 14 14 sha256 = "e20c58d4b7c359c4975dc3c3d3d67be0905180d2368be0be3ae09b15a136cfc0"; 15 15 }; 16 16 17 + buildInputs = [ pytest ]; 18 + 17 19 propagatedBuildInputs = [ 18 20 six 19 - pytest 20 21 ]; 21 22 22 23 checkInputs = [
+2 -2
pkgs/development/python-modules/pytest-rerunfailures/default.nix
··· 11 11 sha256 = "1cb11a17fc121b3918414eb5eaf314ee325f2e693ac7cb3f6abf7560790827f2"; 12 12 }; 13 13 14 - checkInputs = [ mock pytest ]; 14 + buildInputs = [ pytest ]; 15 15 16 - propagatedBuildInputs = [ pytest ]; 16 + checkInputs = [ mock pytest ]; 17 17 18 18 checkPhase = '' 19 19 py.test test_pytest_rerunfailures.py
+4
pkgs/development/python-modules/pytest-sanic/default.nix
··· 1 1 { lib 2 + , aiohttp 2 3 , async_generator 3 4 , buildPythonPackage 4 5 , doCheck ? true ··· 22 21 sha256 = "1zpgnw1lqbll59chv4hgcn31mdql1nv4gw9crbihky3ly3d3ncqi"; 23 22 }; 24 23 24 + buildInputs = [ pytest ]; 25 + 25 26 propagatedBuildInputs = [ 27 + aiohttp 26 28 async_generator 27 29 httpx 28 30 pytest
+2 -1
pkgs/development/python-modules/pytest-services/default.nix
··· 25 25 toml 26 26 ]; 27 27 28 + buildInputs = [ pytest ]; 29 + 28 30 propagatedBuildInputs = [ 29 31 requests 30 32 psutil 31 - pytest 32 33 zc_lockfile 33 34 ] ++ lib.optional (!isPy3k) subprocess32; 34 35
+1 -1
pkgs/development/python-modules/pytest-shutil/default.nix
··· 11 11 sha256 = "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"; 12 12 }; 13 13 14 + buildInputs = [ pytest ]; 14 15 checkInputs = [ cmdline pytest ]; 15 16 propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ]; 16 - nativeBuildInputs = [ pytest ]; 17 17 18 18 checkPhase = '' 19 19 py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
+3 -1
pkgs/development/python-modules/pytest-snapshot/default.nix
··· 11 11 12 12 nativeBuildInputs = [ setuptools-scm ]; 13 13 14 - propagatedBuildInputs = [ packaging pytest ]; 14 + buildInputs = [ pytest ]; 15 + 16 + propagatedBuildInputs = [ packaging ]; 15 17 16 18 # pypi does not contain tests and GitHub archive is not supported because setuptools-scm can't detect the version 17 19 doCheck = false;
+1 -1
pkgs/development/python-modules/pytest-socket/default.nix
··· 15 15 sha256 = "1jbzkyp4xki81h01yl4vg3nrg9b6shsk1ryrmkaslffyhrqnj8zh"; 16 16 }; 17 17 18 - propagatedBuildInputs = [ 18 + buildInputs = [ 19 19 pytest 20 20 ]; 21 21
+2 -1
pkgs/development/python-modules/pytest-sugar/default.nix
··· 16 16 sha256 = "b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3"; 17 17 }; 18 18 19 + buildInputs = [ pytest ]; 20 + 19 21 propagatedBuildInputs = [ 20 22 termcolor 21 - pytest 22 23 packaging 23 24 ]; 24 25
+1 -1
pkgs/development/python-modules/pytest-timeout/default.nix
··· 16 16 sha256 = "0xnsigs0kmpq1za0d4i522sp3f71x5bgpdh3ski0rs74yqy13cr0"; 17 17 }; 18 18 19 - propagatedBuildInputs = [ pytest ]; 19 + buildInputs = [ pytest ]; 20 20 21 21 checkInputs = [ pytestCheckHook pexpect pytestcov ]; 22 22
+3 -1
pkgs/development/python-modules/pytest-tornado/default.nix
··· 17 17 # package has no tests 18 18 doCheck = false; 19 19 20 - propagatedBuildInputs = [ pytest tornado ]; 20 + buildInputs = [ pytest ]; 21 + 22 + propagatedBuildInputs = [ tornado ]; 21 23 22 24 meta = with lib; { 23 25 description = "A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.";
+2 -1
pkgs/development/python-modules/pytest-tornasync/default.nix
··· 15 15 sha256 = "04cg1cfrr55dbi8nljkpcsc103i5c6p0nr46vjr0bnxgkxx03x36"; 16 16 }; 17 17 18 + buildInputs = [ pytest ]; 19 + 18 20 propagatedBuildInputs = [ 19 - pytest 20 21 tornado 21 22 ]; 22 23
+2 -1
pkgs/development/python-modules/pytest-trio/default.nix
··· 13 13 sha256 = "0bhh2nknhp14jzsx4zzpqm4qnfaihyi65cjf6kf6qgdhc0ax6nf4"; 14 14 }; 15 15 16 + buildInputs = [ pytest ]; 17 + 16 18 propagatedBuildInputs = [ 17 19 trio 18 20 async_generator 19 21 outcome 20 - pytest 21 22 ]; 22 23 23 24 checkInputs = [
+3 -1
pkgs/development/python-modules/pytest-twisted/default.nix
··· 16 16 sha256 = "cee2320becc5625050ab221b8f38533e636651a24644612f4726891fdf1f1847"; 17 17 }; 18 18 19 - propagatedBuildInputs = [ greenlet pytest decorator ]; 19 + buildInputs = [ pytest ]; 20 + 21 + propagatedBuildInputs = [ greenlet decorator ]; 20 22 21 23 meta = with lib; { 22 24 description = "A twisted plugin for py.test";
+2 -1
pkgs/development/python-modules/pytest-vcr/default.nix
··· 16 16 sha256 = "1i6fin91mklvbi8jzfiswvwf1m91f43smpj36a17xrzk4gisfs6i"; 17 17 }; 18 18 19 + buildInputs = [ pytest ]; 20 + 19 21 propagatedBuildInputs = [ 20 - pytest 21 22 vcrpy 22 23 ]; 23 24
+1 -1
pkgs/development/python-modules/pytest-warnings/default.nix
··· 9 9 sha256 = "5939f76fe04ad18297e53af0c9fb38aca1ec74db807bd40ad72733603adbbc7d"; 10 10 }; 11 11 12 - propagatedBuildInputs = [ pytest ]; 12 + buildInputs = [ pytest ]; 13 13 14 14 meta = { 15 15 description = "Plugin to list Python warnings in pytest report";
+3 -1
pkgs/development/python-modules/pytest-watch/default.nix
··· 16 16 sha256 = "06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9"; 17 17 }; 18 18 19 - propagatedBuildInputs = [ pytest colorama docopt watchdog ]; 19 + buildInputs = [ pytest ]; 20 + 21 + propagatedBuildInputs = [ colorama docopt watchdog ]; 20 22 21 23 # No Tests 22 24 doCheck = false;
+4 -1
pkgs/development/python-modules/pytest-xprocess/default.nix
··· 14 14 }; 15 15 16 16 nativeBuildInputs = [ setuptools_scm ]; 17 - propagatedBuildInputs = [ psutil pytest ]; 17 + 18 + buildInputs = [ pytest ]; 19 + 20 + propagatedBuildInputs = [ psutil ]; 18 21 19 22 # Remove test QoL package from install_requires 20 23 postPatch = ''
+2 -1
pkgs/development/python-modules/pytest-xvfb/default.nix
··· 16 16 sha256 = "1kyq5rg27dsnj7dc6x9y7r8vwf8rc88y2ppnnw6r96alw0nn9fn4"; 17 17 }; 18 18 19 + buildInputs = [ pytest ]; 20 + 19 21 propagatedBuildInputs = [ 20 - pytest 21 22 virtual-display 22 23 ]; 23 24