python310Packages.seaborn: fix sandboxless build (#216254)

authored by

Dmitry Kalinkin and committed by
GitHub
03057aa1 e1f93437

+7
+7
pkgs/development/python-modules/seaborn/default.nix
··· 46 46 "TestKDEPlotUnivariate" 47 47 "test_with_rug" 48 48 "test_bivariate_kde_norm" 49 + 50 + # requires internet connection 51 + "test_load_dataset_string_error" 49 52 ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ 50 53 # overly strict float tolerances 51 54 "TestDendrogram" 52 55 ]; 56 + 57 + # All platforms should use Agg. Let's set it explicitly to avoid probing GUI 58 + # backends (leads to crashes on macOS). 59 + MPLBACKEND="Agg"; 53 60 54 61 pythonImportsCheck = [ 55 62 "seaborn"