mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
(cherry picked from commit f95812d0bc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
29 lines
830 B
Diff
29 lines
830 B
Diff
From b1d4d171fd13624f3d8bb917f716b62494066501 Mon Sep 17 00:00:00 2001
|
|
From: Leon Anavi <leon.anavi@konsulko.com>
|
|
Date: Mon, 22 Feb 2021 18:42:43 +0200
|
|
Subject: [PATCH] setup.py: Fix numpy version
|
|
|
|
Fix numpy version to ensure bitbake will find the pip package.
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
|
|
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|
|
|
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 4b2890c..42ba21b 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -49,7 +49,7 @@ SETUP_REQUIRES = [
|
|
"Cython >=0.29.14; python_version=='3.8'",
|
|
"Cython >=0.29.15; python_version>='3.9'",
|
|
] + [
|
|
- f"numpy =={np_min}; python_version{py_condition}"
|
|
+ f"numpy >={np_min}; python_version{py_condition}"
|
|
for np_min, py_condition in NUMPY_MIN_VERSIONS
|
|
]
|
|
|