Merge pull request #53507 from marsam/update-pytest-rerunfailures

pythonPackages.pytest-rerunfailures: 4.2 -> 5.0
This commit is contained in:
worldofpeace 2019-01-14 10:16:50 -05:00 committed by GitHub
commit 9956234c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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