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 "TestKDEPlotUnivariate" 47 "test_with_rug" 48 "test_bivariate_kde_norm" 49 ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ 50 # overly strict float tolerances 51 "TestDendrogram" 52 ]; 53 54 pythonImportsCheck = [ 55 "seaborn"
··· 46 "TestKDEPlotUnivariate" 47 "test_with_rug" 48 "test_bivariate_kde_norm" 49 + 50 + # requires internet connection 51 + "test_load_dataset_string_error" 52 ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ 53 # overly strict float tolerances 54 "TestDendrogram" 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"; 60 61 pythonImportsCheck = [ 62 "seaborn"