From 3aaee878abad8232042ede093c5701906ed7889b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Oct 2025 12:09:24 +0100 Subject: [PATCH] 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 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