Skip to content

Latest commit

 

History

History
81 lines (73 loc) · 3.82 KB

2.8.rst

File metadata and controls

81 lines (73 loc) · 3.82 KB

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.

API changes

  • Deprecation of h5t.available_ftypes. This is no longer used internally and will be removed in the future. There is no replacement public API. See :issue:`926` for how to add addition floating point types to h5py.
  • Do not sort fields in compound types (:issue:`970` by James Tocknell). This is to account for changes in numpy 1.14.
  • Minimum required version of Cython is now 0.23.

Features

  • Allow registration of new file drivers (:issue:`956` by Joe Jevnik).
  • Add option to track object creation order to Group.create_group (:issue:`968` by Chen Yufei)

Bug fixes

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 :issue:`857`, :issue:`894`, :issue:`922`, :issue:`954` and :issue:`962` by Thomas A Caswell and James Tocknell for more details.

Other changes

  • Emphasise reading from HDF5 files rather than writing to files in Quickguide (:issue:`609`, :issue:`610` 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.
  • Use lazy-loading of run_tests to avoid strong dependency on unittest2 (:issue:`1013`, :issue:`1014` by Thomas VINCENT)
  • Correctly handle with multiple float types of the same size (:issue:`926` 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.