What’s new in h5py 2.8¶
This is the first release of the h5py 2.8 series. Note that the 2.8 series is the last series of h5py to support Python 2.6 and 3.3. Users should look to moving to Python 2.7 or (preferably) Python 3.4 or higher, as earlier releases are now outside of security support.
h5t.available_ftypes. This is no longer used internally and will be removed in the future. There is no replacement public API. See GH926 for how to add addition floating point types to h5py.
Do not sort fields in compound types (GH970 by James Tocknell). This is to account for changes in numpy 1.14.
Minimum required version of Cython is now 0.23.
Support slices with stop < start as empty slices (GH924 by Joe Jevnik)
Avoid crashing the IPython auto-completer when missing key (GH885, GH958 by James Tocknell). The auto-completer currently only works on older versions of IPython, see GH1022 for what’s needed to support newer versions of IPython/jupyter (PRs welcome!)
Update floating point type handling as flagged by numpy deprecation warning (GH985, by Eric Larson)
Fix compatibility with Python 3 in document generation (GH921 by Ghislain Antony Vaillant)
Add license field to
setup.pymetadata (GH999 by Nils Werner).
write_directto the documentation (GH1028 by Sajid Ali and Thomas A Caswell)
Wheels HDF5 Version¶
Wheels uploaded to PyPI will now be built against the HDF5 1.10 series as opposed to the 1.8 series (h5py 2.8 is built against HDF5 1.10.2).
CI/Testing improvements and fixes¶
There were a number of improvements to testing and CI systems of h5py, including running the CI against multiple versions of HDF5, improving reliability and speed of the CIs, and simplifying the tox file. See GH857, GH894, GH922, GH954 and GH962 by Thomas A Caswell and James Tocknell for more details.
Emphasise reading from HDF5 files rather than writing to files in Quickguide (GH609, GH610 by Yu Feng). Note these changes were in the 2.5 branch, but never got merged into master. The h5py 2.8 release now actually includes these changes.
Correctly handle with multiple float types of the same size (GH926 by James Tocknell)
Acknowledgements and Thanks¶
The h5py developers thank Nathan Goldbaum, Matthew Brett, and Christoph Gohlke for building the wheels that appear on PyPI.