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

Skip to content

Commit c96b93d

Browse files
authored
Merge pull request #2559 from h5py/changelog-3.13
Prepare to release 3.13
2 parents f416f89 + 04daabc commit c96b93d

File tree

11 files changed

+46
-156
lines changed

11 files changed

+46
-156
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.12.1'
65+
release = '3.13.0'
6666
# The short X.Y version.
6767
version = '.'.join(release.split('.')[:2])
6868

docs/whatsnew/3.13.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
What's new in h5py 3.13
2+
=======================
3+
4+
New features
5+
------------
6+
7+
* New :meth:`.File.in_memory` constructor to conveniently build an HDF5 file
8+
structure in memory (:pr:`2517`).
9+
* :class:`.Dataset` views returned by :meth:`~.Dataset.astype`,
10+
:meth:`~.Dataset.asstr` and :meth:`~.Dataset.fields` have gained the
11+
``.dtype``, ``.ndim``, ``.shape``, and ``.size`` attributes (:pr:`2550`).
12+
* The bundled HDF5 library in the pre-built packages was updated to 1.14.6
13+
(:pr:`2554`).
14+
* Opening an existing dataset in a file is faster since it now only loads the
15+
"dataset creation property list" when required (:pr:`2552`).
16+
17+
18+
Exposing HDF5 functions
19+
-----------------------
20+
21+
* ``H5Sselect_shape_same`` exposed as :meth:`h5py.h5s.SpaceID.select_shape_same`
22+
(:pr:`2529`).
23+
24+
Bug fixes
25+
---------
26+
27+
* Fix various bugs when applying ``np.array`` or ``np.asarray`` to a
28+
:class:`.Dataset` view returned by :meth:`~.Dataset.astype`,
29+
:meth:`~.Dataset.asstr`, or :meth:`~.Dataset.fields`.
30+
31+
Building h5py
32+
-------------
33+
34+
* Fixed building h5py with Numpy 2.3 (:pr:`2556`).
35+
* Bump the specified mpi4py version to fix building with MPI support on
36+
Python 3.13 (:pr:`2524`).
37+
* Fix for running ``api_gen.py`` directly (:pr:`2534`).

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.13
1112
3.12
1213
3.11
1314
3.10

h5py/h5s.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ cdef class SpaceID(ObjectID):
397397
IF HDF5_VERSION >= (1, 10, 7):
398398
@with_phil
399399
def select_shape_same(self, SpaceID space2):
400+
"""(SpaceID space2) => BOOL
401+
402+
Check if two selections are the same shape. HDF5 may read data
403+
faster if the source & destination selections are the same shape.
404+
"""
400405
return <bint>H5Sselect_shape_same(self.id, space2.id)
401406

402407
@with_phil

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, 12, 1, None, None, None)
26+
version_tuple = _H5PY_VERSION_CLS(3, 13, 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/h5s-select-same-shape.rst

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

news/hdf5-1.14.5.rst

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

news/in-memory.rst

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

news/lazy_dcpl.rst

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

news/views-overhaul.rst

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

0 commit comments

Comments
 (0)