Skip to content

Apache DataFusion SQL Query Engine

ARROW-4612: [Python] Use cython from PyPI for windows wheels build

Uwe L. Korn1a05b4845257
diff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.bat
index f85c8e8b74..8f7f6f4b7d 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 ^