summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-03-30 14:10:06 +0300
committerKhem Raj <raj.khem@gmail.com>2021-04-01 08:31:16 -0700
commitf95812d0bc1bf25778566a44791257e5a113ab63 (patch)
tree837df8145b2cd8a3050d5a1f899102e82a3d9875 /meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
parent8f3ee91cfc0d6478ce9764d3415111a08b5c522f (diff)
downloadmeta-openembedded-f95812d0bc1bf25778566a44791257e5a113ab63.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
new file mode 100644
index 0000000000..5faa0b8080
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python."
2HOMEPAGE = "https://www.h5py.org/"
3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
6
7SRC_URI[sha256sum] = "89474be911bfcdb34cbf0d98b8ec48b578c27a89fdb1ae4ee7513f1ef8d9249e"
8
9SRC_URI_append = " \
10 file://0001-setup_build.py-avoid-absolute-path.patch \
11 file://0001-setup.py-Fix-numpy-version.patch \
12 "
13
14inherit pypi setuptools3
15
16BBCLASSEXTEND = "native"
17
18DEPENDS = "python3-pkgconfig-native \
19 python3-cython-native \
20 python3-numpy-native \
21 python3-six-native \
22 hdf5-native \
23 python3 \
24 hdf5 \
25 "
26
27RDEPENDS_${PN} = "python3-numpy \
28 python3-six \
29 "
30
31export HDF5_VERSION="1.8.21"