Merge pull request #33659 from etu/update-pytest-rerunfailures
pytest-rerunfailures: 2.0.1 -> 4.0
This commit is contained in:
commit
f9e47ab57a
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "pytest-rerunfailures";
|
||||||
|
version = "4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18lpy6d9b4ck8j3jwh4vmxj54is0fwanpmpg70qg4y0fycdqzwks";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest mock ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
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 ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -3395,30 +3395,7 @@ in {
|
|||||||
|
|
||||||
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
|
pytest-forked = callPackage ../development/python-modules/pytest-forked { };
|
||||||
|
|
||||||
pytest-rerunfailures = buildPythonPackage rec {
|
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "pytest-rerunfailures";
|
|
||||||
version = "2.0.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "1zzxlswbny8dp3c1sbhpyms1xkknxb6qfji3y3azc7gc95324xsv";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
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 ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
|
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user