summary refs log tree commit diff
path: root/pkgs/development/python-modules/pandas
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-07-28 12:13:44 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-07-28 12:13:44 +0200
commit8364053af4723726b0129e3c049cfe98f30fdf09 (patch)
treef559212ec69947aecc178d649af705c48513f639 /pkgs/development/python-modules/pandas
parentc9dca79fda70cf4b39a18d845d69ff2b103a4eca (diff)
downloadnixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar.gz
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar.bz2
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar.lz
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar.xz
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.tar.zst
nixpkgs-8364053af4723726b0129e3c049cfe98f30fdf09.zip
python3.pkgs.pandas: fix build, for real
Diffstat (limited to 'pkgs/development/python-modules/pandas')
-rw-r--r--pkgs/development/python-modules/pandas/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix
index a3b2cd5e42f..9e4ed217b92 100644
--- a/pkgs/development/python-modules/pandas/default.nix
+++ b/pkgs/development/python-modules/pandas/default.nix
@@ -35,8 +35,6 @@ in buildPythonPackage rec {
     sha256 = "9cd3614b4e31a0889388ff1bd19ae857ad52658b33f776065793c293a29cf612";
   };
 
-  LC_ALL = "en_US.UTF-8";
-
   checkInputs = [ pytest glibcLocales moto ];
 
   buildInputs = [] ++ optional isDarwin libcxx;
@@ -80,6 +78,8 @@ in buildPythonPackage rec {
     "test_datetime_name_accessors"
     # Can't import from test folder
     "test_oo_optimizable"
+    # Disable IO related tests because IO data is no longer distributed
+    "io"
   ] ++ optionals isDarwin [
     "test_locale"
     "test_clipboard"
@@ -97,8 +97,7 @@ in buildPythonPackage rec {
     chmod a+x pbcopy pbpaste
     export PATH=$(pwd):$PATH
   '' + ''
-    # pandas no longer seems to distribute datasets for IO tests
-    py.test $out/${python.sitePackages}/pandas --ignore=io --skip-slow --skip-network -k "$disabledTests"
+    LC_ALL="en_US.UTF-8" py.test $out/${python.sitePackages}/pandas --skip-slow --skip-network -k "$disabledTests"
     runHook postCheck
   '';