pythonPackages.pytest-rerunfailures: 4.2 -> 6.0

This commit is contained in:
Mario Rodas 2019-01-06 11:51:29 -05:00
parent 61e57a827b
commit 93369a1b34
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -2,24 +2,23 @@
buildPythonPackage rec {
pname = "pytest-rerunfailures";
version = "4.2";
version = "6.0";
src = fetchPypi {
inherit pname version;
sha256 = "97216f8a549f74da3cc786236d9093fbd43150a6fbe533ba622cb311f7431774";
sha256 = "978349ae00687504fd0f9d0970c37199ccd89cbdb0cb8c4ed7ee417ede582b40";
};
checkInputs = [ mock ];
propagatedBuildInputs = [ pytest ];
# disable tests that fail with pytest 3.7.4
checkPhase = ''
py.test test_pytest_rerunfailures.py -k 'not test_reruns_with_delay'
py.test test_pytest_rerunfailures.py
'';
meta = with stdenv.lib; {
description = "pytest plugin to re-run tests to eliminate flaky failures.";
description = "pytest plugin to re-run tests to eliminate flaky failures";
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
license = licenses.mpl20;
maintainers = with maintainers; [ jgeerds ];