From 8ba1cd2e10a6eac0c3d3df0d61c8d1b993ff8cc2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 5 Nov 2020 20:01:03 -0800 Subject: [PATCH] python3Packages.pandas: fix tests --- pkgs/development/python-modules/pandas/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index ce208fe9078..9d2d32d428a 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -113,6 +113,8 @@ in buildPythonPackage rec { # Fails with 1.0.5 "test_constructor_list_frames" "test_constructor_with_embedded_frames" + # tries to import compiled C extension locally + "test_missing_required_dependency" ] ++ optionals isDarwin [ "test_locale" "test_clipboard" @@ -120,6 +122,7 @@ in buildPythonPackage rec { preCheck = '' export LC_ALL="en_US.UTF-8" + PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH '' # TODO: Get locale and clipboard support working on darwin. # Until then we disable the tests.