3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #113382 from fabaff/bump-pytest

python3Packages.pytest: 6.1.2 -> 6.2.2
This commit is contained in:
davidak 2021-03-06 16:45:55 +01:00 committed by GitHub
commit 8e5041ca6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};