Bug#1111640: ITP: python-pytest-run-parallel -- Run many instances of the same test in a thread pool
Package: wnpp
Severity: wishlist
Owner: Colin Watson <cjwatson@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : python-pytest-run-parallel
Version : 0.6.1
Upstream Contact: Quansight Labs <emargffoy@quansight.com>
* URL : https://github.com/Quansight-Labs/pytest-run-parallel
* License : Expat
Programming Lang: Python
Description : Run many instances of the same test in a thread pool
This pytest plugin takes a set of tests that would be normally be run
serially and execute them in parallel.
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 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.
This plugin is not an alternative to pytest-xdist and does not run all
of the tests in a test suite simultaneously in a thread pool. Instead,
it runs many instances of the same test in a thread pool. It is only
useful as a tool to do multithreaded stress tests using an existing test
suite and is not useful to speed up the execution of a test suite via
multithreaded parallelism.
This is a new dependency of pydantic-core, which I maintain. I intend
to maintain this within the Debian Python Team.
--
Colin Watson (he/him) [cjwatson@debian.org]
Reply to: