Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 3 commits into from

Conversation

@@ -72,6 +72,9 @@ 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you comment why it's important to get the newer Cython versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We rely on certain fixes that are part of the latest Cython version and changed our pinning to >=0.29 some time ago. This then sadly broke the windows wheels build. The main problem here is not actually that we want a newer Cython but that since some time conda-forge no longer builds packages for Python 3.5.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then perhaps pip install Cython or pip install -U Cython (if it's already installed) is better than explicit pinning of a given version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to >=0.29 as I don't want to use -U.

@xhochy
Copy link
Member Author

xhochy commented Feb 18, 2019

@kszucs
Copy link
Member

kszucs commented Feb 18, 2019

@xhochy
Copy link
Member Author

xhochy commented Feb 18, 2019

@kszucs Yes, they are!

@kszucs
Copy link
Member

kszucs commented Feb 18, 2019

Note that these changes won't take effect during the 0.12.1 release unless You cherry pick this commit as well.

@xhochy
Copy link
Member Author

xhochy commented Feb 18, 2019

I think we need these as otherwise we won't have a Windows wheel.

@kszucs kszucs closed this in 3088183 Feb 18, 2019
wesm pushed a commit that referenced this pull request Feb 18, 2019
Crossbow builds:

 * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453994
 * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453998

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #3684 from xhochy/ARROW-4612 and squashes the following commits:

ef3badf <Uwe L. Korn> Use newer pip version
b1b8fa1 <Uwe L. Korn> Change cython pin to lower bound
82c2be0 <Uwe L. Korn> ARROW-4612:  Use cython from PyPI for windows wheels build
@xhochy xhochy deleted the ARROW-4612 branch February 20, 2019 17:17
tanyaschlusser pushed a commit to tanyaschlusser/arrow that referenced this pull request Feb 21, 2019
Crossbow builds:

 * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453994
 * https://ci.appveyor.com/project/xhochy/crossbow/builds/22453998

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes apache#3684 from xhochy/ARROW-4612 and squashes the following commits:

ef3badf <Uwe L. Korn> Use newer pip version
b1b8fa1 <Uwe L. Korn> Change cython pin to lower bound
82c2be0 <Uwe L. Korn> ARROW-4612:  Use cython from PyPI for windows wheels build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants