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

Detection of numpy capabilities (complex256) #92

Open
hmaarrfk opened this issue Oct 16, 2024 · 0 comments
Open

Detection of numpy capabilities (complex256) #92

hmaarrfk opened this issue Oct 16, 2024 · 0 comments
Labels
question Further information is requested

Comments

@hmaarrfk
Copy link

Comment:

@conda-forge/h5py has been having trouble with detection of complex256 support on cross compiled platforms.

I'm curious if there is a good way to do this with cross python. For reference h5py upstream
https://github.com/h5py/h5py/blob/b4994d07aa9e07b231b759019b12a231c13d5558/setup_build.py#L132 (h5py version 3.12.1)

uses

import numpy
complex256_support = hasattr(numpy, 'complex256')

which will return true on "cross compiled", but our version of numpy on osx+arm doesn't support complex256.

This is causing issues.

Is there a better test we can recommend for upstream.

Any other recommendations welcome!

@hmaarrfk hmaarrfk added the question Further information is requested label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant