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

Building with NumPy 2.0.0rc1 #204

Closed
jakirkham opened this issue Apr 1, 2024 · 5 comments · Fixed by #207
Closed

Building with NumPy 2.0.0rc1 #204

jakirkham opened this issue Apr 1, 2024 · 5 comments · Fixed by #207

Comments

@jakirkham
Copy link
Member

NumPy 2.0.0 is in the process of being released (currently on 2.0.0rc1) with a number of changes ( numpy/numpy#24300 ). Most notably the way we build with NumPy may need changes. This will involve building with the latest NumPy and then configuring builds to support older NumPy versions (and validating binaries target the intended NumPy version)

There is some discussion about this in issue ( conda-forge/numpy-feedstock#311 ) along with details on how to test builds with NumPy 2.0.0rc1. The next step to take here would be to try building the Pandas packages with NumPy 2.0.0rc1

Not sure what the state of Pandas support for NumPy 2 is (and whether we need an RC or new fixes). So getting a better idea on what is still needed on the Pandas side would help

@jakirkham
Copy link
Member Author

Not sure what the state of Pandas support for NumPy 2 is (and whether we need an RC or new fixes). So getting a better idea on what is still needed on the Pandas side would help

Maybe Pandas 2.2.2 is the version to target?

xref:

@lithomas1
Copy link
Contributor

Yep.

I messed up the PR building with numpy 2.0, so pandas-dev/pandas#55519 needs a redo, but expect a pandas 2.2.2 release soonish.

@lithomas1
Copy link
Contributor

@jakirkham
Just FYI,
pandas 2.2.2 should be out now with full numpy 2.0 compat.

@jakirkham
Copy link
Member Author

Thanks Thomas! 🙏

@jakirkham
Copy link
Member Author

Axel put together a NumPy 2 PR: #207

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 a pull request may close this issue.

2 participants