-
Notifications
You must be signed in to change notification settings - Fork 25
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 for numpy<2? #184
Comments
Hey! We're using numpy 2.0 for the new variable-length string dtype, as a good way to efficiently store arrays of paths to files. Context here: If you really want backwards-compatibility and you want to make a contribution we can accept a PR that generalizes this, but its always going to be less efficient to use a fixed-length string dtype. |
Thanks a lot for the explanation! Relying on a new dtype seems like fairly essential use of 2.0, and it'd probably be a significant amount of work to maintain a parallel backwards-compatible implementation. I tracked down one of my current bottlenecks which is I think my current strategy will be to build a separate container for the kerchunking step of my pipeline so that I can make use of VirtualiZarr until numpy 2 is widely supported. Thanks so much for the quick response, it's really helpful! |
Sounds good! Let us know how you get on using VirtualiZarr. |
With the PyTables release just now, there are no more dependency constraints blocking me from upgrading to NumPy 2 and using VirtualiZarr in my main environment. 🚀 |
I'm really excited about this project, but it's currently pretty difficult to install in any non-minimal environment because Numpy 2.0 is so recent. How essential is your use of 2.0 features? Is there any chance of this being relaxed?
The text was updated successfully, but these errors were encountered: