Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c80981

Browse files
authored
Merge pull request h5py#2405 from takluyver/rever-3.11
Prepare to release 3.11.0
2 parents 0090479 + 76afe10 commit 2c80981

File tree

9 files changed

+56
-47
lines changed

9 files changed

+56
-47
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# built documents.
6363
#
6464
# The full version, including alpha/beta/rc tags.
65-
release = '3.10.0'
65+
release = '3.11.0'
6666
# The short X.Y version.
6767
version = '.'.join(release.split('.')[:2])
6868

docs/high/group.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,19 @@ Reference
277277
In this case `object` will be a :class:`Group` or :class:`Dataset`
278278
instance.
279279

280+
.. method:: visit_links(callable)
281+
visititems_links(callable)
282+
283+
These methods are like :meth:`visit` and :meth:`visititems`, but work on
284+
the links in groups, rather than the objects those links point to. So if
285+
you have two links pointing to the same object, these will 'see' both.
286+
They also see soft & external links, which :meth:`visit` and
287+
:meth:`visititems` ignore.
288+
289+
The second argument to the callback for ``visititems_links`` is an
290+
instance of one of the :ref:`link classes <group_link_classes>`.
291+
292+
.. versionadded:: 3.11
280293

281294
.. method:: move(source, dest)
282295

@@ -516,6 +529,7 @@ Reference
516529

517530
:class:`Group` instance containing this group.
518531

532+
.. _group_link_classes:
519533

520534
Link classes
521535
------------

docs/whatsnew/3.11.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
What's new in h5py 3.11
2+
=======================
3+
4+
New features
5+
------------
6+
7+
* h5py is now compatible with Numpy 2.0 (:pr:`2329`, :pr:`2401`).
8+
* New methods :meth:`.Group.visit_links` and :meth:`.Group.visititems_links`
9+
that include links when visiting groups (:pr:`2360`).
10+
11+
Exposing HDF5 functions
12+
-----------------------
13+
14+
* Exposes remaining information from `H5O_info_t` struct such as access, modification, change, and
15+
birth time (:pr:`2358`). Also exposes field providing number of attributes attached to an object. Expands object
16+
header metadata struct `H5O_hdr_info_t`, `hdr` field of `H5O_info_t`, to provide number of chunks and
17+
flags set for object header. Lastly, adds `meta_size` field from `H5O_info_t` struct that provides
18+
two fields, `attr` which is the storage overhead of any attached attributes, and `obj` which is
19+
storage overhead required for chunk storage. The last two fields added can be useful for determining
20+
the storage overhead incurred from various data layout/chunked strategies, and for obtaining information
21+
such as that provided by `h5stat`.
22+
23+
Bug fixes
24+
---------
25+
26+
* h5py's tests pass with HDF5 1.14.4, which is due to be released shortly after
27+
h5py 3.11 (:pr:`2406`).
28+
* :meth:`~.Dataset.iter_chunks()` now behaves correctly with a selection
29+
(:pr:`2381`).
30+
* HDF5 allows external datasets (with the data stored in a separate file) to be
31+
expandable along the first dimension. Such datasets can now be created
32+
through h5py by passing a ``maxshape=`` parameter (:pr:`2398`).
33+
34+
Building h5py
35+
-------------
36+
37+
* h5py can now be built with Cython 3.x (:pr:`2345`).
38+
* Fixed some errors compiling with GCC 14 (:pr:`2380`, :pr:`2382`).

docs/whatsnew/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ These document the changes between minor (or major) versions of h5py.
88

99
.. toctree::
1010

11+
3.11
1112
3.10
1213
3.9
1314
3.8

h5py/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
hdf5_built_version_tuple = _h5.HDF5_VERSION_COMPILED_AGAINST
2525

26-
version_tuple = _H5PY_VERSION_CLS(3, 10, 0, None, None, None)
26+
version_tuple = _H5PY_VERSION_CLS(3, 11, 0, None, None, None)
2727

2828
version = "{0.major:d}.{0.minor:d}.{0.bugfix:d}".format(version_tuple)
2929
if version_tuple.pre is not None:

news/metasize_info_struct.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

news/numpy-2.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

news/visit-links.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import setup_build, setup_configure
2121

2222

23-
VERSION = '3.10.0'
23+
VERSION = '3.11.0'
2424

2525

2626
# these are required to use h5py

0 commit comments

Comments
 (0)