SHA256
1
0
forked from pool/python-h5py

67 Commits

Author SHA256 Message Date
7252dee697 Accepting request 1324294 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1324294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=34
2025-12-24 12:16:14 +00:00
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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=62
2025-12-23 15:08:24 +00:00
202ee848a6 Accepting request 1301158 from devel:languages:python:numeric
- 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.

OBS-URL: https://build.opensuse.org/request/show/1301158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=33
2025-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=60
2025-08-25 04:12:52 +00:00
ed36e1e0c6 Accepting request 1224515 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1224515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=32
2024-11-17 15:41:34 +00:00
abf09de176 Fix workaround: python-rpm-macros needs to see it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=58
2024-11-15 20:17:41 +00:00
e9e9fe2453 - Don't %requires_eq libhdf5{%my_suffix}: not a package but a
capability of e.g. libhdf5-200 -- boo#1196682

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=57
2024-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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=56
2024-11-15 19:21:12 +00:00
703975f201 Accepting request 1186088 from devel:languages:python:numeric
- Fix Cython upper bound to match upstream.

OBS-URL: https://build.opensuse.org/request/show/1186088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=31
2024-07-08 17:08:47 +00:00
f2f4db9199 Accepting request 1177282 from devel:languages:python:numeric
- Disable test for ppc64le because of Insufficient precision
  bsc#1225381

OBS-URL: https://build.opensuse.org/request/show/1177282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=30
2024-05-28 15:29:45 +00:00
7af16658fe - Disable test for ppc64le because of Insufficient precision
bsc#1225381

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=52
2024-05-28 08:21:11 +00:00
b56250318f Accepting request 1167623 from devel:languages:python:numeric
- 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`).

OBS-URL: https://build.opensuse.org/request/show/1167623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=29
2024-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`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=50
2024-04-14 07:46:31 +00:00
793d280037 Accepting request 1133632 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1133632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=28
2023-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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=48
2023-12-16 19:06:19 +00:00
4f1f6c3de4 Accepting request 1119890 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1119890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=27
2023-10-24 18:08:45 +00:00
d475f840c8 Accepting request 1119634 from home:NMorey:branches:science
- Drop support for obsolete openmpi[123]
- Prepare support for openmpi5

OBS-URL: https://build.opensuse.org/request/show/1119634
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=46
2023-10-24 07:59:46 +00:00
8156ac6a81 Accepting request 1105464 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1105464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=26
2023-08-23 12:58:47 +00:00
96f253651e Accepting request 1105322 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1105322
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=44
2023-08-23 10:53:12 +00:00
5d630a8d67 Accepting request 1066151 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1066151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=25
2023-02-16 15:57:16 +00:00
41ad5e9964 Accepting request 1066147 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1066147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=42
2023-02-16 10:44:30 +00:00
f30cbb68aa Accepting request 1065621 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1065621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=24
2023-02-14 15:47:24 +00:00
6119333932 Accepting request 1064739 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1064739
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=40
2023-02-14 00:09:58 +00:00
f033e6ca01 Accepting request 983717 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/983717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=23
2022-06-19 19:11:30 +00:00
ac454e9149 Accepting request 983693 from home:badshah400:branches:devel:languages:python:numeric
- Update to version 3.7.0
- Refresh python-h5py-relax-dependency-versions.patch for updated version.

OBS-URL: https://build.opensuse.org/request/show/983693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=38
2022-06-19 17:22:13 +00:00
4a9482be19 Accepting request 959731 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/959731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=22
2022-03-06 17:15:58 +00:00
cd0d484985 Accepting request 959609 from home:badshah400:branches:devel:languages:python:numeric
(Sorry for the multiple sr's, took me a few tries to get it right)
* Update to version 3.6.0.
* Rebase python-h5py-relax-dependency-versions.patch to apply against updated version.
* Also enforce %requires_eq on hdf5 to force rebuilds when hdf5 gets version updates in Factory (boo#1196682).
* Skip tests marked with 'mpi_skip' when building with openmpi flavours (see e.g., https://github.com/h5py/h5py/issues/1997).

OBS-URL: https://build.opensuse.org/request/show/959609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=36
2022-03-06 16:25:16 +00:00
6dac794127 Accepting request 917807 from devel:languages:python:numeric
- Correct order of definitions to generate multiple packages for
  multiple builds.
- update to version 3.4.0:
  * New features
    + The pre-built wheels now bundle HDF5 1.12.1 (:pr:`1945`).
    + len() now works on dset.astype(), .asstr() and .fields()
      wrappers (:pr:`1913`).
  * Bug fixes
    + Fix bug introduced in version 3.3 that did not allow the
      creation of files using the flag "a" for certain drivers
      (e.g. mpiio, core and stdio) (:pr:`1922`).
    + Dataset indexing will now use the optimized fast path, which was
      accidentally disabled in a previous version (:pr:`1944`).
    + Fix an error building with Cython 3.0 alpha 8 (cpdef inside
      functions) (:pr:`1923`).

OBS-URL: https://build.opensuse.org/request/show/917807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=21
2021-09-09 21:07:50 +00:00
8e85435120 - Correct order of definitions to generate multiple packages for
multiple builds.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=35
2021-09-09 16:09:00 +00:00
5898608629 Accepting request 916929 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/916929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=34
2021-09-09 11:34:57 +00:00
5ad1a3e9b1 Accepting request 902222 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/902222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=20
2021-06-25 13:01:31 +00:00
3fa11cca32 Accepting request 901805 from home:andythe_great:branches:devel:languages:python:numeric
- Update to version 3.3.0.
  * New features
    * Compatibility with the upcoming HDF5 1.12.1 and possibly 1.14.
    * H5T_BITFIELD types will now be cast to their numpy.uint
      equivalent by default (:issue:`1258`). This means that
      no knowledge of mixed type compound dataset schemas is
      required to read these types, and can simply be read as
      follows: arr = dset[:]
      Alternatively, 8-bit bitfields can still be cast to booleans
      explicitly: arr = dset.astype(numpy.bool_)[:]
    * Key types are validated when accessing groups, to give more
      helpful errors when a group is indexed like a dataset.
    * A new :meth:`.Group.build_virtual_dataset` method acting as
      a context manager to assemble virtual datasets.
    * If the source and target of a virtual dataset mapping have
      different numbers of points, an error should now be thrown
      when you make the mapping in the :class:`VirtualLayout`,
      rather than later when writing this into the file. This
      should make it easier to find the source of such errors.
  * Deprecations
    * The default_file_mode config option is deprecated, and setting
      it to values other than 'r' (for read-only mode) is no longer
      allowed. Pass the mode when creating a :class:`.File` object
      instead of setting a global default.
  * Bug fixes
    * Trying to open a file in append mode ('a') should now give
      clearer error messages when the file exists but can't be opened.
    * Protect :func:`h5py.h5f.get_obj_ids` against garbage collection
      invalidating HDF5 IDs while it is retrieving them.
    * Make file closing more robust, including when closing files
      while the interpreter is shutting down, by using lower-level
      code to close HDF5 IDs of objects inside the file.
- Updates for version 3.2.0.
  * New features
    * Added support to use the HDF5 ROS3 driver to access HDF5 files
      on S3.
    * Breaking changes & deprecations
    * Setting the config option default_file_mode to values other
      than 'r' is deprecated. Pass the desired mode when opening a
      :class:`~.File` instead.
  * Exposing HDF5 functions
    * H5Pset_fapl_ros3 & H5Pget_fapl_ros3 (where HDF5 is built with
      read-only S3 support).
  * Bug fixes
    * :exc:`OSError` exceptions raised by h5py should now have a
      useful .errno attribute, where HDF5 provides this information.
      Subclasses such as :exc:`FileNotFoundError` should also be
      raised where appropriate.
    * Fix reading data with a datatype of variable-length arrays of
      fixed length strings.
    * Fix :meth:`.Dataset.read_direct` and :meth:`.Dataset.write_direct`
      when the source and destination have different shapes.
    * Fix selecting data using integer indices in
      :meth:`.Dataset.read_direct` and :meth:`.Dataset.write_direct`.
    * Fix exception handling in :meth:`.Group.visititems`.
    * Issue a warning when File(..., swmr=True) is specified with
      any mode other than 'r', as the SWMR option is ignored in
      these cases.
    * Fix NumPy 1.20 deprecation warnings concerning the use of
      None as shape, and the deprecated aliases np.float, np.int
      and np.bool.
  * 3.2.1 bug fix release
    * Fix :attr:`.File.driver` when the read-only S3 driver is
      available.
- Rebase python-h5py-relax-dependency-versions.patch

OBS-URL: https://build.opensuse.org/request/show/901805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=33
2021-06-24 21:49:39 +00:00
c7ffd5873c Accepting request 873639 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/873639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=19
2021-02-19 22:44:54 +00:00
edebb5165c Accepting request 873560 from home:bnavigator:branches:devel:languages:python:numeric
- Skip python36 build. NumPy 1.20 in Tumbleweed dropped support for
  Python 3.6 (NEP 29)
- Fix sitearch handling between regular and mpi builds suitable for
  singlespec with multiple python3 flavors
- Refine requirement versions based on Python version

OBS-URL: https://build.opensuse.org/request/show/873560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=31
2021-02-19 07:38:36 +00:00
cf8dcbc318 Accepting request 865040 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/865040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=18
2021-01-20 17:29:28 +00:00
4ac38cc19a Accepting request 865029 from home:jayvdb:branches:devel:languages:python:numeric
- Add runtime dependency cached-property based on Python version

OBS-URL: https://build.opensuse.org/request/show/865029
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=29
2021-01-20 16:08:59 +00:00
3eb1bad113 Accepting request 854906 from devel:languages:python:numeric
- Replace %__python3 usage by %python_exec.
- Enable parallel hdf5:
  * Implement multibuild for different flavors of openmpi.
  * Export env variables `HDF5_LIBDIR` and `HDF5_INCLUDEDIR`
    pointing to the hdf library and headers location when enabling
    openmpi flavored builds.
  * Add BuildRequires: python-pytest-mpi for mpi tests.
  * Replace python rpm macros with their expansions in most cases
    to adapt to mpi paths.

OBS-URL: https://build.opensuse.org/request/show/854906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=17
2020-12-15 11:31:07 +00:00
194c04b3d1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=27 2020-12-11 14:09:03 +00:00
16b5d0d655 Accepting request 854895 from home:badshah400:branches:devel:languages:python:numeric
- Replace %__python3 usage by %python_exec.

OBS-URL: https://build.opensuse.org/request/show/854895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=26
2020-12-11 14:08:03 +00:00
c88a118f48 Accepting request 854595 from home:badshah400:branches:devel:languages:python:numeric
Enable parallel hdf5 builds in multiple mpi flavours.

OBS-URL: https://build.opensuse.org/request/show/854595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=25
2020-12-10 21:13:31 +00:00
38165f565b Accepting request 851345 from devel:languages:python:numeric
- Update to version 3.1.0:
  * See https://docs.h5py.org/en/latest/whatsnew/3.1.html for list
    of changes.
- Changes from version 3.0.0: See
  https://docs.h5py.org/en/latest/whatsnew/3.0.html
- Drop upstreamed patches:
  * remove_unittest2.patch.
  * no_include_opt.patch.
- Add python-h5py-relax-dependency-versions.patch to allow building
  against more recent versions of numpy than minimally required.
- Python 2 is no longer supported; at least version 3.6 is
  required.
- Run all tests except:
  * MPI based ones, as we build against the non-mpi version of
    hdf5.
  * Offset test which overflows on 32-bit.
- Tests require python-cached-property for openSUSE <= 1500.
- Fix `requires_eq` on libhdf5 (oS:F now has libhdf_hl103)
  already.

OBS-URL: https://build.opensuse.org/request/show/851345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=16
2020-11-29 11:30:19 +00:00
8793515cc0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=23 2020-11-27 14:06:08 +00:00
51a8792245 Accepting request 851124 from home:badshah400:branches:devel:languages:python:numeric
* Update to version 3.1.0.
* Drop upstreamed patches: 1) remove_unittest2.patch 2) no_include_opt.patch.
* Add python-h5py-relax-numpy-versions.patch to allow building against more recent versions of numpy than minimally required.
* Python 2 is no longer supported; at least version 3.6 is required.
* Run all tests except: 1) MPI based ones, as we build against the non-mpi version of hdf5 2) Offset test which overflows on 32-bit.
* Tests require python-cached-property for openSUSE <= 1500.
* Fix `requires_eq` on libhdf5 (oS:F now has libhdf_hl103) already.

OBS-URL: https://build.opensuse.org/request/show/851124
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=22
2020-11-27 13:57:27 +00:00
7dd0dabb0d Accepting request 802613 from devel:languages:python:numeric
- ensure rebuild when hdf5 version changes (bsc#1150049)

OBS-URL: https://build.opensuse.org/request/show/802613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=15
2020-05-11 11:44:48 +00:00
bb0a69c0ad - ensure rebuild when hdf5 version changes (bsc#1150049)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=20
2020-05-11 07:48:16 +00:00
0fe9cb64fe Accepting request 730750 from devel:languages:python:numeric
- Update to 2.10.0:
  * no upstream changelog provided
- Update patch remove_unittest2.patch
- Remove upstream merged fix_failing_x86_test.patch

OBS-URL: https://build.opensuse.org/request/show/730750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=14
2019-09-16 08:51:14 +00:00
Tomáš Chvátal
4957d96580 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=18 2019-09-13 13:55:19 +00:00
Tomáš Chvátal
eaab0befeb - Update to 2.10.0:
* no upstream changelog provided
- Update patch remove_unittest2.patch
- Remove upstream merged fix_failing_x86_test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=17
2019-09-13 13:48:53 +00:00
88458d65c1 Accepting request 720115 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/720115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=13
2019-08-05 08:36:01 +00:00
Todd R
1d100d2c9b Accepting request 720114 from home:TheBlackCat:branches:devel:languages:python:numeric
- Add fix_failing_x86_test.patch 
  Fixes spurious test failure on x86 platfomrs
  See  gh#h5py/h5py#1163
  From gh#h5py/h5py#1235

OBS-URL: https://build.opensuse.org/request/show/720114
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=15
2019-07-31 20:31:52 +00:00
82494449a2 Accepting request 683882 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/683882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=12
2019-03-12 08:54:57 +00:00
Tomáš Chvátal
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=13
2019-03-11 12:48:39 +00:00
d5374da70b Accepting request 653737 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/653737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=11
2018-12-04 19:57:45 +00:00
Todd R
30a0226573 Accepting request 653736 from home:TheBlackCat:branches:devel:languages:python:numeric
- Use more reliable test invocation

OBS-URL: https://build.opensuse.org/request/show/653736
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=11
2018-12-04 03:20:48 +00:00
c05d91a528 Accepting request 641724 from devel:languages:python:numeric
- Remove valuerror-typerror-failing-tests.patch and replace it with
  proper patch (https://github.com/tacaswell/h5py/commit/6653c65e8c8d0.patch)
  in adjust_mapping_hdf5_error_codes.patch.

OBS-URL: https://build.opensuse.org/request/show/641724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=10
2018-10-15 07:42:43 +00:00
27542c8826 Remove valuerror-typerror-failing-tests.patch and replace it with
proper patch (https://github.com/tacaswell/h5py/commit/6653c65e8c8d0.patch)
in adjust_mapping_hdf5_error_codes.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=9
2018-10-12 15:06:02 +00:00
4c22369677 Accepting request 641325 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/641325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=9
2018-10-12 11:11:44 +00:00
Todd R
1b16c37f26 Accepting request 641324 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix ldconfig syntax errors.

OBS-URL: https://build.opensuse.org/request/show/641324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=7
2018-10-11 16:35:23 +00:00
0200e45fd2 Clean SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=6
2018-10-10 14:16:56 +00:00
dcca0a5aa8 Add valuerror-typerror-failing-tests.patch to make two tests pass.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=5
2018-10-10 14:07:34 +00:00
65667db07e Accepting request 628931 from devel:languages:python:numeric
- Updated to 2.8.0
  Changes from 2.7.1 are too numerous to list here, complete changelog
  is available online at https://github.com/h5py/h5py/releases
  Patch dont_reorder_compund.patch has been included upstream
- Remove dependency on unittest2
  Patch remove_unittest2.patch facilitates the change

OBS-URL: https://build.opensuse.org/request/show/628931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=8
2018-08-15 08:36:16 +00:00
5063199ab8 Accepting request 580312 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=7
2018-02-27 15:59:25 +00:00
3995feb3d6 Accepting request 541760 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/541760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=6
2017-11-14 12:06:57 +00:00
4df2e3d14c Accepting request 494710 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/494710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=5
2017-05-16 12:44:31 +00:00
34d2cfae5c Accepting request 319095 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/319095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=4
2015-08-01 09:37:30 +00:00
2f9f4aee86 Accepting request 295320 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/295320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=3
2015-04-11 22:10:49 +00:00
Stephan Kulow
29e65da587 Accepting request 241321 from devel:languages:python
This is one of the two main tools for accessing hdf5 data (one of the key general-purpose scientific data formats) in python.  The other is python-tables, which will be submitted once its dependencies are in openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/241321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=1
2014-07-18 04:40:41 +00:00
4 changed files with 127 additions and 19 deletions

Binary file not shown.

3
h5py-3.15.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c86e3ed45c4473564de55aa83b6fc9e5ead86578773dfbd93047380042e26b69
size 426236

View File

@@ -1,3 +1,112 @@
-------------------------------------------------------------------
Mon Dec 22 12:05:57 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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).
* Fixed some SyntaxWarnings which might become errors in a future
Python version (PR 2597).
-------------------------------------------------------------------
Mon Aug 25 04:12:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Fri Nov 15 19:11:37 UTC 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 libhdf5s 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 its 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 8 06:51:52 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-h5py
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -48,33 +48,32 @@
%endif
# /SECTION MPI DEFINITIONS
Name: %{pname}%{?my_suffix}
Version: 3.11.0
Version: 3.15.1
Release: 0
Summary: Python interface to the Hierarchical Data Format library
License: BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/h5py/h5py
Source: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.29 with %python-Cython < 4}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= 1.17.3}
BuildRequires: %{python_module Cython >= 3 with %python-Cython < 4}
BuildRequires: %{python_module devel >= 3.10}
BuildRequires: %{python_module numpy-devel >= 2.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pkgconfig}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 61}
BuildRequires: %{python_module pkgconfig >= 1.5.5}
BuildRequires: %{python_module pytest >= 8.2.2}
BuildRequires: %{python_module setuptools >= 77.0.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: hdf5%{?my_suffix}-devel
BuildRequires: hdf5%{?my_suffix}-devel >= 1.11.5
BuildRequires: python-rpm-macros
%requires_eq hdf5%{?my_suffix}
%requires_eq libhdf5%{?my_suffix}
Requires: python-numpy >= 1.17.3
# Work around requires_eq not finding the capability libhdf5. Need the Requires before the macro for the python subpackage rewriter
Requires: %(rpm -q --requires hdf5%{?my_suffix}-devel | grep 'libhdf5.* = ' | head -n 1)
Requires: python-numpy >= 1.21.2
%if %{with mpi}
BuildRequires: %{mpi_flavor}%{mpi_vers}-devel
BuildRequires: %{python_module mpi4py >= 3.1.1 if %python-base < 3.11}
BuildRequires: %{python_module mpi4py >= 3.1.4 if %python-base >= 3.11}
BuildRequires: %{python_module pytest-mpi}
Requires: python-mpi4py >= 3.1.1
BuildRequires: %{python_module mpi4py >= 3.1.2}
BuildRequires: %{python_module pytest-mpi >= 0.6}
Requires: python-mpi4py >= 3.1.2
%endif
%python_subpackages