head 1.2; access; symbols pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2024.06.20.04.29.25; author wiz; state dead; branches; next 1.1; commitid BfHxV3F6eVqD1GeF; 1.1 date 2023.12.13.20.29.09; author wiz; state Exp; branches; next ; commitid PtkXusJFNHSfrlQE; desc @@ 1.2 log @py-h5py: remove patch that was removed from distinfo during update @ text @$NetBSD: patch-h5py___errors.pyx,v 1.1 2023/12/13 20:29:09 wiz Exp $ Fix build with Cython 3. https://github.com/h5py/h5py/pull/2345 --- h5py/_errors.pyx.orig 2023-04-26 15:08:31.000000000 +0000 +++ h5py/_errors.pyx @@@@ -94,7 +94,7 @@@@ cdef struct err_data_t: H5E_error_t err int n -cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil noexcept: +cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) noexcept nogil: cdef err_data_t *ee = e @@@@ -168,7 +168,7 @@@@ cdef err_cookie _error_handler # Store _error_handler.func = NULL _error_handler.data = NULL -cdef void set_default_error_handler() nogil: +cdef void set_default_error_handler() noexcept nogil: """Set h5py's current default error handler""" H5Eset_auto(H5E_DEFAULT, _error_handler.func, _error_handler.data) @ 1.1 log @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 ` 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. @ text @d1 1 a1 1 $NetBSD$ @