Skip to content

Commit

Permalink
pythonPackages.pytest: 5.3.5 -> 5.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska authored and FRidh committed Mar 29, 2020
1 parent 7eb6da0 commit c9abe1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/development/python-modules/pytest/default.nix
@@ -1,9 +1,10 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging, isPyPy, python
, atomicwrites, mock, pygments, writeText, pathlib2, wcwidth, packaging, isPyPy
, python
}:
buildPythonPackage rec {
version = "5.3.5";
version = "5.4.1";
pname = "pytest";

disabled = !isPy3k;
Expand All @@ -15,10 +16,10 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d";
sha256 = "0w7r0pl1rkzpvb7k3926zcc9brd071zc8b1r3wymz05qfmqf7pc4";
};

checkInputs = [ hypothesis mock ];
checkInputs = [ hypothesis mock pygments ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
Expand All @@ -28,7 +29,7 @@ buildPythonPackage rec {
# Ignored file https://github.com/pytest-dev/pytest/pull/5605#issuecomment-522243929
checkPhase = ''
runHook preCheck
$out/bin/py.test -x testing/ -k "not test_collect_pyargs_with_testpaths" --ignore=testing/test_junitxml.py
$out/bin/py.test -x testing/ --ignore=testing/test_junitxml.py
runHook postCheck
'';

Expand Down

0 comments on commit c9abe1c

Please sign in to comment.