lol

pythonPackages.pytestrunner: 2.6.2 -> 3.0

Also add missing dependency to progressbar2

authored by

Robert Schütz and committed by
Frederik Rietdijk
ee8f15ec 1623c837

+22 -20
+2
pkgs/development/python-modules/progressbar2/default.nix
··· 14 14 , pytestcov 15 15 , pytestcache 16 16 , pep8 17 + , pytestrunner 17 18 }: 18 19 19 20 buildPythonPackage rec { ··· 30 31 }; 31 32 32 33 propagatedBuildInputs = [ python-utils ]; 34 + nativeBuildInputs = [ pytestrunner ]; 33 35 checkInputs = [ 34 36 pytest sphinx coverage execnet flake8 pytestpep8 pytestflakes pytestcov 35 37 pytestcache pep8
+19
pkgs/development/python-modules/pytestrunner/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, setuptools_scm, pytest }: 2 + 3 + buildPythonPackage rec { 4 + pname = "pytest-runner"; 5 + version = "3.0"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "00v7pi09q60yx0l1kzyklnmr5bp597mir85a9gsi7bdfyly3lz0g"; 10 + }; 11 + 12 + buildInputs = [ setuptools_scm pytest ]; 13 + 14 + meta = with stdenv.lib; { 15 + description = "Invoke py.test as distutils command with dependency resolution"; 16 + homepage = https://bitbucket.org/pytest-dev/pytest-runner; 17 + license = licenses.mit; 18 + }; 19 + }
+1 -20
pkgs/top-level/python-packages.nix
··· 3424 3424 }; 3425 3425 }; 3426 3426 3427 - pytestrunner = buildPythonPackage rec { 3428 - version = "2.6.2"; 3429 - name = "pytest-runner-${version}"; 3430 - 3431 - src = pkgs.fetchurl { 3432 - url = "mirror://pypi/p/pytest-runner/${name}.tar.gz"; 3433 - sha256 = "e775a40ee4a3a1d45018b199c44cc20bbe7f3df2dc8882f61465bb4141c78cdb"; 3434 - }; 3435 - 3436 - buildInputs = with self; [setuptools_scm pytest]; 3437 - 3438 - meta = { 3439 - description = "Invoke py.test as distutils command with dependency resolution"; 3440 - homepage = https://bitbucket.org/pytest-dev/pytest-runner; 3441 - license = licenses.mit; 3442 - }; 3443 - 3444 - # Trying to run tests fails with # RuntimeError: dictionary changed size during iteration 3445 - doCheck = false; 3446 - }; 3427 + pytestrunner = callPackage ../development/python-modules/pytestrunner { }; 3447 3428 3448 3429 pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { }; 3449 3430