~ruther/guix-local

3aaee878abad8232042ede093c5701906ed7889b — Sharlatan Hellseher 6 months ago 18dbf15
gnu: Add python-pytest-retry.

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

Change-Id: I3f9b318d8195633d75383bfacf843fd8f597395c
1 files changed, 21 insertions(+), 0 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +21 -0
@@ 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