python312Packages.nbmake: limit tests parallelism

This commit is contained in:
Martin Weinelt
2024-12-08 16:25:47 +01:00
parent f124e12650
commit 97efe32610

View File

@@ -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