mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
python3.pkgs.pandas: fix build, for real
This commit is contained in:
parent
c9dca79fda
commit
8364053af4
@ -35,8 +35,6 @@ in buildPythonPackage rec {
|
|||||||
sha256 = "9cd3614b4e31a0889388ff1bd19ae857ad52658b33f776065793c293a29cf612";
|
sha256 = "9cd3614b4e31a0889388ff1bd19ae857ad52658b33f776065793c293a29cf612";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
|
||||||
|
|
||||||
checkInputs = [ pytest glibcLocales moto ];
|
checkInputs = [ pytest glibcLocales moto ];
|
||||||
|
|
||||||
buildInputs = [] ++ optional isDarwin libcxx;
|
buildInputs = [] ++ optional isDarwin libcxx;
|
||||||
@ -80,6 +78,8 @@ in buildPythonPackage rec {
|
|||||||
"test_datetime_name_accessors"
|
"test_datetime_name_accessors"
|
||||||
# Can't import from test folder
|
# Can't import from test folder
|
||||||
"test_oo_optimizable"
|
"test_oo_optimizable"
|
||||||
|
# Disable IO related tests because IO data is no longer distributed
|
||||||
|
"io"
|
||||||
] ++ optionals isDarwin [
|
] ++ optionals isDarwin [
|
||||||
"test_locale"
|
"test_locale"
|
||||||
"test_clipboard"
|
"test_clipboard"
|
||||||
@ -97,8 +97,7 @@ in buildPythonPackage rec {
|
|||||||
chmod a+x pbcopy pbpaste
|
chmod a+x pbcopy pbpaste
|
||||||
export PATH=$(pwd):$PATH
|
export PATH=$(pwd):$PATH
|
||||||
'' + ''
|
'' + ''
|
||||||
# pandas no longer seems to distribute datasets for IO tests
|
LC_ALL="en_US.UTF-8" py.test $out/${python.sitePackages}/pandas --skip-slow --skip-network -k "$disabledTests"
|
||||||
py.test $out/${python.sitePackages}/pandas --ignore=io --skip-slow --skip-network -k "$disabledTests"
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user