Unverified Commit 03057aa1 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

python310Packages.seaborn: fix sandboxless build (#216254)

parent e1f93437
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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"
  ];