Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 2.28 KB

3.9.rst

File metadata and controls

56 lines (45 loc) · 2.28 KB

What's new in h5py 3.9

This version of h5py requires Python 3.8 or above.

New features

Deprecations & removals

  • Using :meth:`.Dataset.astype` as a context manager has been removed, after being deprecated in h5py 3.6. Read data by slicing the returned object instead: dset.astype('f4')[:].

Exposing HDF5 functions

Bug fixes

  • Group.__contains__ and Group.get now use the default link access property list systematically (:pr:`2244`).
  • Removed various calls to the deprecated numpy.product function (:pr:`2242` & :pr:`2273`).
  • Fix the IPython tab-completion integration in IPython 8.12 (:pr:2256`).
  • Replacing attributes with :meth:`.AttributeManager.create` now deletes the old attributes before creating the new one, rather than using a temporary name and renaming the new attribute (:pr:`2274`). This should avoid some confusing bugs affecting attributes. However, failures creating an attribute are less likely to leave an existing attribute of the same name in place. To change an attribute value without changing its shape or dtype, use :meth:`~.AttributeManager.modify` instead.

Building h5py

  • When building with :ref:`parallel` support, the version of mpi4py used on various Python versions is increased to 3.1.1, fixing building with a newer setuptools (:pr:`2225`).
  • Some fixes towards compatibility with the upcoming Cython 3 (:pr:`2247`).