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 Oct 27 14:51:08 UTC 2025

Modified Files:
        pkgsrc/devel/py-h5py: Makefile distinfo

Log Message:
py-h5py: updated to 3.15.1

What's new in h5py 3.15
=======================

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

* Added pre-built packages for Python 3.14 (:pr:`2617`).
* Added pre-built packages for Windows on ARM devices (:pr:`2653`).
* Added pre-built packages for Linux with musl libc, such as Alpine Linux, on both
  both ``x86_64`` and ``aarch64`` architectures (:pr:`2632`). See :pep:`656` for
  the details of the ``musllinux`` platform tag.
* :meth:`h5py.Dataset.iter_chunks` accepts slice objects with the ``None`` value
  for ``slice.start`` and ``slice.stop`` attributes, or integers (:pr:`2657`).
  Example: ``dset.iter_chunks((slice(None, None), 4))``. This is equivalent to
  ``dset[:,4]``.
* A new `track_times` parameter when creating a group or a file to control
  whether creation, modification, change and access timestamps are stored
  for group objects (:pr:`2611`). This is False by default.
* Work to better support free-threaded mode in CPython (:pr:`2658`, :pr:`2678`).
  This is not substantially tested yet, but some of the most glaring issues
  have been resolved. See :ref:`free_threading`.

Breaking Changes and Deprecations
---------------------------------

* Support for Python 3.9 was dropped. Python 3.10 or newer is now required
  to build or install h5py from this version on (:pr:`2640`).
* The minimum supported version of HDF5 is now 1.10.7, and within the 1.12 series
  the minimum supported version is now 1.12.1 (:pr:`2605`).
* Timestamps are no longer stored by default for groups (including the root group)
  if the ``track_order`` parameter is set (:pr:`2611`). Previously, setting this
  parameter also caused timestamps to be stored in the file.
* Pre-emptively fix build issue with Numpy 10 or above (:pr:`2638`).

Bug fixes
---------

* Fixed ``h5py.h5p.PropLAID.get_elink_prefix`` method (:pr:`2712`).
* Fixed a segfault reading unallocated variable length string data as NumPy
  variable length strings (:pr:`2630`).
* Fixed an error reading certain types of :ref:`variable length data <vlen>`
  where an entry has 0 length (:pr:`2717`).
* Fixed some SyntaxWarnings which might become errors in a future Python version
  (:pr:`2597`).

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

* The minimum versions build-time Python requirements were updated to
  ``Cython==3.0.0`` (up from ``0.29.1``, :pr:`2647`), and ``numpy==1.25.0``
  (down from ``2.0.0``, :pr:`2646`). We still recommend building with numpy 2 or
  newer whenever possible, this is done to improve support for external package
  ecosystems, where the system uses the same version of packages for building
  and installation.
* Deprecated Cython preproc macros (``DEF``, ``IF``, ``ELIF`` and ``ELSE``)
  were replaced with build-time ``tempita``-based templating (:pr:`2637`).
* Some work to support building h5py with HDF5 2.0 development versions
  (:pr:`2636`).
* Building h5py using the standard Python mechanisms now uses a custom build
  backend within the source folder, wrapping setuptools, to avoid the use of the
  deprecated ``setup_requires`` parameter (:pr:`2659`).

3.15.1 bug fix release
----------------------

* Pre-built MacOS packages are compatible with older versions of MacOS again,
  back to 11.0 for ARM and 10.15 for Intel (:pr:`2722`). This also appears to
  fix some mysterious regressions on newer versions of MacOS, although we don't
  fully understand why.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-h5py/Makefile
cvs rdiff -u -r1.14 -r1.15 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.25 pkgsrc/devel/py-h5py/Makefile:1.26
--- pkgsrc/devel/py-h5py/Makefile:1.25  Thu Oct  9 07:57:32 2025
+++ pkgsrc/devel/py-h5py/Makefile       Mon Oct 27 14:51:08 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2025/10/09 07:57:32 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2025/10/27 14:51:08 adam Exp $
 
-DISTNAME=      h5py-3.14.0
+DISTNAME=      h5py-3.15.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/h5py/}
@@ -11,6 +11,7 @@ COMMENT=      Python interface to the HDF5 li
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+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/distinfo
diff -u pkgsrc/devel/py-h5py/distinfo:1.14 pkgsrc/devel/py-h5py/distinfo:1.15
--- pkgsrc/devel/py-h5py/distinfo:1.14  Mon Jul  7 06:54:27 2025
+++ pkgsrc/devel/py-h5py/distinfo       Mon Oct 27 14:51:08 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2025/07/07 06:54:27 wiz Exp $
+$NetBSD: distinfo,v 1.15 2025/10/27 14:51:08 adam Exp $
 
-BLAKE2s (h5py-3.14.0.tar.gz) = ab5706cec26b12ddd26f455c135d55cef3e021315356f73567a0a17f329638ba
-SHA512 (h5py-3.14.0.tar.gz) = 54e0054a542c8b62da90e15c110a153cc0cadc6cba1914074d35a6380f8b270ba051de860feb7e31c2ee3d4f09903e456c94e9faa3570764af0e36c480e1c44e
-Size (h5py-3.14.0.tar.gz) = 424323 bytes
+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



Home | Main Index | Thread Index | Old Index