Package Release Info

python-h5py-openmpi4-3.12.1-bp160.1.8

Update Info: Base Release
Available in Package Hub : 16.0

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

python313-h5py-openmpi4

Change Logs

* Fri Nov 15 2024 Ben Greiner <code@bnavigator.de>
- 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
    version of HDF5 has changed, api_gen.py should be run
    automatically to recreate this (PR 2479, PR 2480).
  * Various PRs modernising & cleaning up old Cython code, see the
    3.12 milestone on Github for details.
- Don't %requires_eq libhdf5{%?my_suffix}: not a package but a
  capability of e.g. libhdf5-200 -- boo#1196682
* Mon Jul 08 2024 Steve Kowalik <steven.kowalik@suse.com>
- Fix Cython upper bound to match upstream.
* Tue May 28 2024 Daniel Garcia <daniel.garcia@suse.com>
- Disable test for ppc64le because of Insufficient precision
  bsc#1225381
* Sun Apr 14 2024 Dirk Müller <dmueller@suse.com>
- 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`).
* Sat Dec 16 2023 Dirk Müller <dmueller@suse.com>
- 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`).
* Mon Oct 23 2023 Nicolas Morey <nicolas.morey@suse.com>
- Drop support for obsolete openmpi[123]
- Prepare support for openmpi5
* Tue Aug 22 2023 Ben Greiner <code@bnavigator.de>
- Update to 3.9.0
  * This version of h5py requires Python 3.8 or above.
  [#]# New features
  * New out argument to read_direct_chunk() to allow passing the
    output buffer (PR 2232).
  * The objects from Dataset.asstr() and 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 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
    h5py.h5p.PropLAID.get_elink_acc_flags() &
    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 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 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 modify() instead.
  [#]# Building h5py
  * When building with Parallel HDF5 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).
* Thu Feb 16 2023 Ben Greiner <code@bnavigator.de>
- Clean up build and runtime requirements
- Drop python-h5py-relax-dependency-versions.patch -- it has become
  a noop at the last refresh.
- Only build for supported pythons (>= 3.7)
- PEP517 build
* Wed Feb 08 2023 Arun Persaud <arun@gmx.de>
- specfile:
  * update copyright year
  * update patch
- update to version 3.8.0:
  * New features
    + h5py now has pre-built packages for Python 3.11.
    + h5py is compatible with HDF5 1.14 (:pr:`2187`). Pre-built
    packages on PyPI still include HDF5 1.12 for now.
    + :ref:`dataset_fancy` now accepts tuples, or any other sequence
    type, rather than only lists and NumPy arrays. This also
    includes range objects, but this will normally be less efficient
    than the equivalent slice.
    + New property :attr:`.Dataset.is_scale` for checking if the
    dataset is a dimension scale (:pr:`2168`).
    + :meth:`.Group.require_dataset` now validates maxshape for
    resizable datasets (:pr:`2116`).
    + :class:`.File` now has a meta_block_size argument and
    property. This influences how the space for metadata, including
    the initial header, is allocated.
    + Chunk cache can be configured per individual HDF5 dataset
    (:pr:`2127`). Use :meth:`.Group.create_dataset` for new datasets
    or :meth:`.Group.require_dataset` for already existing
    datasets. Any combination of the rdcc_nbytes, rdcc_w0, and
    rdcc_nslots arguments is allowed. The file defaults apply to
    those omitted.
    + HDF5 file names for ros3 driver can now also be s3:// resource
    locations (:pr:`2140`). h5py will translate them into AWS
    path-style URLs for use by the driver.
    + When using the ros3 driver, AWS authentication will be activated
    only if all three driver arguments are provided. Previously AWS
    authentication was active if any one of the arguments was set
    causing an error from the HDF5 library.
    + :meth:`.Dataset.fields` now implements the __array__() method
    (:pr:`2151`). This speeds up accessing fields with functions
    that expect this, like np.asarray().
    + Low-level :meth:`h5py.h5d.DatasetID.chunk_iter` method that
    invokes a user-supplied callable object on every written chunk
    of one dataset (:pr:`2202`). It provides much better performance
    when iterating over a large number of chunks.
  * Exposing HDF5 functions
    + H5Dchunk_iter as :meth:`h5py.h5d.DatasetID.chunk_iter`.
    + H5Pset_meta_block_size and H5Pget_meta_block_size (:pr:`2106`).
  * Bug fixes
    + Fixed getting the default fill value (an empty string) for
    variable-length string data (:pr:`2132`).
    + Complex float16 data could cause a TypeError when trying to
    coerce to the currently unavailable numpy.dtype('c4'). Now a
    compound type is used instead (:pr:`2157`).
    + h5py 3.7 contained a performance regression when using a boolean
    mask array to index a 1D dataset, which is now fixed
    (:pr:`2193`).
  * Building h5py
    + Parallel HDF5 can be built with Microsoft MS-MPI
    (:pr:`2147`). See :ref:`build_mpi` for details.
    + Some 'incompatible function pointer type' compile time warnings
    were fixed (:pr:`2142`).
    + Fix for finding HDF5 DLL in mingw (:pr:`2105`).
* Sun May 29 2022 Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.7.0:
  * Provide the ability to use the Direct Virtual File Driver
    (VFD) from HDF5 (Linux only).
  * The :class:`.File` constructor contains two new parameters
    alignment_threshold, and alignment_interval controling the
    data alignment within the HDF5 file (gh#h5py/h5py#2040).
  * :meth:`~.Group.create_dataset` and
    :meth:`~.Group.require_dataset` now accept parameters
    efile_prefix and virtual_prefix to set a filesystem path
    prefix to use to find files for external datasets and for
    virtual dataset sources (gh#h5py/h5py#2092). These only affect
    the current access; the prefix is not stored in the file.
  * Bugs fixed:
  - Fix a deadlock which was possible when the same dataset was
    accessed from multiple threads (gh#h5py/h5py#2064).
  - New attributes are created directly, instead of via a
    temporary attribute with subsequent renaming. This fixes
    overwriting attributes with track_order=True.
  - Fix for building with mpi4py on Python 3.10
    (gh#h5py/h5py#2101).
  - Fixed fancy indexing with a boolean array for a single
    dimension (gh#h5py/h5py#2079).
  - Avoid returning unitialised memory when reading from a
    chunked dataset with missing chunks and no fill value
    (gh#h5py/h5py#2076).
  - Enable setting of fillvalue for datasets with variable
    length string dtype (gh#h5py/h5py#2044).
  - Closing a file or calling get_obj_ids() no longer re-enables
    Python garbage collection if it was previously disabled
    (gh#h5py/h5py#2020).
- Refresh python-h5py-relax-dependency-versions.patch for updated
  version.