python310Packages.seaborn: fix sandboxless build (#216254)

This commit is contained in:
Dmitry Kalinkin 2023-02-19 00:25:14 -05:00 committed by GitHub
parent e1f9343793
commit 03057aa1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
];