Skip to content

Commit

Permalink
python310Packages.seaborn: fix sandboxless build (#216254)
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Feb 19, 2023
1 parent e1f9343 commit 03057aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/seaborn/default.nix
Original file line number Diff line number Diff line change
@@ -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"
];

0 comments on commit 03057aa

Please sign in to comment.