Pin Cython to 0.27.3 to fix travis builds. (#1718)

This commit is contained in:
Robert Nishihara
2018-03-13 22:18:08 -07:00
committed by Philipp Moritz
parent 8c1066cdba
commit adffc7bfea
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ for ((i=0; i<${#PY_VERSIONS[@]}; ++i)); do
$PIP_CMD install -q setuptools_scm
# Fix the numpy version because this will be the oldest numpy version we can
# support.
$PIP_CMD install -q numpy==1.10.4 cython
$PIP_CMD install -q numpy==1.10.4 cython==0.27.3
# Install wheel to avoid the error "invalid command 'bdist_wheel'".
$PIP_CMD install -q wheel
# Add the correct Python to the path and build the wheel. This is only
+1 -1
View File
@@ -21,7 +21,7 @@ for PYTHON in cp27-cp27mu cp33-cp33m cp34-cp34m cp35-cp35m cp36-cp36m; do
pushd python
# Fix the numpy version because this will be the oldest numpy version we can
# support.
/opt/python/${PYTHON}/bin/pip install -q numpy==1.10.4 cython
/opt/python/${PYTHON}/bin/pip install -q numpy==1.10.4 cython==0.27.3
INCLUDE_UI=1 PATH=/opt/python/${PYTHON}/bin:$PATH /opt/python/${PYTHON}/bin/python setup.py bdist_wheel
# In the future, run auditwheel here.
mv dist/*.whl ../.whl/