mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
python312Packages.nbmake: limit tests parallelism
This commit is contained in:
@@ -50,6 +50,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "nbmake" ];
|
||||
|
||||
# tests are prone to race conditions under high parallelism
|
||||
# https://github.com/treebeardtech/nbmake/issues/129
|
||||
pytestFlagsArray = [ "--maxprocesses=4" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
|
||||
Reference in New Issue
Block a user