Skip to content

Conversation

@wesm
Copy link
Member

@wesm wesm commented May 14, 2017

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

PyArray_IsIntegerScalar uses PyInt_Check with Python 3.4 and numpy==1.9.x Thus we probably need to raise our minimal NumPy version to >=1.10. For the manylinux1 build, you have to adjust it in python/manylinux1/scripts/build_virtualenvs.sh

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Copy link
Member

Choose a reason for hiding this comment

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

Please pin exactly here, we need the most minimal NumPy version at build time to stay compatible with as many numpy versions as possible.

@xhochy
Copy link
Member

xhochy commented May 14, 2017

I've made #684 to get a new base docker-image.

Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason not to use RETURN_IF_PYERROR() here?

Copy link
Member Author

Choose a reason for hiding this comment

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

nope, changed

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be PyFloat_AsDouble followed by RETURN_IF_PYERROR() to make sure that errors raised by Python are propagated?

Copy link
Member Author

Choose a reason for hiding this comment

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

reasons why PyFloat_AsDouble would fail after passing PyFloat_Check seem esoteric to me, but I've changed it to be on the safe side

wesm added 3 commits May 14, 2017 15:38
Change-Id: I69c2960b510fd5e1eeef66ac614b40019b545825
Change-Id: Id1f5aa57b6fd090dc295a956e2a91b74e333fd96
Change-Id: Icaf053db0b8141af18fe19a8e11e9541cc591af9
Copy link
Contributor

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@wesm
Copy link
Member Author

wesm commented May 14, 2017

Cool, here is the appveyor build: https://ci.appveyor.com/project/wesm/arrow/build/1.0.431

@asfgit asfgit closed this in 37dbddf May 14, 2017
jeffknupp pushed a commit to jeffknupp/arrow that referenced this pull request Jun 3, 2017
…egers and floats

Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes apache#681 from wesm/ARROW-1004 and squashes the following commits:

9e0b2ea [Wes McKinney] Code review comments
45f1ecb [Wes McKinney] Fixes for manylinux1
4e4c752 [Wes McKinney] Add conversions for numpy object arrays with integers and floats
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
This PR updates to parent Apache POM 34 with new plugins versions.
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