What’s new in h5py 3.2¶
Breaking changes & deprecations¶
Python 3.7 is now the minimum supported version. It may still be possible to use this release with Python 3.6, but it isn’t tested and wheels are not provided for Python 3.6.
Setting the config option
default_file_modeto values other than
'r'is deprecated. Pass the desired mode when opening a
Exposing HDF5 functions¶
H5Pget_fapl_ros3(where HDF5 is built with read-only S3 support).
OSErrorexceptions raised by h5py should now have a useful
.errnoattribute, where HDF5 provides this information. Subclasses such as
FileNotFoundErrorshould also be raised where appropriate (PR 1815).
Fix reading data with a datatype of variable-length arrays of fixed length strings (GH1817).
Issue a warning when
File(..., swmr=True)is specified with any mode other than
'r', as the SWMR option is ignored in these cases (PR 1812).
Fix NumPy 1.20 deprecation warnings concerning the use of None as shape, and the deprecated aliases np.float, np.int and np.bool (PR 1780).