Skip to content

Commit ce6948c

Browse files
committed
python312Packages.dask-glm: disable tests on darwin as they are saturating the system
1 parent 1f7c814 commit ce6948c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkgs/development/python-modules/dask-glm/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
45
fetchFromGitHub,
56

@@ -64,7 +65,9 @@ buildPythonPackage rec {
6465
"test_sparse"
6566
];
6667

67-
__darwinAllowLocalNetworking = true;
68+
# On darwin, tests saturate the entire system, even when constrained to run single-threaded
69+
# Removing pytest-xdist AND setting --cores to one does not prevent the load from exploding
70+
doCheck = !stdenv.hostPlatform.isDarwin;
6871

6972
meta = {
7073
description = "Generalized Linear Models with Dask";

0 commit comments

Comments
 (0)