summary refs log tree commit diff
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2023-02-19 00:25:14 -0500
committerGitHub <noreply@github.com>2023-02-19 00:25:14 -0500
commit03057aa1fd4762137877036e954e62b13c9fae76 (patch)
tree02347aea4b5d4cddba4fd097681cb2b0929c1c26
parente1f9343793c6d180f78eb1a9c024cd565ab05b1a (diff)
downloadnixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar.gz
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar.bz2
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar.lz
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar.xz
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.tar.zst
nixpkgs-03057aa1fd4762137877036e954e62b13c9fae76.zip
python310Packages.seaborn: fix sandboxless build (#216254)
-rw-r--r--pkgs/development/python-modules/seaborn/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/seaborn/default.nix b/pkgs/development/python-modules/seaborn/default.nix
index 04b2f861218..6b11975cd91 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"
   ];