[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50018] [PATCH 11/19] gnu: Add python-pytest-rerunfailures.
From: |
Vinicius Monego |
Subject: |
[bug#50018] [PATCH 11/19] gnu: Add python-pytest-rerunfailures. |
Date: |
Wed, 11 Aug 2021 23:45:03 +0000 |
* gnu/packages/python-check.scm (python-pytest-rerunfailures): New variable.
---
gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 0eef7ba8e5..148dfd5fad 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1037,6 +1037,34 @@ service processes for your tests with pytest.")
new fixtures, new methods and new comparison objects.")
(license license:expat)))
+(define-public python-pytest-rerunfailures
+ (package
+ (name "python-pytest-rerunfailures")
+ (version "10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-rerunfailures" version))
+ (sha256
+ (base32 "0ws2hbgh00nd6xchyi9ymyxfpg5jpxsy5mxdz4nxvriyw5nw05vn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest"
+ "test_pytest_rerunfailures.py")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/pytest-dev/pytest-rerunfailures")
+ (synopsis "Pytest plugin to re-run tests to eliminate flaky failures")
+ (description "This package provides a Pytest plugin to re-run tests to
+eliminate flaky failures.")
+ (license license:mpl2.0)))
+
(define-public python-pytest-aiohttp
(package
(name "python-pytest-aiohttp")
--
2.30.2
- [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests?., (continued)
- [bug#50018] [PATCH 07/19] gnu: python-cfn-lint: Respect #:tests?., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 06/19] gnu: python-cfn-lint: Update to 0.53.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 08/19] gnu: python-moto: Update to 2.2.2., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 13/19] gnu: python-kombu: Update to 5.1.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 16/19] gnu: python-celery: Enable tests., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 15/19] gnu: python-celery: Update to 5.1.2., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 09/19] gnu: python-moto: Respect #:tests?., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 12/19] gnu: python-amqp: Update to 5.0.6., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 10/19] gnu: python-vine: Update to 5.0.0., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 14/19] gnu: Add python-pytest-celery., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 11/19] gnu: Add python-pytest-rerunfailures.,
Vinicius Monego <=
- [bug#50018] [PATCH 17/19] gnu: Remove python2-celery., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 18/19] gnu: Remove python2-kombu., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH 19/19] gnu: Remove python2-amqp., Vinicius Monego, 2021/08/11
- [bug#50018] [PATCH v2 16/19] gnu: python-celery: Enable tests., Vinicius Monego, 2021/08/13