From 262f03333940072766bbd2612fb72c9cbc45951d Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 18 Feb 2019 20:05:09 +0100 Subject: [PATCH] =?UTF-8?q?ARROW-4612:=20[Python]=C2=A0Use=20cython=20from?= =?UTF-8?q?=20PyPI=20for=20windows=20wheels=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Crossbow builds: * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453994 * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453998 Author: Uwe L. Korn Closes #3684 from xhochy/ARROW-4612 and squashes the following commits: ef3badf4 Use newer pip version b1b8fa19 Change cython pin to lower bound 82c2be04 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 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 ^