What’s new in h5py 3.6¶
Pre-built packages are now available for Python 3.10.
Dataset.astype()as a context manager (
with dset.astype(t):) is deprecated. Slice the object returned by astype instead (
data = dset.astype(t)[:10]). This works from h5py 3.0 onwards.
Getting the value of
h5py.get_config().default_file_modenow issues a deprecation warning. This has been
'r'by default from h5py 3.0, and cannot be changed since 3.3.
h5py now requires the
oldest-supported-numpypackage at build time, instead of maintaining its own list of the oldest supported NumPy versions. The effect should be similar, but hopefully more reliable.