pythonPackages.pytest: 4.2.1 -> 4.6.3
This commit is contained in:
parent
96a662161c
commit
1a7ffb4140
2 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
||||||
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
||||||
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
||||||
, atomicwrites, mock, writeText, pathlib2
|
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.2.1";
|
version = "4.6.3";
|
||||||
pname = "pytest";
|
pname = "pytest";
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
@ -13,12 +13,12 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c2396a15726218a2dfef480861c4ba37bd3952ebaaa5b0fede3fc23fddcd7f8c";
|
sha256 = "4a784f1d4f2ef198fe9b7aef793e9fa1a3b2f84e822d9b3a64a181293a572d45";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ hypothesis mock ];
|
checkInputs = [ hypothesis mock ];
|
||||||
buildInputs = [ setuptools_scm ];
|
buildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites]
|
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
|
||||||
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
||||||
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||||
|
|
||||||
|
|
|
@ -1688,9 +1688,9 @@ in {
|
||||||
|
|
||||||
pyhepmc = callPackage ../development/python-modules/pyhepmc { };
|
pyhepmc = callPackage ../development/python-modules/pyhepmc { };
|
||||||
|
|
||||||
pytest = self.pytest_42;
|
pytest = self.pytest_4;
|
||||||
|
|
||||||
pytest_42 = callPackage ../development/python-modules/pytest {
|
pytest_4 = callPackage ../development/python-modules/pytest {
|
||||||
# hypothesis tests require pytest that causes dependency cycle
|
# hypothesis tests require pytest that causes dependency cycle
|
||||||
hypothesis = self.hypothesis.override { doCheck = false; };
|
hypothesis = self.hypothesis.override { doCheck = false; };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue