This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 3088183 ARROW-4612: [Python] Use cython from PyPI for windows wheels
build
3088183 is described below
commit 308818340303af5dbeda61f6a7c5f4ff618a3059
Author: Uwe L. Korn <[email protected]>
AuthorDate: Mon Feb 18 20:05:09 2019 +0100
ARROW-4612: [Python] Use cython from PyPI for windows wheels build
Crossbow builds:
* https://ci.appveyor.com/project/xhochy/crossbow/builds/22453994
* https://ci.appveyor.com/project/xhochy/crossbow/builds/22453998
Author: Uwe L. Korn <[email protected]>
Closes #3684 from xhochy/ARROW-4612 and squashes the following commits:
ef3badf4 <Uwe L. Korn> Use newer pip version
b1b8fa19 <Uwe L. Korn> Change cython pin to lower bound
82c2be04 <Uwe L. Korn> ARROW-4612: Use cython from PyPI for windows wheels
build
---
dev/tasks/python-wheels/win-build.bat | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev/tasks/python-wheels/win-build.bat
b/dev/tasks/python-wheels/win-build.bat
index f85c8e8..8f7f6f4 100644
--- a/dev/tasks/python-wheels/win-build.bat
+++ b/dev/tasks/python-wheels/win-build.bat
@@ -20,7 +20,7 @@
conda update --yes --quiet conda
conda create -n arrow -q -y python=%PYTHON% ^
- six pytest setuptools numpy=%NUMPY% pandas cython
+ six pytest setuptools numpy=%NUMPY% pandas
conda install -n arrow -q -y -c conda-forge ^
git flatbuffers rapidjson ^
@@ -72,6 +72,10 @@ pushd %ARROW_SRC%\python
set PYARROW_BUILD_TYPE=Release
set SETUPTOOLS_SCM_PRETEND_VERSION=%PYARROW_VERSION%
+@rem Newer Cython versions are not available on conda-forge
+pip install -U pip
+pip install "Cython>=0.29"
+
python setup.py build_ext ^
--with-parquet ^
--with-static-boost ^