diff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.bat index f85c8e8b7490e..8f7f6f4b7db83 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 ^