Skip to content

Deprecation warning when loading old H5 files with Numpy >= 2.4 #1178

@gdementen

Description

@gdementen

It seems like it is caused by unpickling some data inside the H5 file.

The issue is in pytables. I hope it is PyTables/PyTables#1290 and thus already fixed for pytables 3.11, but I am unsure.

I also do not know if the bad code is because of an old pytables version (and the code is embedded inside the pickle string in the datafile) or if that datafile triggers some code path in the currently installed pytables version. If that's the former, this is extremely annoying because we would need to tell our users to update their old data files before numpy stops working with this bad code.

If it is the later, we can just ignore the warning and wait for pytables to be updated (which might be the case already in 3.11 but even if not it will be so eventually). I will leave this issue open until I know which option it is.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions