From 98ce308ab5fbd33701490cc28a1331dfae1de2bc Mon Sep 17 00:00:00 2001 From: Ivan Kozik Date: Sat, 21 May 2022 20:46:18 +0000 Subject: [PATCH] python3Packages.pandas: skip test_rolling_var_numerical_issues On amd64, it does not fail on nixpkgs by default, but does fail if you build everything with e.g. -march=haswell -mtune=haswell --- pkgs/development/python-modules/pandas/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index 54ad2eaf724f..dad1d4499ef7 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -90,6 +90,10 @@ buildPythonPackage rec { "test_comparison_invalid" # AssertionError: Regex pattern '"quotechar" must be string, not int' "python-kwargs2" + # Tests for rounding errors and fails if we have better precision + # than expected, e.g. on amd64 with FMA or on arm64 + # https://github.com/pandas-dev/pandas/issues/38921 + "test_rolling_var_numerical_issues" ] ++ lib.optionals stdenv.isDarwin [ "test_locale" "test_clipboard"