Merge pull request #113382 from fabaff/bump-pytest
python3Packages.pytest: 6.1.2 -> 6.2.2
This commit is contained in:
commit
8e5041ca6d
@ -1,19 +1,16 @@
|
|||||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, isPyPy
|
{ lib, buildPythonPackage, pythonOlder, fetchPypi, isPy3k, isPyPy
|
||||||
, atomicwrites
|
, atomicwrites
|
||||||
, attrs
|
, attrs
|
||||||
, funcsigs
|
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, iniconfig
|
, iniconfig
|
||||||
, mock
|
|
||||||
, more-itertools
|
, more-itertools
|
||||||
, packaging
|
, packaging
|
||||||
, pathlib2
|
, pathlib2
|
||||||
, pluggy
|
, pluggy
|
||||||
, py
|
, py
|
||||||
, pygments
|
, pygments
|
||||||
, python
|
|
||||||
, setuptools
|
, setuptools
|
||||||
, setuptools_scm
|
, setuptools-scm
|
||||||
, six
|
, six
|
||||||
, toml
|
, toml
|
||||||
, wcwidth
|
, wcwidth
|
||||||
@ -21,18 +18,17 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "6.1.2";
|
|
||||||
pname = "pytest";
|
pname = "pytest";
|
||||||
|
version = "6.2.2";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e";
|
sha256 = "sha256-nR7fnn0LhNcuo9vN/SKzX7VDpejypgCS3VeJNr9j1/k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ hypothesis pygments ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
atomicwrites
|
atomicwrites
|
||||||
attrs
|
attrs
|
||||||
@ -47,6 +43,11 @@ buildPythonPackage rec {
|
|||||||
wcwidth
|
wcwidth
|
||||||
] ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
] ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
hypothesis
|
||||||
|
pygments
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
@ -80,8 +81,9 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://docs.pytest.org";
|
|
||||||
description = "Framework for writing tests";
|
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 ];
|
maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user