Merge pull request #54400 from veprbl/pr/arrow_0.12.0

arrow-cpp, pythonPackages.pyarrow: 0.11.0 -> 0.12.0
This commit is contained in:
Silvan Mosberger
2019-01-24 00:42:02 +01:00
committed by GitHub
4 changed files with 13 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }:
{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, hypothesis, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }:
let
_arrow-cpp = arrow-cpp.override { inherit python; };
@@ -13,10 +13,15 @@ buildPythonPackage rec {
nativeBuildInputs = [ cmake cython pkgconfig setuptools_scm ];
propagatedBuildInputs = [ numpy six ] ++ lib.optionals (!isPy3k) [ futures ];
checkInputs = [ pandas pytest ];
checkInputs = [ hypothesis pandas pytest ];
PYARROW_BUILD_TYPE = "release";
PYARROW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib";
PYARROW_CMAKE_OPTIONS = [
"-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib"
# for some reason cmake won't set -std=c++11 for clang
"-DPYARROW_CXXFLAGS=-std=c++11"
];
preCheck = ''
rm pyarrow/tests/test_jvm.py