python3Packages.pytest: 6.1.2 -> 6.2.2

This commit is contained in:
Fabian Affolter 2021-02-20 17:02:43 +01:00
parent 69b16f1251
commit 84d6dfc4aa

View file

@ -1,19 +1,16 @@
{ lib, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, isPyPy
, atomicwrites
, attrs
, funcsigs
, hypothesis
, iniconfig
, mock
, more-itertools
, packaging
, pathlib2
, pluggy
, py
, pygments
, python
, setuptools
, setuptools_scm
, setuptools-scm
, six
, toml
, wcwidth
@ -21,18 +18,17 @@
}:
buildPythonPackage rec {
version = "6.1.2";
pname = "pytest";
version = "6.2.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e";
sha256 = "sha256-nR7fnn0LhNcuo9vN/SKzX7VDpejypgCS3VeJNr9j1/k=";
};
checkInputs = [ hypothesis pygments ];
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
atomicwrites
attrs
@ -47,6 +43,11 @@ buildPythonPackage rec {
wcwidth
] ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
checkInputs = [
hypothesis
pygments
];
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
preCheck = ''
@ -80,8 +81,9 @@ buildPythonPackage rec {
];
meta = with lib; {
homepage = "https://docs.pytest.org";
description = "Framework for writing tests";
homepage = "https://docs.pytest.org";
changelog = "https://github.com/pytest-dev/pytest/releases/tag/${version}";
maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ];
license = licenses.mit;
};