From b20a0a99b14fec49b5af3ff86fdc0d58fbd85644 Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Thu, 6 May 2021 02:21:38 -0700 Subject: [PATCH 27/55] python-pytest-rerunfailures: new package --- gnu/packages/python-check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 122098ae17..1e801ca282 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1519,3 +1519,26 @@ or use cases. Design is based on supporting slow, io-bound testing with often tedious system under test configuration that can benefit from running several tests at one time.") (license license:expat))) + +(define-public python-pytest-rerunfailures + (package + (name "python-pytest-rerunfailures") + (version "9.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-rerunfailures" version)) + (sha256 + (base32 + "1wi711wn0xdzd8zwpirsd4p5ycpf2krymdaf84c3j6qjzhbimc8w")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pytest" ,python-pytest) + ("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/pytest-dev/pytest-rerunfailures") + (synopsis + "pytest plugin to re-run tests to eliminate flaky failures") + (description + "pytest plugin to re-run tests to eliminate flaky failures") + (license #f))) -- 2.31.1