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: Thu Aug 31 11:58:40 UTC 2023
Modified Files:
pkgsrc/devel/py-h5py: Makefile PLIST distinfo
Removed Files:
pkgsrc/devel/py-h5py/patches: patch-setup.py
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`).
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-h5py/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-h5py/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-h5py/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-h5py/patches/patch-setup.py
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.16 pkgsrc/devel/py-h5py/Makefile:1.17
--- pkgsrc/devel/py-h5py/Makefile:1.16 Tue Aug 1 23:20:40 2023
+++ pkgsrc/devel/py-h5py/Makefile Thu Aug 31 11:58:40 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2023/08/01 23:20:40 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2023/08/31 11:58:40 adam Exp $
-DISTNAME= h5py-3.2.1
+DISTNAME= h5py-3.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/h5py/}
@@ -11,9 +10,6 @@ HOMEPAGE= https://www.h5py.org/
COMMENT= Python interface to the HDF5 library
LICENSE= modified-bsd
-TOOL_DEPENDS+= ${PYPKGPREFIX}-pkgconfig-[0-9]*:../../devel/py-pkgconfig
-DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-
MAKE_ENV= HDF5_DIR=${PREFIX}
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
Index: pkgsrc/devel/py-h5py/PLIST
diff -u pkgsrc/devel/py-h5py/PLIST:1.7 pkgsrc/devel/py-h5py/PLIST:1.8
--- pkgsrc/devel/py-h5py/PLIST:1.7 Mon Jun 7 11:57:50 2021
+++ pkgsrc/devel/py-h5py/PLIST Thu Aug 31 11:58:40 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2021/06/07 11:57:50 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/08/31 11:58:40 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -138,6 +138,9 @@ ${PYSITELIB}/h5py/tests/test_file.pyo
${PYSITELIB}/h5py/tests/test_file2.py
${PYSITELIB}/h5py/tests/test_file2.pyc
${PYSITELIB}/h5py/tests/test_file2.pyo
+${PYSITELIB}/h5py/tests/test_file_alignment.py
+${PYSITELIB}/h5py/tests/test_file_alignment.pyc
+${PYSITELIB}/h5py/tests/test_file_alignment.pyo
${PYSITELIB}/h5py/tests/test_file_image.py
${PYSITELIB}/h5py/tests/test_file_image.pyc
${PYSITELIB}/h5py/tests/test_file_image.pyo
@@ -168,9 +171,15 @@ ${PYSITELIB}/h5py/tests/test_h5pl.pyo
${PYSITELIB}/h5py/tests/test_h5t.py
${PYSITELIB}/h5py/tests/test_h5t.pyc
${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_objects.py
${PYSITELIB}/h5py/tests/test_objects.pyc
${PYSITELIB}/h5py/tests/test_objects.pyo
+${PYSITELIB}/h5py/tests/test_ros3.py
+${PYSITELIB}/h5py/tests/test_ros3.pyc
+${PYSITELIB}/h5py/tests/test_ros3.pyo
${PYSITELIB}/h5py/tests/test_selections.py
${PYSITELIB}/h5py/tests/test_selections.pyc
${PYSITELIB}/h5py/tests/test_selections.pyo
Index: pkgsrc/devel/py-h5py/distinfo
diff -u pkgsrc/devel/py-h5py/distinfo:1.10 pkgsrc/devel/py-h5py/distinfo:1.11
--- pkgsrc/devel/py-h5py/distinfo:1.10 Tue Oct 26 10:18:32 2021
+++ pkgsrc/devel/py-h5py/distinfo Thu Aug 31 11:58:40 2023
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:18:32 nia Exp $
+$NetBSD: distinfo,v 1.11 2023/08/31 11:58:40 adam Exp $
-BLAKE2s (h5py-3.2.1.tar.gz) = 288eb4507abc49edc179e806b3f960cccf87adc576644e314f1e50bda0e32d5d
-SHA512 (h5py-3.2.1.tar.gz) = c98f935f800f340239fdd5132534a3b79995dc952250521f0bd6972a60c34c21bb56d7ca3f1c655ad9d1e47fc5792f434f88a0919ae75bc9102e659bf4f1c284
-Size (h5py-3.2.1.tar.gz) = 368170 bytes
-SHA1 (patch-setup.py) = a1a2643b899224500368ec403d86089822ee6cda
+BLAKE2s (h5py-3.9.0.tar.gz) = 32e67c2ac8c5c4d97abb295d8d1e8653d4f1cfbfd7e08d79af44a455124c8a3c
+SHA512 (h5py-3.9.0.tar.gz) = f87cb36ba874e86b179776031c3345ad83bc7b5eff2f3ee54acb6b0997cc7925c17dc478957103ab6bb07d8aaa8593af1d51c3547021a205e9d01c0e36d833a9
+Size (h5py-3.9.0.tar.gz) = 402856 bytes
Home |
Main Index |
Thread Index |
Old Index