guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 3aaee878abad8232042ede093c5701906ed7889b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 1 12:09:24 2025 +0100
gnu: Add python-pytest-retry.
* gnu/packages/python-check.scm (python-pytest-retry): New variable.
Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
---
gnu/packages/python-check.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1b16f2ffb4..b059ce104a 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