From 529ad4a9a39c13e579e874b4f73e2969f79f47bb Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 2 Sep 2023 23:21:56 -0400 Subject: [PATCH] python3Packages.pandas: disable unreliable tests test_rolling.py is unreliable on aarch64-darwin depending on the compiler used and possibly optimization settings. Disabling these tests allows clang 16 to build Pandas on Darwin successfully. See https://github.com/pandas-dev/pandas/issues/38921. --- pkgs/development/python-modules/pandas/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index d79b9eea4bce..e64f61e0ddec 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -206,6 +206,8 @@ buildPythonPackage rec { ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ # tests/generic/test_finalize.py::test_binops[and_-args4-right] - AssertionError: assert {} == {'a': 1} "test_binops" + # These tests are unreliable on aarch64-darwin. See https://github.com/pandas-dev/pandas/issues/38921. + "test_rolling" ]; # Tests have relative paths, and need to reference compiled C extensions