ipyvolume
ipyvolume copied to clipboard
fix: support numpy2 compatibility
Since numpy2 we need to explicitly decide how to deal with values out of range.
I think that's a reasonable fix. Is this compatible with numpy 1? If not, can we make it compatible?
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.
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?