diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-10-26 09:18:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 09:18:36 +0100 |
commit | e438125d979151674599ceaf1d05fbd776e476a0 (patch) | |
tree | 25203f45330a46617a96f0a81e0e779c4c6e7272 /pkgs | |
parent | 8afb3b68b7cf86361fa06fe431831ce4e034bfa7 (diff) | |
parent | e76082a9412dad2ee6a5fa113950d539d95c9ca8 (diff) | |
download | nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar.gz nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar.bz2 nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar.lz nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar.xz nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.tar.zst nixpkgs-e438125d979151674599ceaf1d05fbd776e476a0.zip |
Merge pull request #49130 from veprbl/pr/pyarrow_darwin_hydra_fix
pythonPackages.pyarrow: fix running tests on hydra
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pyarrow/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyarrow/default.nix b/pkgs/development/python-modules/pyarrow/default.nix index 8ebb88fa6a7..d588ebb12e4 100644 --- a/pkgs/development/python-modules/pyarrow/default.nix +++ b/pkgs/development/python-modules/pyarrow/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, JPype1, numpy, pandas, pytest, pytestrunner, pkgconfig, setuptools_scm, six }: +{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }: let _arrow-cpp = arrow-cpp.override { inherit python; }; @@ -13,12 +13,13 @@ buildPythonPackage rec { nativeBuildInputs = [ cmake cython pkgconfig setuptools_scm ]; propagatedBuildInputs = [ numpy six ] ++ lib.optionals (!isPy3k) [ futures ]; - checkInputs = [ pandas pytest pytestrunner JPype1 ]; + checkInputs = [ pandas pytest ]; PYARROW_BUILD_TYPE = "release"; PYARROW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"; preCheck = '' + rm pyarrow/tests/test_jvm.py rm pyarrow/tests/test_hdfs.py rm pyarrow/tests/test_cuda.py @@ -43,6 +44,14 @@ buildPythonPackage rec { setupPyBuildFlags = ["--with-parquet" ]; + checkPhase = '' + mv pyarrow/tests tests + rm -rf pyarrow + mkdir pyarrow + mv tests pyarrow/tests + pytest -v + ''; + meta = with lib; { description = "A cross-language development platform for in-memory data"; homepage = https://arrow.apache.org/; |