pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-h5py
Module Name: pkgsrc
Committed By: adam
Date: Mon Sep 7 16:18:52 UTC 2026
Modified Files:
pkgsrc/devel/py-h5py: Makefile PLIST distinfo
Log Message:
py-h5py: updated to 3.16.0
What's new in h5py 3.16
New features
* Pre-built packages on PyPI are now built with HDF5 2.0
* h5py now marks itself compatible with free-threading Python.
There are tests for this
bugs. Be cautious about relying on this in critical code.
* Support for storing NumPy complex numbers in HDF5 files using C99 complex
number datatypes
or above, so long as the compiler and the build platform implement the relevant
C99 features.
h5py will still convert NumPy complex numbers into an HDF5 compound datatype
by default, preserving the behaviour from earlier versions. See
:ref:`complex_dtypes` for how to use the new datatypes.
* New attributes :attr:`~.Dataset.filter_ids` and :attr:`~.Dataset.filter_names`
to provide more precise information on the filters set up for a dataset
* New :meth:`h5py.Group.get` arguments to configure external links access
properties: ``elink_mode``, ``elink_swmr`` and ``elink_locking``
* Pre-built Mac & Windows packages on PyPI now bundle zlib 1.3.2
Breaking Changes and Deprecations
* Creating a dataset with neither ``data`` nor ``dtype`` specified is deprecated.
We plan to make this an error in h5py 4.0. Use ``dtype='f4'`` to keep the
current default (which is different from NumPy's default).
* ``h5py.config().read_byte_strings`` is deprecated. This has no effect since
h5py 3.0, and we plan to get rid of it in 4.0.
Bug fixes
* Indexing datasets with an array or list of indices is now much faster when
selecting many indices
* Fixed a memory leak involving the object registry
* Fix selecting parts of a multi-dimensional dataset with a boolean array
corresponding to the first dimension
* Correctly raise errors when trying to write data to a zero-sized dataset or
a zero-sized slice
* When creating a dataset, the ``dtype=`` parameter can now be a
:class:`TypeID <low:h5py.h5t.TypeID>` object from the low-level API.
* Various fixes for safe usage from multiple threads
:pr:`2764`).
* Trying to store region references in a dataset for object references now
raises ``TypeError`` instead of discarding information
:doc:`/refs` for more about references.
* A list of reference objects can be used to create a dataset
* Fix getting filter details for the :ref:`scaleoffset filter
<dataset_scaleoffset>`
* Better error message when attempting to slice a dataset with None or
``np.newaxis``
* Pre-built Windows packages on PyPI now bundle a recent version of zlib
* Avoid replacing ``arr.shape``, which will break in some future version of
NumPy
* Closing files should be slightly faster after a redundant call was removed
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-h5py/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-h5py/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-h5py/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-h5py/Makefile
diff -u pkgsrc/devel/py-h5py/Makefile:1.27 pkgsrc/devel/py-h5py/Makefile:1.28
--- pkgsrc/devel/py-h5py/Makefile:1.27 Sun Jun 28 15:41:15 2026
+++ pkgsrc/devel/py-h5py/Makefile Mon Sep 7 16:18:52 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2026/06/28 15:41:15 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2026/09/07 16:18:52 adam Exp $
-DISTNAME= h5py-3.15.1
+DISTNAME= h5py-3.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/h5py/}
@@ -10,7 +10,8 @@ HOMEPAGE= https://www.h5py.org/
COMMENT= Python interface to the HDF5 library
LICENSE= modified-bsd
-TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=3.0.0:../../devel/py-cython
+TOOL_DEPENDS+= ${PYPKGPREFIX}-packaging>=23.0:../../devel/py-packaging
TOOL_DEPENDS+= ${PYPKGPREFIX}-pkgconfig>=1.5.5:../../devel/py-pkgconfig
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
#TEST_DEPENDS+= py-test-mpi
Index: pkgsrc/devel/py-h5py/PLIST
diff -u pkgsrc/devel/py-h5py/PLIST:1.11 pkgsrc/devel/py-h5py/PLIST:1.12
--- pkgsrc/devel/py-h5py/PLIST:1.11 Mon Jul 7 06:54:27 2025
+++ pkgsrc/devel/py-h5py/PLIST Mon Sep 7 16:18:52 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2025/07/07 06:54:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2026/09/07 16:18:52 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -94,6 +94,7 @@ ${PYSITELIB}/h5py/tests/conftest.pyo
${PYSITELIB}/h5py/tests/data_files/__init__.py
${PYSITELIB}/h5py/tests/data_files/__init__.pyc
${PYSITELIB}/h5py/tests/data_files/__init__.pyo
+${PYSITELIB}/h5py/tests/data_files/compound-dtype-complex.h5
${PYSITELIB}/h5py/tests/data_files/vlen_string_dset.h5
${PYSITELIB}/h5py/tests/data_files/vlen_string_dset_utc.h5
${PYSITELIB}/h5py/tests/data_files/vlen_string_s390x.h5
@@ -184,6 +185,9 @@ ${PYSITELIB}/h5py/tests/test_h5t.pyo
${PYSITELIB}/h5py/tests/test_h5z.py
${PYSITELIB}/h5py/tests/test_h5z.pyc
${PYSITELIB}/h5py/tests/test_h5z.pyo
+${PYSITELIB}/h5py/tests/test_native_complex.py
+${PYSITELIB}/h5py/tests/test_native_complex.pyc
+${PYSITELIB}/h5py/tests/test_native_complex.pyo
${PYSITELIB}/h5py/tests/test_npystrings.py
${PYSITELIB}/h5py/tests/test_npystrings.pyc
${PYSITELIB}/h5py/tests/test_npystrings.pyo
Index: pkgsrc/devel/py-h5py/distinfo
diff -u pkgsrc/devel/py-h5py/distinfo:1.15 pkgsrc/devel/py-h5py/distinfo:1.16
--- pkgsrc/devel/py-h5py/distinfo:1.15 Mon Oct 27 14:51:08 2025
+++ pkgsrc/devel/py-h5py/distinfo Mon Sep 7 16:18:52 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2025/10/27 14:51:08 adam Exp $
+$NetBSD: distinfo,v 1.16 2026/09/07 16:18:52 adam Exp $
-BLAKE2s (h5py-3.15.1.tar.gz) = 3c5da42ae0a3d936003820c09d168a6105bf5e12166d40e0bd34505f4fc7e323
-SHA512 (h5py-3.15.1.tar.gz) = db86c2b41823f9adfcd77b8f18ff9c0e3d6a5074cf3b547dd7353075d5edd948e58bd6c5e982a48e8985872d629107e3dca1efb7c5964510fc4b564eefde2fcb
-Size (h5py-3.15.1.tar.gz) = 426236 bytes
+BLAKE2s (h5py-3.16.0.tar.gz) = fcd25c5de95d618ff419ca5201c8f6d1f567d37c44f2221e4db118fcac0a0e1e
+SHA512 (h5py-3.16.0.tar.gz) = e79be29ef14509d6d02fd71e1e0087e17a2756d0b56b647124406211be446862b395369637954cd1450ab6c068b33249ee57704b656e458a67bb7868d57f4129
+Size (h5py-3.16.0.tar.gz) = 446526 bytes
Home |
Main Index |
Thread Index |
Old Index