NeurodataWithoutBorders / pynwb

A Python API for working with Neurodata stored in the NWB Format
https://pynwb.readthedocs.io
Other
176 stars 85 forks source link

[Bug]: Numpy 2.0 #1896

Closed mavaylon1 closed 1 week ago

mavaylon1 commented 4 months ago

What happened?

Numpy 2.0 deprecated some functions, leading to tests not passing in the run all tests workflow. The simple fix I have planned in hdmf-zarr/hdmf is to just pin numpy below 2.0 until python 3.8 is deprecated in October. We can then update the deprecations then.

Steps to Reproduce

run all tests workflow

Traceback

No response

Operating System

Windows

Python Executable

Conda

Python Version

lower version (unsupported)

Package Versions

No response

Code of Conduct

rly commented 3 weeks ago

HDMF now supports numpy 2.0. @mavaylon1 said that he will bump up the requirements in pynwb to include numpy 2.0 and coordinate with @stephprince on a new bugfix release in the next two weeks.