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.")
3677flaky tests, thereby improving the consistency of the test suite results.") 3677flaky tests, thereby improving the consistency of the test suite results.")
3678 (license license:expat))) 3678 (license license:expat)))
3679 3679
3680(define-public python-pytest-run-parallel
3681 (package
3682 (name "python-pytest-run-parallel")
3683 (version "0.8.0")
3684 (source
3685 (origin
3686 (method url-fetch)
3687 (uri (pypi-uri "pytest_run_parallel" version))
3688 (sha256
3689 (base32 "1qiz0kpjzqad9s5kr1rx4zxncy4zfghzb85cl7hjzca0j34agbji"))))
3690 (build-system pyproject-build-system)
3691 (native-inputs
3692 (list python-pytest-bootstrap
3693 python-pytest-order
3694 python-pytest-xdist
3695 python-setuptools))
3696 (home-page "https://github.com/Quansight-Labs/pytest-run-parallel")
3697 (synopsis "Pytest plugin to run tests concurrently")
3698 (description
3699 "This package provides a simple pytest plugin to run tests concurrently.
3700 The main goal of pytest-run-parallel is to discover thread-safety issues that
3701could exist when using C libraries, this is of vital importance after
3702@url{https://peps.python.org/pep-0703/, PEP703}, which provides a path for a
3703CPython implementation without depending on the Global Interpreter Lock (GIL),
3704thus allowing for proper parallelism in programs that make use of the CPython
3705interpreter.")
3706 (license license:expat)))
3707
3680;; This is only used by python-sanic 3708;; This is only used by python-sanic
3681(define-public python-pytest-sanic 3709(define-public python-pytest-sanic
3682 (package 3710 (package