Commit Graph

11 Commits

Author SHA1 Message Date
Wang Mingyu
b8e88cfbed
python3-h5py: upgrade 3.13.0 -> 3.14.0
0001-setup_build.py-avoid-absolute-path.patch
refreshed for 3.14.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-09 21:24:13 -07:00
Wang Mingyu
34821f5c4b
python3-h5py: upgrade 3.11.0 -> 3.12.1
0001-setup_build.py-avoid-absolute-path.patch
refreshed for 3.12.1

Changelog:
 https://github.com/h5py/h5py/blob/master/docs/whatsnew/3.12.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:25 -07:00
Ross Burton
7d5e32b7e9
python3-h5py: upgrade to 3.11.0
Notably, this release builds with Cython 3 and GCC 14.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:12:01 -07:00
Alexander Kanavin
8b100a34f6
python3-h5py: backport a cython 3.x compatibility patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:38 -08:00
Khem Raj
4e84bef891 python3-h5py: Upgrade to 3.8.0
Drop unused patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-01 20:22:25 -08:00
hongxu
a1965d0972 python3-h5py: fix wrong file driver version
Due to commit [1] applied in hdf5 (1.13.2), import hdf5 failed

|>>> import h5py
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.10/site-packages/h5py/__init__.py", line 56, in <module>
|    from . import h5a, h5d, h5ds, h5f, h5fd, h5g, h5r, h5s, h5t, h5p, h5z, h5pl
|  File "h5py/h5fd.pyx", line 220, in init h5py.h5fd
|RuntimeError: Wrong file driver version # (wrong file driver version #)

Initial driver version to fix the error

[1] 42b767fc67

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-21 06:34:45 -07:00
Leon Anavi
f95812d0bc python3-h5py: Upgrade 3.1.0 -> 3.2.1
Upgrade to release 3.2.1:

- Added support to use the HDF5 ROS3 driver to access HDF5 files
  on S3
- Setting the config option default_file_mode to values other than
  'r' is deprecated. Pass the desired mode when opening a
  :class:`~.File` instead.
- :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.
- Fix :attr:`.File.driver` when the read-only S3 driver is
  available.

Add hdf5-native as a dependency to avoid:

error: libhdf5.so: cannot open shared object file: No such file or directory

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-01 08:31:16 -07:00
Leon Anavi
606a07f6c5 python3-h5py: Upgrade 2.10.0 -> 3.1.0
Upgrade to release 3.1.0:

- Fix using bytes as names for :meth:`~Group.create_dataset` and
  :meth:`~Group.create_virtual_dataset`.
- Fix writing data as a list to a dataset with a sub-array data
  type.
- Preserve endianess in Cython dataset Reader
- If pytest is missing pytest-mpi then it will now fail
  immediately with a clear warning message
- Fix a test which was failing on big-endian systems

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-24 09:07:24 -08:00
Mingli Yu
193078e6bb python3-h5py: improve reproducibility
Prevent absolute path from ending up in the egg-info SOURCES.txt.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-01 10:44:32 -08:00
Leon Anavi
259b20be64 python3-h5py: Upgrade 2.9.0 -> 2.10.0
Inherit pypi. Use LICENSE for LIC_FILES_CHKSUM.

Upgrade to release 2.10.0, for details:
http://docs.h5py.org/en/stable/whatsnew/index.html

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-06 10:20:11 -07:00
Hongxu Jia
f6a3e4b563 python3-h5py: add version 2.9.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00