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

support numpy>2.0? #308

Open
nbecker opened this issue Mar 18, 2024 · 2 comments
Open

support numpy>2.0? #308

nbecker opened this issue Mar 18, 2024 · 2 comments

Comments

@nbecker
Copy link

nbecker commented Mar 18, 2024

Haven't tried it, but I'm assuming changes will be needed for numpy > 2.0 API?

@nbecker
Copy link
Author

nbecker commented Jun 24, 2024

I have built all of my code examples against numpy-2.0.0 + xtensor-python-0.26.1 and everything builds and seems to run (I don't really have a test suite)

@jakirkham
Copy link

Skimming the code it looks like NumPy is mainly used via pybind11

Starting with pybind11 2.12.0, it supports NumPy 2: pybind/pybind11#5009

So it does seem probable that things would just work. Though haven't dug any deeper

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

No branches or pull requests

2 participants