a27ed9e1fa
- Update to 3.15.1 ## New features * 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 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. ## 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 variable length data where an entry has 0 length (PR 2717).
Benjamin Greiner2025-12-23 15:08:24 +00:00
202ee848a6
Accepting request 1301158 from devel:languages:python:numeric
Ana Guerrero2025-08-25 18:38:27 +00:00
c58fd8ef65
- Update to 3.14.0: * New Features + On NumPy 2.x, it is now possible to read and write native NumPy variable-width strings, a.k.a. StringDType() or dtype='T', which are more efficient than arrays of Python string objects. + New File.in_memory constructor to conveniently build an HDF5 file structure in memory + Dataset views returned by Dataset.astype, Dataset.asstr and Dataset.fields have gained the .dtype, .ndim, .shape, and .size attributes. + Opening an existing dataset in a file is faster since it now only loads the "dataset creation property list" when required. * Exposing HDF5 functions + h5py.h5d.DatasetID.write_direct_chunk now wraps H5Dwrite_chunk instead of H5DOwrite_chunk. + H5Sselect_shape_same exposed as h5py.h5s.SpaceID.select_shape_same. * Bug fixes + Fixed a problem with phil Lock handling in forked processes when h5py is also used from other threads. + Fixed an error using :meth:.Dataset.read_direct with a zero-size selection. + Fix various bugs when applying np.array or np.asarray to a Dataset view returned by Dataset.astype, Dataset.asstr, or Dataset.fields. * Building h5py + setuptools 77 or above is now required, due to changes in the license metadata in pyproject.toml. + Numpy variable-width string support does not alter the build process: you need NumPy 2.x to build. + Fixed building h5py with Numpy 2.3.
Steve Kowalik2025-08-25 04:12:52 +00:00
e9e9fe2453
- Don't %requires_eq libhdf5{%my_suffix}: not a package but a capability of e.g. libhdf5-200 -- boo#1196682
Benjamin Greiner2024-11-15 19:46:46 +00:00
eff4e5743f
- Update to 3.12.1 ## Breaking changes * Support for Python 3.8 was dropped (PR 2471). Python 3.9 or newer is required to build or install h5py 3.12. * The minimum supported version of HDF5 was increased to 1.10.6 (PR 2486). If you need h5py on HDF5 1.10.4 or .5, please use h5py 3.11. * The fill time for chunked storage was previously set to h5d.FILL_TIME_ALLOC. Now this the default comes from HDF5, which uses h5d.FILL_TIME_IFSET (equivalent to fill_time='ifset') (PR 2463). Please use fill_time='alloc' if the change is a problem for you. ## Exposing HDF5 functions * Expose fill time option in dataset creation property list via the fill_time parameter in create_dataset() (PR 2463). ## Bug fixes * Fix an error where native float16 support is not available (PR 2422). * Fixed values of H5F_close_degree_t enum (PR 2433). * External links are now accessed with libhdf5’s default access properties (PR 2433). * Fix the iteration order for the root group in a file with creation order tracked (PR 2410). * Fixed some deprecation warnings from NumPy (PR 2416). ## Building h5py * Require a newer version of mpi4py for Python 3.12 (PR 2418). * The test suite is now configured to fail on unexpected warnings (PR 2428). * The generated Cython wrapper code (defs.* & _hdf5.pxd) is now specific to the version of HDF5 it’s building for. If the
Benjamin Greiner2024-11-15 19:21:12 +00:00
703975f201
Accepting request 1186088 from devel:languages:python:numeric
Ana Guerrero2024-07-08 17:08:47 +00:00
6425198508
- Fix Cython upper bound to match upstream.
Steve Kowalik2024-07-08 06:52:21 +00:00
f2f4db9199
Accepting request 1177282 from devel:languages:python:numeric
Ana Guerrero2024-05-28 15:29:45 +00:00
7af16658fe
- Disable test for ppc64le because of Insufficient precision bsc#1225381
Daniel Garcia2024-05-28 08:21:11 +00:00
b56250318f
Accepting request 1167623 from devel:languages:python:numeric
Ana Guerrero2024-04-14 09:56:35 +00:00
176f7d62a8
- update to 3.11.0: * h5py is now compatible with Numpy 2.0 * New methods :meth:.Group.visit_links and :meth:.Group.visititems_links that include links when visiting groups (:pr:2360).
Dirk Mueller2024-04-14 07:46:31 +00:00
793d280037
Accepting request 1133632 from devel:languages:python:numeric
Ana Guerrero2023-12-17 20:32:37 +00:00
11b8e7cff7
- update to 3.10.0: * 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. * 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 * 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). - Add fix_failing_x86_test.patch Changes from 2.8.0 are too numerous to list here, complete changelog - no changelog - python3 package added
Dirk Mueller2023-12-16 19:06:19 +00:00
4f1f6c3de4
Accepting request 1119890 from devel:languages:python:numeric
Ana Guerrero2023-10-24 18:08:45 +00:00
d475f840c8
Accepting request 1119634 from home:NMorey:branches:science
Markéta Machová2023-10-24 07:59:46 +00:00
8156ac6a81
Accepting request 1105464 from devel:languages:python:numeric
Ana Guerrero2023-08-23 12:58:47 +00:00
96f253651e
Accepting request 1105322 from home:bnavigator:branches:devel:languages:python:numeric
Markéta Machová2023-08-23 10:53:12 +00:00
0933691118
- Yodate to 2.9.0: Changes from 2.8.0 are too numerous to list here, complete changelog is available online at https://github.com/h5py/h5py/releases - Drop merged patch adjust_mapping_hdf5_error_codes.patch - Refresh remove_unittest2.patch
Tomáš Chvátal
2019-03-11 12:48:39 +00:00