From 03057aa1fd4762137877036e954e62b13c9fae76 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 19 Feb 2023 00:25:14 -0500 Subject: [PATCH] python310Packages.seaborn: fix sandboxless build (#216254) --- pkgs/development/python-modules/seaborn/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/seaborn/default.nix b/pkgs/development/python-modules/seaborn/default.nix index 04b2f8612180..6b11975cd912 100644 --- a/pkgs/development/python-modules/seaborn/default.nix +++ b/pkgs/development/python-modules/seaborn/default.nix @@ -46,11 +46,18 @@ buildPythonPackage rec { "TestKDEPlotUnivariate" "test_with_rug" "test_bivariate_kde_norm" + + # requires internet connection + "test_load_dataset_string_error" ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ # overly strict float tolerances "TestDendrogram" ]; + # All platforms should use Agg. Let's set it explicitly to avoid probing GUI + # backends (leads to crashes on macOS). + MPLBACKEND="Agg"; + pythonImportsCheck = [ "seaborn" ];