3
0
Fork 0
forked from mirrors/nixpkgs

pyarrow: disable jvm test

This commit is contained in:
Dmitry Kalinkin 2018-10-25 23:14:27 -04:00
parent 6ae3cb4d36
commit e76082a941
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, JPype1, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }: { lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }:
let let
_arrow-cpp = arrow-cpp.override { inherit python; }; _arrow-cpp = arrow-cpp.override { inherit python; };
@ -13,12 +13,13 @@ buildPythonPackage rec {
nativeBuildInputs = [ cmake cython pkgconfig setuptools_scm ]; nativeBuildInputs = [ cmake cython pkgconfig setuptools_scm ];
propagatedBuildInputs = [ numpy six ] ++ lib.optionals (!isPy3k) [ futures ]; propagatedBuildInputs = [ numpy six ] ++ lib.optionals (!isPy3k) [ futures ];
checkInputs = [ pandas pytest JPype1 ]; checkInputs = [ pandas pytest ];
PYARROW_BUILD_TYPE = "release"; PYARROW_BUILD_TYPE = "release";
PYARROW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"; PYARROW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib";
preCheck = '' preCheck = ''
rm pyarrow/tests/test_jvm.py
rm pyarrow/tests/test_hdfs.py rm pyarrow/tests/test_hdfs.py
rm pyarrow/tests/test_cuda.py rm pyarrow/tests/test_cuda.py