From 23a47597a296c04307f265fc75df86d450f9138e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 10 Jan 2024 13:27:12 +0100 Subject: [PATCH] python311Packages.blackjax: use pytest-xdist to speed up tests --- pkgs/development/python-modules/blackjax/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/blackjax/default.nix b/pkgs/development/python-modules/blackjax/default.nix index 675f01991c3d..f9521db79cb8 100644 --- a/pkgs/development/python-modules/blackjax/default.nix +++ b/pkgs/development/python-modules/blackjax/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, pytest-xdist , pytestCheckHook , setuptools-scm , fastprogress @@ -39,7 +40,10 @@ buildPythonPackage rec { typing-extensions ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pytest-xdist + ]; disabledTestPaths = [ "tests/test_benchmarks.py" ]; disabledTests = [ # too slow