Skip to content

Apache DataFusion SQL Query Engine

ARROW-4260: [Python] NumPy buffer protocol failure

Krisztián Szűcs0ee2088645ed
diff --git a/ci/appveyor-cpp-build.bat b/ci/appveyor-cpp-build.bat
index 387dd55d18..78f5e41928 100644
--- a/ci/appveyor-cpp-build.bat
+++ b/ci/appveyor-cpp-build.bat
@@ -95,11 +95,12 @@ if "%JOB%" == "Build_Debug" (
exit /B 0
)
-conda create -n arrow -q -y ^
+conda create -n arrow -q -y -c conda-forge ^
+ --file=ci\conda_env_python.yml ^
python=%PYTHON% ^
- six pytest setuptools numpy pandas cython hypothesis ^
- thrift-cpp=0.11.0 boost-cpp ^
- -c conda-forge
+ numpy=1.14 ^
+ thrift-cpp=0.11 ^
+ boost-cpp
call activate arrow
@@ -109,9 +110,9 @@ set BOOST_LIBRARYDIR=%CONDA_PREFIX%\Library\lib
if "%JOB%" == "Toolchain" (
@rem Install pre-built "toolchain" packages for faster builds
- conda install -q -y --file=ci\conda_env_cpp.yml ^
- python=%PYTHON% ^
- -c conda-forge
+ conda install -q -y -c conda-forge ^
+ --file=ci\conda_env_cpp.yml ^
+ python=%PYTHON%
set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
)
diff --git a/ci/cpp-msvc-build-main.bat b/ci/cpp-msvc-build-main.bat
index 644170775d..d9d7e548dd 100644
--- a/ci/cpp-msvc-build-main.bat
+++ b/ci/cpp-msvc-build-main.bat
@@ -72,7 +72,7 @@ popd
pushd python
-pip install pickle5
+pip install -r requirements.txt pickle5
set PYARROW_CXXFLAGS=%ARROW_CXXFLAGS%
set PYARROW_CMAKE_GENERATOR=%GENERATOR%
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index e9a1122755..c3e2d1903c 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -50,7 +50,7 @@ conda create -y -q -p $CONDA_ENV_DIR \
nomkl \
cmake \
pip \
- numpy=1.13.1 \
+ numpy=1.14 \
python=${PYTHON_VERSION} \
${CONDA_JVM_DEPS}
@@ -124,7 +124,7 @@ $ARROW_CPP_BUILD_DIR/$ARROW_BUILD_TYPE/arrow-python-test
pushd $ARROW_PYTHON_DIR
# Other stuff pip install
-pip install -q -r requirements.txt
+pip install -r requirements.txt
if [ "$PYTHON_VERSION" == "3.6" ]; then
pip install -q pickle5