Skip to content

Commit

Permalink
python312Packages.nbmake: limit tests parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Dec 8, 2024
1 parent f124e12 commit 97efe32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/nbmake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97efe32

Please sign in to comment.