From 5ccfbf6826b7f524eef886bf958b23e6ab5f30e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 12 Feb 2024 22:31:36 +0100 Subject: [PATCH] python311Packages.boto3: run tests with pytest-xdist This speed the tests up from ~500s to still ~110s. --- pkgs/development/python-modules/boto3/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/boto3/default.nix b/pkgs/development/python-modules/boto3/default.nix index f1ab0c4f28e3..aa9bcd2246b5 100644 --- a/pkgs/development/python-modules/boto3/default.nix +++ b/pkgs/development/python-modules/boto3/default.nix @@ -3,6 +3,7 @@ , buildPythonPackage , fetchFromGitHub , jmespath +, pytest-xdist , pytestCheckHook , pythonOlder , pythonRelaxDepsHook @@ -41,6 +42,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + pytest-xdist pytestCheckHook ];