Skip to content

Commit 2c20c09

Browse files
committed
ARROW-2589: [CI] Avoid Pandas 0.23.0
There is a regression (*) in Pandas 0.23.0 that breaks test_parquet.py. Pin to 0.22.0 until the issue gets fixed upstream. (*) pandas-dev/pandas#21083
1 parent 6ca246a commit 2c20c09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/cpp-python-msvc-build.bat

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ if "%JOB%" == "Build_Debug" (
6868
exit /B 0
6969
)
7070

71+
@rem Pandas pinned to 0.22.0 because of regression in 0.23.0 (ARROW-2589)
7172
conda create -n arrow -q -y python=%PYTHON% ^
72-
six pytest setuptools numpy pandas cython ^
73+
six pytest setuptools numpy pandas=0.22.0 cython ^
7374
thrift-cpp=0.11.0
7475

7576
call activate arrow

ci/travis_script_python.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ source activate $CONDA_ENV_DIR
3636
python --version
3737
which python
3838

39+
# Pandas pinned to 0.22.0 because of regression in 0.23.0 (ARROW-2589)
3940
conda install -y -q pip \
4041
nomkl \
4142
cloudpickle \
4243
numpy=1.13.1 \
43-
pandas \
44+
pandas=0.22.0 \
4445
cython
4546

4647
# ARROW-2093: PyTorch increases the size of our conda dependency stack

0 commit comments

Comments
 (0)