Skip to content

Fix numpy dtypes test on big-endian architectures #1287

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

Merged
merged 1 commit into from
Feb 18, 2018

Conversation

jagerman
Copy link
Member

This fixes the test code on big-endian architectures: the array support
(PR #832) had hard-coded the little-endian '<' but we need to use '>' on
big-endian architectures.

Fixes #1282

This fixes the test code on big-endian architectures: the array support
(PR pybind#832) had hard-coded the little-endian '<' but we need to use '>' on
big-endian architectures.
@jagerman
Copy link
Member Author

(Updated with a flake8 code style fix.)

@wjakob
Copy link
Member

wjakob commented Feb 18, 2018

Looks good -- merged.

@wjakob wjakob merged commit 431fc0e into pybind:master Feb 18, 2018
@wjakob
Copy link
Member

wjakob commented Feb 18, 2018

(it's nice to have these CI tests for non-Intel architectures, although with a bit of latency..)

We might want to push out another patch release so that distributions can update to the latest version. Are there any other patches that we are worth adding?

@jagerman
Copy link
Member Author

I'll add a 2.2.3 milestone to track it, but I don't think it's worth rolling a new release just for this--it's only a patch to the test code rather than actually fixing anything in pybind itself.

@jagerman jagerman added this to the v2.2.3 milestone Feb 18, 2018
@jbarlow83 jbarlow83 mentioned this pull request Apr 25, 2018
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.

Tests fail on ppc64 and s390x
2 participants