./devel/py-h5py, Python interface to the HDF5 library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.11.0, Package name: py311-h5py-3.11.0, Maintainer: jihbed.research

The h5py package provides both a high- and low-level interface to the HDF5
library from Python. The low-level interface is intended to be a complete
wrapping of the HDF5 API, while the high-level component supports access to
HDF5 files, datasets and groups using established Python and NumPy concepts.

A strong emphasis on automatic conversion between Python (Numpy) datatypes and
data structures and their HDF5 equivalents vastly simplifies the process of
reading and writing data from Python.


Required to run:
[devel/py-setuptools] [devel/hdf5] [math/py-numpy] [devel/py-cython] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-pkgconfig]

Master sites:

Filesize: 396.991 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-13 21:29:09 by Thomas Klausner | Files touched by this commit (12) | Package updated
Log message:
py-h5py: update to 3.10.0.

pkgsrc change: Use post-release upstream code to fix build with Cython 3.

What's new in h5py 3.10
=======================

New features
------------

* h5py now has pre-built packages for Python 3.12.
* Pre-built packages on Linux & Windows now bundle HDF5 version 1.14.2.
  Mac packages still contain HDF5 1.12.2 for now. You can still :ref:`build h5py
  from source <source_install>` against a wider range of HDF5 versions.
* The read-only S3 file driver ('ros3') now accepts an AWS session token
  as part of the credentials (:pr:`2301`). Pass ``session_token`` when opening
  a :class:`.File` (along with the other S3 parameters). This requires HDF5
  1.14.2 or later, with the ROS3 feature built.

Deprecations & removals
-----------------------

* Support for the HDF5 1.8 series was dropped, along with early 1.10 releases.
  The minimum required HDF5 version is now 1.10.4.

Exposing HDF5 functions
-----------------------

* ``H5Pget_fapl_ros3_token`` & ``H5Pset_fapl_ros3_token``

Bug fixes
---------

* Various nasty bugs when using nested compound and vlen data types have been
  fixed (:pr:`2134`).
* Fixed an ``OverflowError`` in some cases when registering a filter with
  :func:`h5z.register_filter`, especially on 32-bit architectures (:pr:`2318`).
* Sequential slicing/indexing operations on a :class:`.VirtualSource` object
  (e.g. ``source[:10][::2]``)  now raise an error, rather than giving incorrect
  results (:pr:`2280`).

Building h5py
-------------

* h5py now uses HDF5's 1.10 compatibility mode at compile time rather than the
  1.8 compatibility mode (:pr:`2320`). This is normally transparent even if you're
  building h5py from source.
   2023-08-31 13:58:40 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-h5py: updated to 3.9.0

What's new in h5py 3.9
======================

This version of h5py requires Python 3.8 or above.

New features
------------

* New ``out`` argument to :meth:`~h5py.h5d.DatasetID.read_direct_chunk` to allow \ 
passing
  the output buffer (:pr:`2232`).
* The objects from :meth:`.Dataset.asstr` and :meth:`.Dataset.astype` now
  implement the ``__array__()`` method (:pr:`2269`).
  This speeds up access for functions that support it, such as ``np.asarray()``.
* Validate key types when creating groups and attributes, giving better error
  messages when invalid types are used (:pr:`2266`).

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
-----------------------

* ``H5Pget_elink_acc_flags`` & ``H5Pset_elink_acc_flags`` as
  :meth:`h5py.h5p.PropLAID.get_elink_acc_flags` & \ 
:meth:`h5py.h5p.PropLAID.set_elink_acc_flags`:
  access the external link file access traversal flags in a link access property
  list (:pr:`2244`).
* ``H5Zregister`` as :func:`h5py.h5z.register_filter`: register an HDF5 filter
  (:pr:`2229`).

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`).
   2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158)
Log message:
*: remove more references to Python 3.7
   2023-07-01 10:37:47 by Thomas Klausner | Files touched by this commit (105) | Package updated
Log message:
*: restrict py-numpy users to 3.9+ in preparation for update
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-04-15 13:37:46 by Nia Alarie | Files touched by this commit (8)
Log message:
*: Mark various packages incompatible with Python 3.7 due to numpy
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-30 14:05:42 by Adam Ciarcinski | Files touched by this commit (125)
Log message:
Forget about Python 3.6