summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-05 15:26:27 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:10 +0100
commitb715e332d966aa8c83e3406fb90838395d0ae428 (patch)
treec40da66f30384b2fd64d5ad18fb95635aa4ce124 /gnu/packages/python-check.scm
parent82bdd73b7c12416e2e5435818dc9d908ca682a6d (diff)
gnu: Add python-pytest-run-parallel.
* gnu/packages/python-check.scm (python-pytest-run-parallel): New variable. Change-Id: I680f2dcc11e3457a3b05ebe65852a7cfd6c2df53 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b6afb4566c2..ccadace622a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3677,6 +3677,34 @@ eliminate flaky failures.")
flaky tests, thereby improving the consistency of the test suite results.")
(license license:expat)))
+(define-public python-pytest-run-parallel
+ (package
+ (name "python-pytest-run-parallel")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_run_parallel" version))
+ (sha256
+ (base32 "1qiz0kpjzqad9s5kr1rx4zxncy4zfghzb85cl7hjzca0j34agbji"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest-bootstrap
+ python-pytest-order
+ python-pytest-xdist
+ python-setuptools))
+ (home-page "https://github.com/Quansight-Labs/pytest-run-parallel")
+ (synopsis "Pytest plugin to run tests concurrently")
+ (description
+ "This package provides a simple pytest plugin to run tests concurrently.
+ The main goal of pytest-run-parallel is to discover thread-safety issues that
+could exist when using C libraries, this is of vital importance after
+@url{https://peps.python.org/pep-0703/, PEP703}, which provides a path for a
+CPython implementation without depending on the Global Interpreter Lock (GIL),
+thus allowing for proper parallelism in programs that make use of the CPython
+interpreter.")
+ (license license:expat)))
+
;; This is only used by python-sanic
(define-public python-pytest-sanic
(package