summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 12:09:24 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 12:13:44 +0100
commit3aaee878abad8232042ede093c5701906ed7889b (patch)
treef936b8a47f5335d3e71d85aafea89e30469b8285 /gnu/packages/python-check.scm
parent18dbf1571b9f0b12893f85f36640d6a498e2f0d7 (diff)
gnu: Add python-pytest-retry.
* gnu/packages/python-check.scm (python-pytest-retry): New variable. Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1b16f2ffb44..b059ce104a7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3014,6 +3014,27 @@ times.")
eliminate flaky failures.")
(license license:mpl2.0)))
+(define-public python-pytest-retry
+ (package
+ (name "python-pytest-retry")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_retry" version))
+ (sha256
+ (base32 "03zqgl2y16pcf0w0sn7z9n1gaqmkspl9xfhigks9v50yy0wj7mgq"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest-bootstrap
+ python-setuptools))
+ (home-page "https://github.com/str0zzapreti/pytest-retry")
+ (synopsis "Pytest plugin to retry flaky tests in CI environments")
+ (description
+ "This package provides a plugin for Pytest which adds the ability to retry
+flaky tests, thereby improving the consistency of the test suite results.")
+ (license license:expat)))
+
;; This is only used by python-sanic
(define-public python-pytest-sanic
(package