From ce6948cd33fbf912deeb7401b35100583039a3c3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 12 Apr 2025 00:36:06 +0200 Subject: [PATCH] python312Packages.dask-glm: disable tests on darwin as they are saturating the system --- pkgs/development/python-modules/dask-glm/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/dask-glm/default.nix b/pkgs/development/python-modules/dask-glm/default.nix index a57babf53c21..ff4eb30f6339 100644 --- a/pkgs/development/python-modules/dask-glm/default.nix +++ b/pkgs/development/python-modules/dask-glm/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -64,7 +65,9 @@ buildPythonPackage rec { "test_sparse" ]; - __darwinAllowLocalNetworking = true; + # On darwin, tests saturate the entire system, even when constrained to run single-threaded + # Removing pytest-xdist AND setting --cores to one does not prevent the load from exploding + doCheck = !stdenv.hostPlatform.isDarwin; meta = { description = "Generalized Linear Models with Dask";