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

Numpy 2.0 incompatibility #194

Open
Holmgren825 opened this issue Sep 9, 2024 · 3 comments
Open

Numpy 2.0 incompatibility #194

Holmgren825 opened this issue Sep 9, 2024 · 3 comments

Comments

@Holmgren825
Copy link
Member

Edu notebooks run on binder are currently not working due to a change in numpy 2.0: np.NaN was removed in the NumPy 2.0 release. Use np.nan instead. This is thrown in the flowline model, so needs to be fixed in OGGM, but this is a larger change. An easy fix here would be to pin numpy < 2.0.

@fmaussion
Copy link
Member

I'm amazed the notebooks run on Binder at all. How about classroom?

@Holmgren825
Copy link
Member Author

No problem regarding this specific issue on 1.6.1. There is some bokeh related issue on 1.6.2.

@fmaussion
Copy link
Member

1.6.2 we should fix.

Numpy 2.0 support will need more time, probably until end of year (cc @pat-schmitt in case he is not listening here)

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