gnu: Add python-pytest-retry.

* gnu/packages/python-check.scm (python-pytest-retry): New variable.

Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
This commit is contained in:
Sharlatan Hellseher 2025-10-01 12:09:24 +01:00
parent 18dbf1571b
commit 3aaee878ab
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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