From 9660c200eed341792ff9888927085d1a5ede8673 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 15 May 2022 01:09:14 +0100 Subject: [PATCH] python3Packages.seaborn: skip overly-strict-precision tests on non-x86 --- pkgs/development/python-modules/seaborn/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/seaborn/default.nix b/pkgs/development/python-modules/seaborn/default.nix index c190093bb30..8d94264721b 100644 --- a/pkgs/development/python-modules/seaborn/default.nix +++ b/pkgs/development/python-modules/seaborn/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchPypi , matplotlib @@ -33,16 +34,19 @@ buildPythonPackage rec { ]; disabledTests = [ - # Tests fail because of AttributeError:... + # incompatible with matplotlib 3.5 "TestKDEPlotBivariate" "TestBoxPlotter" "TestCatPlot" "TestKDEPlotUnivariate" "test_with_rug" "test_bivariate_kde_norm" + ] ++ lib.optionals (!stdenv.hostPlatform.isx86) [ + # overly strict float tolerances + "TestDendrogram" ]; - pythonImportsCheck= [ + pythonImportsCheck = [ "seaborn" ];