mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 04:55:04 +08:00
Pin Cython to 0.27.3 to fix travis builds. (#1718)
This commit is contained in:
committed by
Philipp Moritz
parent
8c1066cdba
commit
adffc7bfea
@@ -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
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user