Skip to content

fix: support numpy2 compatibility #448

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

flokli
Copy link

@flokli flokli commented Apr 30, 2025

Since numpy2 we need to explicitly decide how to deal with values out of range.

Since numpy2 we need to explicitly decide how to deal with values out
of range.
@maartenbreddels
Copy link
Collaborator

I think that's a reasonable fix. Is this compatible with numpy 1? If not, can we make it compatible?

@flokli
Copy link
Author

flokli commented May 1, 2025

Both functions exists in 1.26, so I'd say yes. It's a bit hard to test for me in this environment, as numpy2 propagates from all other inputs as well and would need to be replaced.

@flokli
Copy link
Author

flokli commented May 1, 2025

I tried to do the overrides in downstream dependencies (bqplot, bqscales, pandas), but it's not possible to build pandas with numpy 1 anymore, making it really hard for me to test here.

Are you able to run the tests from your side, with a numpy 1 in the environment?

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.

2 participants