python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2
PATCH 1/5 python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2
Upgrade to release 0.4.2:
- NumPy is now loaded lately, only if the use of numpy arrays is expected. This allows the calling modules to load and configure numpy beforehand.
---
...thon3-javaobj-py3_0.4.1.bb => python3-javaobj-py3_0.4.2.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-javaobj-py3_0.4.1.bb => python3-javaobj-py3_0.4.2.bb} (80%)meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb renamed from meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb +1 -2
@@ -7,8 +7,7 @@ HOMEPAGE = "https://github.com/tcalmant/python-javaobj" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" -SRC_URI[md5sum] = "47632071c3c3ca14b6c42f2a4e2e1309" -SRC_URI[sha256sum] = "419ff99543469e68149f875abb0db5251cecd350c03d2bfb4c94a5796f1cbc14" +SRC_URI[sha256sum] = "ed3b1ffcfd39f165729cb53587cca02ab0bfa4c332c837a92d5ffe6aef5c8010" inherit pypi setuptools3
Signature · 1 line
2.17.1
PATCH 2/5 python3-pytest-html: Upgrade 2.1.1 -> 3.1.1
Upgrade to release 3.1.1:
- Fix issue with reporting of missing CSS files
- Stop attaching test reruns to final test report entries
- Allow for report duration formatting
- Respect --capture=no, --show-capture=no, and -s pytest flags
- Make the Results table Links column sortable
- Fix issue with missing image or video in extras
- Fix attribute name for compatibility with pytest-xdist 2
- Post process HTML generation to allow teardown to appear in the HTML output
License-Update: Following recent changes to README.rst, just use LICENSE downloaded from PyPI.
--- .../python/python3-pytest-html_2.1.1.bb | 24 ------------------- .../python/python3-pytest-html_3.1.1.bb | 18 ++++++++++++++ 2 files changed, 18 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb deleted +0 -24
@@ -1,24 +0,0 @@ -DESCRIPTION = "pytest plugin for generating html reports from test results" -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" - -LICENSE = "MPL-2.0" -LIC_FILES_CHKSUM = "file://../pytest-html.LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" - -# Per README.rst the license statement is fetched from -# https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE -SRC_URI += "https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE;name=license;downloadfilename=pytest-html.LICENSE" -SRC_URI[license.md5sum] = "5d425c8f3157dbf212db2ec53d9e5132" -SRC_URI[license.sha256sum] = "2bfdca60adf803108d4c7f009000bea76ad00e621e163197881b0eaae91b530e" - -SRC_URI[sha256sum] = "6a4ac391e105e391208e3eb9bd294a60dd336447fd8e1acddff3a6de7f4e57c5" - - -PYPI_PACKAGE = "pytest-html" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-pytest \ -" - -BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "pytest plugin for generating html reports from test results" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" + +SRC_URI[sha256sum] = "3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3" + + +PYPI_PACKAGE = "pytest-html" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pytest \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1
Quoted 14 lines · Leon Anavi
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 3.1.1:
- Fix issue with reporting of missing CSS files
- Stop attaching test reruns to final test report entries
- Allow for report duration formatting
- Respect --capture=no, --show-capture=no, and -s pytest flags
- Make the Results table Links column sortable
- Fix issue with missing image or video in extras
- Fix attribute name for compatibility with pytest-xdist 2
- Post process HTML generation to allow teardown to appear in the HTML output
Quoted 4 lines
License-Update: Following recent changes to
README.rst, just use LICENSE downloaded from PyPI.Signed-off-by Leon Anavi <[email protected]>
Quoted 67 lines
--- .../python/python3-pytest-html_2.1.1.bb | 24 ------------------- .../python/python3-pytest-html_3.1.1.bb | 18 ++++++++++++++ 2 files changed, 18 insertions(+), 24 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb deleted +0
-24@@ -1,24 +0,0 @@ -DESCRIPTION = "pytest plugin for generating html reports from test results" -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" - -LICENSE = "MPL-2.0" -LIC_FILES_CHKSUM = "file://../pytest-html.LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" - -# Per README.rst the license statement is fetched from -# https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE -SRC_URI += "https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE;name=license;downloadfilename=pytest-html.LICENSE" -SRC_URI[license.md5sum] = "5d425c8f3157dbf212db2ec53d9e5132" -SRC_URI[license.sha256sum] = "2bfdca60adf803108d4c7f009000bea76ad00e621e163197881b0eaae91b530e" - -SRC_URI[sha256sum] = "6a4ac391e105e391208e3eb9bd294a60dd336447fd8e1acddff3a6de7f4e57c5" - - -PYPI_PACKAGE = "pytest-html" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-pytest \ -" - -BBCLASSEXTEND = "native nativesdk"meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb new file +18
-1@@ -0,0 +1,18 @@ +DESCRIPTION = "pytest plugin for generating html reports from test results" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" + +SRC_URI[sha256sum] = "3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3" + + +PYPI_PACKAGE = "pytest-html" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pytest \ +" + +BBCLASSEXTEND = "native nativesdk" --2.17.1
PATCH 3/5 python3-graphviz: Upgrade 0.14.2 -> 0.16
In reply to Leon AnaviUpgrade to release 0.16:
- Add ``.unflatten()`` method to ``Graph``, ``Digraph``, and ``Source``. Add standalone ``unflatten()``.
- Make ``Source.__str__()`` return the ``.source`` instead of the ``repr()`` (like ``Graph`` and ``Digraph``).
- Render with ``dot -K<engine> ...`` instead of ``<engine> ...`` internally.
- Add documentation hint to archived upstream version for Windows.
- Re-render most documentation graphs with Graphviz 2.44.1.
---
.../{python3-graphviz_0.14.2.bb => python3-graphviz_0.16.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-graphviz_0.14.2.bb => python3-graphviz_0.16.bb} (70%)meta-python/recipes-devtools/python/python3-graphviz_0.16.bb renamed from meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb +1 -2
@@ -3,8 +3,7 @@ HOMEPAGE = "https://graphviz.readthedocs.io/en/stable/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f7831c564aeff14e68aa4ff7a93dc89f" -SRC_URI[md5sum] = "7123efabb68270f579525df74bf8b0c9" -SRC_URI[sha256sum] = "92b7637ece63c77e3d39221ae1f4df98e9256cb449e9860c598335b34496d195" +SRC_URI[sha256sum] = "d2d25af1c199cad567ce4806f0449cb74eb30cf451fd7597251e1da099ac6e57" inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16
Quoted 13 lines · Leon Anavi
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 0.16:
- Add ``.unflatten()`` method to ``Graph``, ``Digraph``, and ``Source``. Add standalone ``unflatten()``.
- Make ``Source.__str__()`` return the ``.source`` instead of the ``repr()`` (like ``Graph`` and ``Digraph``).
- Render with ``dot -K<engine> ...`` instead of ``<engine> ...`` internally.
- Add documentation hint to archived upstream version for Windows.
- Re-render most documentation graphs with Graphviz 2.44.1.
Quoted 1 line
Signed-off-by Leon Anavi <[email protected]>
Quoted 28 lines
--- .../{python3-graphviz_0.14.2.bb => python3-graphviz_0.16.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-graphviz_0.14.2.bb => python3-graphviz_0.16.bb} (70%)
meta-python/recipes-devtools/python/python3-graphviz_0.16.bb renamed from meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb +1
-3@@ -3,8 +3,7 @@ HOMEPAGE = "https://graphviz.readthedocs.io/en/stable/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f7831c564aeff14e68aa4ff7a93dc89f" -SRC_URI[md5sum] = "7123efabb68270f579525df74bf8b0c9" -SRC_URI[sha256sum] = "92b7637ece63c77e3d39221ae1f4df98e9256cb449e9860c598335b34496d195" +SRC_URI[sha256sum] = "d2d25af1c199cad567ce4806f0449cb74eb30cf451fd7597251e1da099ac6e57" inherit pypi setuptools3 --2.17.1
PATCH 4/5 python3-tqdm: Upgrade 4.51.0 -> 4.56.0
In reply to Leon AnaviUpgrade to release 4.56.0:
- add tqdm.tk
- add tqdm.rich
- minor formatting improvements for tqdm.gui
- fix display() inheritance/override
- add tests
- add documentation
---
.../{python3-tqdm_4.51.0.bb => python3-tqdm_4.56.0.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-tqdm_4.51.0.bb => python3-tqdm_4.56.0.bb} (65%)meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb renamed from meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb +3 -2
@@ -5,9 +5,10 @@ SECTION = "devel/python" LICENSE = "MIT & MPL-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=7ea57584e3f8bbde2ae3e1537551de25" -SRC_URI[md5sum] = "b188c2dc7802c19b262971e566c265ce" -SRC_URI[sha256sum] = "ef54779f1c09f346b2b5a8e5c61f96fbcb639929e640e59f8cf810794f406432" +SRC_URI[sha256sum] = "fe3d08dd00a526850568d542ff9de9bbc2a09a791da3c334f3213d8d0bbbca65" inherit pypi setuptools3 +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0
Quoted 4 lines · Leon Anavi
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 4.56.0:
Quoted 8 lines
- add tqdm.tk
- add tqdm.rich
- minor formatting improvements for tqdm.gui
- fixdisplay()inheritance/override
- add tests
- add documentationSigned-off-by Leon Anavi <[email protected]>
Quoted 31 lines
--- .../{python3-tqdm_4.51.0.bb => python3-tqdm_4.56.0.bb} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-tqdm_4.51.0.bb => python3-tqdm_4.56.0.bb} (65%)
meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb renamed from meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb +3
-3@@ -5,9 +5,10 @@ SECTION = "devel/python" LICENSE = "MIT & MPL-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=7ea57584e3f8bbde2ae3e1537551de25" -SRC_URI[md5sum] = "b188c2dc7802c19b262971e566c265ce" -SRC_URI[sha256sum] = "ef54779f1c09f346b2b5a8e5c61f96fbcb639929e640e59f8cf810794f406432" +SRC_URI[sha256sum] = "fe3d08dd00a526850568d542ff9de9bbc2a09a791da3c334f3213d8d0bbbca65" inherit pypi setuptools3 +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + BBCLASSEXTEND = "native nativesdk" --2.17.1
PATCH 5/5 python3-h5py: Upgrade 2.10.0 -> 3.1.0
In reply to Leon AnaviUpgrade 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
---
.../0001-cross-compiling-support.patch | 47 -------------------
.../0001-setup.py-Fix-numpy-version.patch | 30 ++++++++++++
...1-setup_build.py-avoid-absolute-path.patch | 13 ++---
...3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} | 5 +-
4 files changed, 39 insertions(+), 56 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
create mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
rename meta-python/recipes-devtools/python/{python3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} (78%)meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch deleted +0 -47
@@ -1,47 +0,0 @@ -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Tue, 29 Jan 2019 17:08:32 +0800 -Subject: [PATCH] cross compiling support - -Remove useless dirs - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - setup_build.py | 4 ---- - setup_configure.py | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/setup_build.py b/setup_build.py -index c0e9a28c..ffd3bef7 100644 ---- a/setup_build.py -+++ b/setup_build.py -@@ -55,10 +55,6 @@ if sys.platform.startswith('win'): - ('_HDF5USEDLL_', None), - ('H5_BUILT_AS_DYNAMIC_LIB', None) - ]) --else: -- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) -- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) -- - - class h5py_build_ext(build_ext): - -diff --git a/setup_configure.py b/setup_configure.py -index 5576775e..75f4141e 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -206,7 +206,7 @@ def autodetect_version(hdf5_dir=None): - default_path = 'libhdf5.so' - regexp = re.compile(r'^libhdf5.so') - -- libdirs = ['/usr/local/lib', '/opt/local/lib'] -+ libdirs = [] - try: - if pkgconfig.exists("hdf5"): - libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) --- -2.17.1 -
meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Wed, 3 Feb 2021 17:23:29 +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 <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7dbe5835..8fc15bc8 100755 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ NUMPY_MIN_VERSIONS = [ + ('1.12', "=='3.6'"), + ('1.14.5', "=='3.7'"), + ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.19.5', ">='3.9'"), + ] + + # these are required to use h5py +-- +2.17.1 +
meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +7 -6
@@ -1,6 +1,6 @@ -From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001 +From 86a2c95941a3854fda763037a16b5b22ec6f15e9 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> -Date: Fri, 29 Jan 2021 02:33:06 +0000 +Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt.
@@ -8,15 +8,16 @@ Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py -index ffd3bef..fb196c0 100644 +index 3c7c7adb..d824bdda 100644 --- a/setup_build.py +++ b/setup_build.py -@@ -20,7 +20,7 @@ import api_gen +@@ -21,7 +21,7 @@ from setup_configure import BuildConfig def localpath(*args):
@@ -24,7 +25,7 @@ index ffd3bef..fb196c0 100644 + return op.join(*args) - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', + MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', -- -2.29.2 +2.17.1
meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb +2 -3
@@ -4,12 +4,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[md5sum] = "504b595237409ab766fbbe568e60a080" -SRC_URI[sha256sum] = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d" +SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" SRC_URI_append = " \ - file://0001-cross-compiling-support.patch \ file://0001-setup_build.py-avoid-absolute-path.patch \ + file://0001-setup.py-Fix-numpy-version.patch \ " inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
Fails on musl/x86
https://errors.yoctoproject.org/Errors/Details/567807/
Quoted 182 lines · Leon Anavi
Upgrade to release 3.1.0:
- Fix using bytes as names for :meth:
~Group.create_datasetand  :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 systemsSigned-off-by Leon Anavi <[email protected]>--- .../0001-cross-compiling-support.patch | 47 ------------------- .../0001-setup.py-Fix-numpy-version.patch | 30 ++++++++++++ ...1-setup_build.py-avoid-absolute-path.patch | 13 ++--- ...3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} | 5 +- 4 files changed, 39 insertions(+), 56 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch create mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch rename meta-python/recipes-devtools/python/{python3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} (78%)meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch deleted +0
-47@@ -1,47 +0,0 @@ -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Tue, 29 Jan 2019 17:08:32 +0800 -Subject: [PATCH] cross compiling support - -Remove useless dirs - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - setup_build.py | 4 ---- - setup_configure.py | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/setup_build.py b/setup_build.py -index c0e9a28c..ffd3bef7 100644 ---- a/setup_build.py -+++ b/setup_build.py -@@ -55,10 +55,6 @@ if sys.platform.startswith('win'): - ('_HDF5USEDLL_', None), - ('H5_BUILT_AS_DYNAMIC_LIB', None) - ]) --else: -- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) -- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) -- - - class h5py_build_ext(build_ext): - -diff --git a/setup_configure.py b/setup_configure.py -index 5576775e..75f4141e 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -206,7 +206,7 @@ def autodetect_version(hdf5_dir=None): - default_path = 'libhdf5.so' - regexp = re.compile(r'^libhdf5.so') - -- libdirs = ['/usr/local/lib', '/opt/local/lib'] -+ libdirs = [] - try: - if pkgconfig.exists("hdf5"): - libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) --- -2.17.1 -meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch new file +30
-0@@ -0,0 +1,30 @@ +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Wed, 3 Feb 2021 17:23:29 +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 <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7dbe5835..8fc15bc8 100755 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ NUMPY_MIN_VERSIONS = [ + ('1.12', "=='3.6'"), + ('1.14.5', "=='3.7'"), + ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.19.5', ">='3.9'"), + ] + + # these are required to use h5py +-- +2.17.1 +meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +7
-6@@ -1,6 +1,6 @@ -From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001 +From 86a2c95941a3854fda763037a16b5b22ec6f15e9 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> -Date: Fri, 29 Jan 2021 02:33:06 +0000 +Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt.@@ -8,15 +8,16 @@ Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py -index ffd3bef..fb196c0 100644 +index 3c7c7adb..d824bdda 100644 --- a/setup_build.py +++ b/setup_build.py -@@ -20,7 +20,7 @@ import api_gen +@@ -21,7 +21,7 @@ from setup_configure import BuildConfig def localpath(*args):@@ -24,7 +25,7 @@ index ffd3bef..fb196c0 100644 + return op.join(*args) - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', + MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', -- -2.29.2 +2.17.1meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb +2
-4@@ -4,12 +4,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[md5sum] = "504b595237409ab766fbbe568e60a080" -SRC_URI[sha256sum] = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d" +SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" SRC_URI_append = " \ - file://0001-cross-compiling-support.patch \ file://0001-setup_build.py-avoid-absolute-path.patch \ + file://0001-setup.py-Fix-numpy-version.patch \ " inherit pypi setuptools3 --2.17.1
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
In reply to Leon AnaviQuoted 13 lines · Leon Anavi
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 3.1.0:
- Fix using bytes as names for :meth:
~Group.create_datasetand  :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
Quoted 1 line
Signed-off-by Leon Anavi <[email protected]>
Quoted 169 lines
--- .../0001-cross-compiling-support.patch | 47 ------------------- .../0001-setup.py-Fix-numpy-version.patch | 30 ++++++++++++ ...1-setup_build.py-avoid-absolute-path.patch | 13 ++--- ...3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} | 5 +- 4 files changed, 39 insertions(+), 56 deletions(-)delete mode 100644
meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patchcreate mode 100644meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patchrename meta-python/recipes-devtools/python/{python3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} (78%)meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch deleted +0
-47@@ -1,47 +0,0 @@ -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Tue, 29 Jan 2019 17:08:32 +0800 -Subject: [PATCH] cross compiling support - -Remove useless dirs - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - setup_build.py | 4 ---- - setup_configure.py | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/setup_build.py b/setup_build.py -index c0e9a28c..ffd3bef7 100644 ---- a/setup_build.py -+++ b/setup_build.py -@@ -55,10 +55,6 @@ if sys.platform.startswith('win'): - ('_HDF5USEDLL_', None), - ('H5_BUILT_AS_DYNAMIC_LIB', None) - ]) --else: -- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) -- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) -- - - class h5py_build_ext(build_ext): - -diff --git a/setup_configure.py b/setup_configure.py -index 5576775e..75f4141e 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -206,7 +206,7 @@ def autodetect_version(hdf5_dir=None): - default_path = 'libhdf5.so' - regexp = re.compile(r'^libhdf5.so') - -- libdirs = ['/usr/local/lib', '/opt/local/lib'] -+ libdirs = [] - try: - if pkgconfig.exists("hdf5"): - libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) --- -2.17.1 -meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch new file +30
-0@@ -0,0 +1,30 @@ +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Wed, 3 Feb 2021 17:23:29 +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 <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7dbe5835..8fc15bc8 100755 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ NUMPY_MIN_VERSIONS = [ + ('1.12', "=='3.6'"), + ('1.14.5', "=='3.7'"), + ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.19.5', ">='3.9'"), + ] + + # these are required to use h5py +-- +2.17.1 +meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +7
-6@@ -1,6 +1,6 @@ -From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001 +From 86a2c95941a3854fda763037a16b5b22ec6f15e9 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> -Date: Fri, 29 Jan 2021 02:33:06 +0000 +Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt.@@ -8,15 +8,16 @@ Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py -index ffd3bef..fb196c0 100644 +index 3c7c7adb..d824bdda 100644 --- a/setup_build.py +++ b/setup_build.py -@@ -20,7 +20,7 @@ import api_gen +@@ -21,7 +21,7 @@ from setup_configure import BuildConfig def localpath(*args):@@ -24,7 +25,7 @@ index ffd3bef..fb196c0 100644 + return op.join(*args) - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', + MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', -- -2.29.2 +2.17.1meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb +2
-4@@ -4,12 +4,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[md5sum] = "504b595237409ab766fbbe568e60a080" -SRC_URI[sha256sum] = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d" +SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" SRC_URI_append = " \ - file://0001-cross-compiling-support.patch \ file://0001-setup_build.py-avoid-absolute-path.patch \ + file://0001-setup.py-Fix-numpy-version.patch \ " inherit pypi setuptools3 --2.17.1
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
Quoted 17 lines · Trevor Gamblin
On 2021-02-03 10:38 a.m., Leon Anavi wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 3.1.0:
- Fix using bytes as names for :meth:
~Group.create_datasetand  :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
Quoted 4 lines
Signed-off-by Leon Anavi <[email protected]>Acked-by Trevor Gamblin <[email protected]>
hey Trevor can you see the musl failure I am seeing ? we should hold it until thats fixed.
Quoted 172 lines
--- .../0001-cross-compiling-support.patch | 47 ------------------- .../0001-setup.py-Fix-numpy-version.patch | 30 ++++++++++++ ...1-setup_build.py-avoid-absolute-path.patch | 13 ++--- ...3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} | 5 +- 4 files changed, 39 insertions(+), 56 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch create mode 100644 meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch rename meta-python/recipes-devtools/python/{python3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} (78%)meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch deleted +0
-47@@ -1,47 +0,0 @@ -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Tue, 29 Jan 2019 17:08:32 +0800 -Subject: [PATCH] cross compiling support - -Remove useless dirs - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - setup_build.py | 4 ---- - setup_configure.py | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/setup_build.py b/setup_build.py -index c0e9a28c..ffd3bef7 100644 ---- a/setup_build.py -+++ b/setup_build.py -@@ -55,10 +55,6 @@ if sys.platform.startswith('win'): - ('_HDF5USEDLL_', None), - ('H5_BUILT_AS_DYNAMIC_LIB', None) - ]) --else: -- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) -- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) -- - - class h5py_build_ext(build_ext): - -diff --git a/setup_configure.py b/setup_configure.py -index 5576775e..75f4141e 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -206,7 +206,7 @@ def autodetect_version(hdf5_dir=None): - default_path = 'libhdf5.so' - regexp = re.compile(r'^libhdf5.so') - -- libdirs = ['/usr/local/lib', '/opt/local/lib'] -+ libdirs = [] - try: - if pkgconfig.exists("hdf5"): - libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) --- -2.17.1 -meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch new file +30
-0@@ -0,0 +1,30 @@ +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Wed, 3 Feb 2021 17:23:29 +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 <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7dbe5835..8fc15bc8 100755 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ NUMPY_MIN_VERSIONS = [ + ('1.12', "=='3.6'"), + ('1.14.5', "=='3.7'"), + ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.19.5', ">='3.9'"), + ] + + # these are required to use h5py +-- +2.17.1 +meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +7
-6@@ -1,6 +1,6 @@ -From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001 +From 86a2c95941a3854fda763037a16b5b22ec6f15e9 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> -Date: Fri, 29 Jan 2021 02:33:06 +0000 +Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt.@@ -8,15 +8,16 @@ Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py -index ffd3bef..fb196c0 100644 +index 3c7c7adb..d824bdda 100644 --- a/setup_build.py +++ b/setup_build.py -@@ -20,7 +20,7 @@ import api_gen +@@ -21,7 +21,7 @@ from setup_configure import BuildConfig def localpath(*args):@@ -24,7 +25,7 @@ index ffd3bef..fb196c0 100644 + return op.join(*args) - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', + MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', -- -2.29.2 +2.17.1meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb +2
-4@@ -4,12 +4,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[md5sum] = "504b595237409ab766fbbe568e60a080" -SRC_URI[sha256sum] = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d" +SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" SRC_URI_append = " \ - file://0001-cross-compiling-support.patch \ file://0001-setup_build.py-avoid-absolute-path.patch \ + file://0001-setup.py-Fix-numpy-version.patch \ " inherit pypi setuptools3 --2.17.1
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
Quoted 20 lines · Khem Raj
[Please note: This e-mail is from an EXTERNAL e-mail address]
Quoted 16 lines · Trevor Gamblin
On 2021-02-03 10:38 a.m., Leon Anavi wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 3.1.0:
- Fix using bytes as names for :meth:
~Group.create_datasetand  :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
Quoted 6 lines
Quoted 4 lines
Signed-off-by Leon Anavi <[email protected]>Acked-by Trevor Gamblin <[email protected]>hey Trevor can you see the musl failure I am seeing ? we should hold it until thats fixed.
Alright, let's hold off then. Need to add musl builds to my pipeline...
Quoted 176 lines
Quoted 176 lines
--- .../0001-cross-compiling-support.patch | 47 ------------------- .../0001-setup.py-Fix-numpy-version.patch | 30 ++++++++++++ ...1-setup_build.py-avoid-absolute-path.patch | 13 ++--- ...3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} | 5 +- 4 files changed, 39 insertions(+), 56 deletions(-)delete mode 100644
meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patchcreate mode 100644meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patchrename meta-python/recipes-devtools/python/{python3-h5py_2.10.0.bb => python3-h5py_3.1.0.bb} (78%)meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch deleted +0
-47@@ -1,47 +0,0 @@ -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Tue, 29 Jan 2019 17:08:32 +0800 -Subject: [PATCH] cross compiling support - -Remove useless dirs - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <[email protected]> -Signed-off-by: Leon Anavi <[email protected]> ---- - setup_build.py | 4 ---- - setup_configure.py | 2 +- - 2 files changed, 1 insertion(+), 5 deletions(-) - -diff --git a/setup_build.py b/setup_build.py -index c0e9a28c..ffd3bef7 100644 ---- a/setup_build.py -+++ b/setup_build.py -@@ -55,10 +55,6 @@ if sys.platform.startswith('win'): - ('_HDF5USEDLL_', None), - ('H5_BUILT_AS_DYNAMIC_LIB', None) - ]) --else: -- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) -- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) -- - - class h5py_build_ext(build_ext): - -diff --git a/setup_configure.py b/setup_configure.py -index 5576775e..75f4141e 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -206,7 +206,7 @@ def autodetect_version(hdf5_dir=None): - default_path = 'libhdf5.so' - regexp = re.compile(r'^libhdf5.so') - -- libdirs = ['/usr/local/lib', '/opt/local/lib'] -+ libdirs = [] - try: - if pkgconfig.exists("hdf5"): - libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) --- -2.17.1 -meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch new file +30
-0@@ -0,0 +1,30 @@ +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Wed, 3 Feb 2021 17:23:29 +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 <[email protected]> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7dbe5835..8fc15bc8 100755 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ NUMPY_MIN_VERSIONS = [ + ('1.12', "=='3.6'"), + ('1.14.5', "=='3.7'"), + ('1.17.5', "=='3.8'"), +- ('1.19.3', ">='3.9'"), ++ ('1.19.5', ">='3.9'"), + ] + + # these are required to use h5py +-- +2.17.1 +meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch +7
-6@@ -1,6 +1,6 @@ -From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001 +From 86a2c95941a3854fda763037a16b5b22ec6f15e9 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> -Date: Fri, 29 Jan 2021 02:33:06 +0000 +Date: Thu, 28 Jan 2021 18:44:10 -0800 Subject: [PATCH] setup_build.py: avoid absolute path Prevent absolute path from ending up in the egg-info SOURCES.txt.@@ -8,15 +8,16 @@ Prevent absolute path from ending up in the egg-info SOURCES.txt. Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803] Signed-off-by: Mingli Yu <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> --- setup_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_build.py b/setup_build.py -index ffd3bef..fb196c0 100644 +index 3c7c7adb..d824bdda 100644 --- a/setup_build.py +++ b/setup_build.py -@@ -20,7 +20,7 @@ import api_gen +@@ -21,7 +21,7 @@ from setup_configure import BuildConfig def localpath(*args):@@ -24,7 +25,7 @@ index ffd3bef..fb196c0 100644 + return op.join(*args) - MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z', + MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z', -- -2.29.2 +2.17.1meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb renamed from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb +2
-4@@ -4,12 +4,11 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[md5sum] = "504b595237409ab766fbbe568e60a080" -SRC_URI[sha256sum] = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d" +SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" SRC_URI_append = " \ - file://0001-cross-compiling-support.patch \ file://0001-setup_build.py-avoid-absolute-path.patch \ + file://0001-setup.py-Fix-numpy-version.patch \ " inherit pypi setuptools3 --2.17.1
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
Hi Khem, Trevor,
Quoted 4 lines · Trevor Gamblin
Quoted 2 lines
hey Trevor can you see the musl failure I am seeing ? we should hold it until thats fixed.
Alright, let's hold off then. Need to add musl builds to my pipeline...
I have an idea what I did wrong related to numpy versions. I will have a look.
Khem, btw which version of numpy did you have on your musl test setup when it failed?
Best regards,
Leon
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
Quoted 6 lines · Leon Anavi
Hi Khem, Trevor,
Quoted 2 lines · Trevor Gamblin
Quoted 2 lines
hey Trevor can you see the musl failure I am seeing ? we should hold it until thats fixed.
Quoted 7 lines
Quoted 2 lines
Alright, let's hold off then. Need to add musl builds to my pipeline...
I have an idea what I did wrong related to numpy versions. I will have a look.
Khem, btw which version of numpy did you have on your musl test setup when it failed?
for CI I use yoe/mut branches of all layers where they are based on master or master-next of given layer and for oe-core
its using master-next
see
https://github.com/YoeDistro/yoe-distro/blob/yoe/mut/.gitmodules
Quoted 10 lines
Best regards,
Leon--
Leon Anavi
Software Engineer
konsulko.com
Quoted 9 lines · Leon Anavi
[Please note: This e-mail is from an EXTERNAL e-mail address]
Upgrade to release 0.4.2:
- NumPy is now loaded lately, only if the use of numpy arrays is expected. This allows the calling modules to load and configure numpy beforehand.
Signed-off-by Leon Anavi <[email protected]>
Quoted 28 lines
--- ...thon3-javaobj-py3_0.4.1.bb => python3-javaobj-py3_0.4.2.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-javaobj-py3_0.4.1.bb => python3-javaobj-py3_0.4.2.bb} (80%)
meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb renamed from meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb +1
-3@@ -7,8 +7,7 @@ HOMEPAGE = "https://github.com/tcalmant/python-javaobj" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" -SRC_URI[md5sum] = "47632071c3c3ca14b6c42f2a4e2e1309" -SRC_URI[sha256sum] = "419ff99543469e68149f875abb0db5251cecd350c03d2bfb4c94a5796f1cbc14" +SRC_URI[sha256sum] = "ed3b1ffcfd39f165729cb53587cca02ab0bfa4c332c837a92d5ffe6aef5c8010" inherit pypi setuptools3 --2.17.1