All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2
@ 2021-02-03 15:38 Leon Anavi
  2021-02-03 15:38 ` [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1 Leon Anavi
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Leon Anavi @ 2021-02-03 15:38 UTC (permalink / raw
  To: openembedded-devel; +Cc: Leon Anavi

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 <leon.anavi@konsulko.com>
---
 ...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%)

diff --git a/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb b/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb
rename to meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
index c83140a89..2f2421981 100644
--- a/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
@@ -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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1
  2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
@ 2021-02-03 15:38 ` Leon Anavi
  2021-02-05 14:03   ` [oe] " Trevor Gamblin
  2021-02-03 15:38 ` [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16 Leon Anavi
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Leon Anavi @ 2021-02-03 15:38 UTC (permalink / raw
  To: openembedded-devel; +Cc: Leon Anavi

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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb
deleted file mode 100644
index 27b768155..000000000
--- a/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb
+++ /dev/null
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
new file mode 100644
index 000000000..bd543d2f0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
@@ -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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16
  2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
  2021-02-03 15:38 ` [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1 Leon Anavi
@ 2021-02-03 15:38 ` Leon Anavi
  2021-02-05 14:03   ` [oe] " Trevor Gamblin
  2021-02-03 15:38 ` [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0 Leon Anavi
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Leon Anavi @ 2021-02-03 15:38 UTC (permalink / raw
  To: openembedded-devel; +Cc: Leon Anavi

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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{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%)

diff --git a/meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb b/meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb
rename to meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
index 0de4c8f40..1af657098 100644
--- a/meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb
+++ b/meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
@@ -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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0
  2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
  2021-02-03 15:38 ` [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1 Leon Anavi
  2021-02-03 15:38 ` [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16 Leon Anavi
@ 2021-02-03 15:38 ` Leon Anavi
  2021-02-05 14:03   ` [oe] " Trevor Gamblin
  2021-02-03 15:38 ` [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0 Leon Anavi
  2021-02-05 14:03 ` [oe] [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Trevor Gamblin
  4 siblings, 1 reply; 15+ messages in thread
From: Leon Anavi @ 2021-02-03 15:38 UTC (permalink / raw
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade 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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{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%)

diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
rename to meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
index e4510ad44..d4baf6f22 100644
--- a/meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
+++ b/meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
@@ -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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
                   ` (2 preceding siblings ...)
  2021-02-03 15:38 ` [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0 Leon Anavi
@ 2021-02-03 15:38 ` Leon Anavi
  2021-02-04 21:45   ` [oe] " Khem Raj
  2021-02-05 14:03   ` Trevor Gamblin
  2021-02-05 14:03 ` [oe] [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Trevor Gamblin
  4 siblings, 2 replies; 15+ messages in thread
From: Leon Anavi @ 2021-02-03 15:38 UTC (permalink / raw
  To: openembedded-devel; +Cc: Leon Anavi

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>
---
 .../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%)

diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
deleted file mode 100644
index 8c0b91432..000000000
--- a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-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 <hongxu.jia@windriver.com>
-Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
----
- 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
-
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
new file mode 100644
index 000000000..57037a91a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
@@ -0,0 +1,30 @@
+From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <leon.anavi@konsulko.com>
+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 <leon.anavi@konsulko.com>
+---
+ 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
+
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
index da95ee7af..05c126e54 100644
--- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -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 <mingli.yu@windriver.com>
-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 <mingli.yu@windriver.com>
+Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
 ---
  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
 
diff --git a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
rename to meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
index b812b323f..03ae4c9db 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
@@ -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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-03 15:38 ` [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0 Leon Anavi
@ 2021-02-04 21:45   ` Khem Raj
  2021-02-05 14:03   ` Trevor Gamblin
  1 sibling, 0 replies; 15+ messages in thread
From: Khem Raj @ 2021-02-04 21:45 UTC (permalink / raw
  To: Leon Anavi; +Cc: openembeded-devel

Fails on musl/x86
https://errors.yoctoproject.org/Errors/Details/567807/

On Wed, Feb 3, 2021 at 7:38 AM Leon Anavi <leon.anavi@konsulko.com> wrote:
>
> 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>
> ---
>  .../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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> deleted file mode 100644
> index 8c0b91432..000000000
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> +++ /dev/null
> @@ -1,47 +0,0 @@
> -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001
> -From: Hongxu Jia <hongxu.jia@windriver.com>
> -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 <hongxu.jia@windriver.com>
> -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ----
> - 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
> -
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> new file mode 100644
> index 000000000..57037a91a
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> @@ -0,0 +1,30 @@
> +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001
> +From: Leon Anavi <leon.anavi@konsulko.com>
> +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 <leon.anavi@konsulko.com>
> +---
> + 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
> +
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> index da95ee7af..05c126e54 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> @@ -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 <mingli.yu@windriver.com>
> -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 <mingli.yu@windriver.com>
> +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>  ---
>   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
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> similarity index 78%
> rename from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> rename to meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> index b812b323f..03ae4c9db 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> @@ -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
>
>
> 
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2
  2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
                   ` (3 preceding siblings ...)
  2021-02-03 15:38 ` [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0 Leon Anavi
@ 2021-02-05 14:03 ` Trevor Gamblin
  4 siblings, 0 replies; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 14:03 UTC (permalink / raw
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]


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 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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb b/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
> similarity index 80%
> rename from meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb
> rename to meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
> index c83140a89..2f2421981 100644
> --- a/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.2.bb
> @@ -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
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2664 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1
  2021-02-03 15:38 ` [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1 Leon Anavi
@ 2021-02-05 14:03   ` Trevor Gamblin
  0 siblings, 0 replies; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 14:03 UTC (permalink / raw
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3391 bytes --]


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.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.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../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
>
> diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb
> deleted file mode 100644
> index 27b768155..000000000
> --- a/meta-python/recipes-devtools/python/python3-pytest-html_2.1.1.bb
> +++ /dev/null
> @@ -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"
> diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
> new file mode 100644
> index 000000000..bd543d2f0
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pytest-html_3.1.1.bb
> @@ -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
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 4701 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16
  2021-02-03 15:38 ` [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16 Leon Anavi
@ 2021-02-05 14:03   ` Trevor Gamblin
  0 siblings, 0 replies; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 14:03 UTC (permalink / raw
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]


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 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.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb b/meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
> similarity index 70%
> rename from meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb
> rename to meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
> index 0de4c8f40..1af657098 100644
> --- a/meta-python/recipes-devtools/python/python3-graphviz_0.14.2.bb
> +++ b/meta-python/recipes-devtools/python/python3-graphviz_0.16.bb
> @@ -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
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2932 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0
  2021-02-03 15:38 ` [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0 Leon Anavi
@ 2021-02-05 14:03   ` Trevor Gamblin
  0 siblings, 0 replies; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 14:03 UTC (permalink / raw
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]


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 4.56.0:
>
> - add tqdm.tk
> - add tqdm.rich
> - minor formatting improvements for tqdm.gui
> - fix display() inheritance/override
> - add tests
> - add documentation
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
> similarity index 65%
> rename from meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
> rename to meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
> index e4510ad44..d4baf6f22 100644
> --- a/meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-tqdm_4.56.0.bb
> @@ -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
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 2614 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-03 15:38 ` [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0 Leon Anavi
  2021-02-04 21:45   ` [oe] " Khem Raj
@ 2021-02-05 14:03   ` Trevor Gamblin
  2021-02-05 18:22     ` Khem Raj
  1 sibling, 1 reply; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 14:03 UTC (permalink / raw
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 7555 bytes --]


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_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>
> ---
>   .../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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> deleted file mode 100644
> index 8c0b91432..000000000
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> +++ /dev/null
> @@ -1,47 +0,0 @@
> -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001
> -From: Hongxu Jia <hongxu.jia@windriver.com>
> -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 <hongxu.jia@windriver.com>
> -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ----
> - 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
> -
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> new file mode 100644
> index 000000000..57037a91a
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> @@ -0,0 +1,30 @@
> +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001
> +From: Leon Anavi <leon.anavi@konsulko.com>
> +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 <leon.anavi@konsulko.com>
> +---
> + 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
> +
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> index da95ee7af..05c126e54 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> @@ -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 <mingli.yu@windriver.com>
> -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 <mingli.yu@windriver.com>
> +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>   ---
>    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
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> similarity index 78%
> rename from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> rename to meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> index b812b323f..03ae4c9db 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> @@ -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
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 9233 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-05 14:03   ` Trevor Gamblin
@ 2021-02-05 18:22     ` Khem Raj
  2021-02-05 19:56       ` Trevor Gamblin
  0 siblings, 1 reply; 15+ messages in thread
From: Khem Raj @ 2021-02-05 18:22 UTC (permalink / raw
  To: Trevor Gamblin; +Cc: Leon Anavi, openembeded-devel

On Fri, Feb 5, 2021 at 6:03 AM Trevor Gamblin
<trevor.gamblin@windriver.com> wrote:
>
>
> 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_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>
>

hey Trevor can you see the musl failure I am seeing ?
we should hold it until thats fixed.

> ---
>  .../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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> deleted file mode 100644
> index 8c0b91432..000000000
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
> +++ /dev/null
> @@ -1,47 +0,0 @@
> -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001
> -From: Hongxu Jia <hongxu.jia@windriver.com>
> -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 <hongxu.jia@windriver.com>
> -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ----
> - 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
> -
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> new file mode 100644
> index 000000000..57037a91a
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
> @@ -0,0 +1,30 @@
> +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001
> +From: Leon Anavi <leon.anavi@konsulko.com>
> +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 <leon.anavi@konsulko.com>
> +---
> + 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
> +
> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> index da95ee7af..05c126e54 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
> @@ -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 <mingli.yu@windriver.com>
> -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 <mingli.yu@windriver.com>
> +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>  ---
>   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
>
> diff --git a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> similarity index 78%
> rename from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> rename to meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> index b812b323f..03ae4c9db 100644
> --- a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
> @@ -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
>
>
>
>
>
> 
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-05 18:22     ` Khem Raj
@ 2021-02-05 19:56       ` Trevor Gamblin
  2021-02-06 14:00         ` Leon Anavi
  0 siblings, 1 reply; 15+ messages in thread
From: Trevor Gamblin @ 2021-02-05 19:56 UTC (permalink / raw
  To: Khem Raj; +Cc: Leon Anavi, openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 8157 bytes --]


On 2021-02-05 1:22 p.m., Khem Raj wrote:
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> On Fri, Feb 5, 2021 at 6:03 AM Trevor Gamblin
> <trevor.gamblin@windriver.com> wrote:
>>
>> 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_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>
>>
> 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...
>
>> ---
>>   .../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%)
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
>> deleted file mode 100644
>> index 8c0b91432..000000000
>> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch
>> +++ /dev/null
>> @@ -1,47 +0,0 @@
>> -From 364fd0906efa349ea44a761820408dcf6b2b8726 Mon Sep 17 00:00:00 2001
>> -From: Hongxu Jia <hongxu.jia@windriver.com>
>> -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 <hongxu.jia@windriver.com>
>> -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>> ----
>> - 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
>> -
>> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
>> new file mode 100644
>> index 000000000..57037a91a
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
>> @@ -0,0 +1,30 @@
>> +From 7c88e3762c2381a507dc86b90152216abe79a804 Mon Sep 17 00:00:00 2001
>> +From: Leon Anavi <leon.anavi@konsulko.com>
>> +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 <leon.anavi@konsulko.com>
>> +---
>> + 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
>> +
>> diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
>> index da95ee7af..05c126e54 100644
>> --- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
>> +++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
>> @@ -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 <mingli.yu@windriver.com>
>> -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 <mingli.yu@windriver.com>
>> +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
>>   ---
>>    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
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
>> similarity index 78%
>> rename from meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
>> rename to meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
>> index b812b323f..03ae4c9db 100644
>> --- a/meta-python/recipes-devtools/python/python3-h5py_2.10.0.bb
>> +++ b/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
>> @@ -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
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>

[-- Attachment #2: Type: text/html, Size: 10016 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-05 19:56       ` Trevor Gamblin
@ 2021-02-06 14:00         ` Leon Anavi
  2021-02-06 16:58           ` Khem Raj
  0 siblings, 1 reply; 15+ messages in thread
From: Leon Anavi @ 2021-02-06 14:00 UTC (permalink / raw
  To: Trevor Gamblin, Khem Raj; +Cc: openembeded-devel

Hi Khem, Trevor,

On 5.02.21 г. 21:56 ч., Trevor Gamblin wrote:
>> 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


-- 
Leon Anavi
Software Engineer
konsulko.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [oe] [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0
  2021-02-06 14:00         ` Leon Anavi
@ 2021-02-06 16:58           ` Khem Raj
  0 siblings, 0 replies; 15+ messages in thread
From: Khem Raj @ 2021-02-06 16:58 UTC (permalink / raw
  To: Leon Anavi; +Cc: Trevor Gamblin, openembeded-devel

On Sat, Feb 6, 2021 at 6:00 AM Leon Anavi <leon.anavi@konsulko.com> wrote:
>
> Hi Khem, Trevor,
>
> On 5.02.21 г. 21:56 ч., Trevor Gamblin wrote:
> >> 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?

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

>
> Best regards,
> Leon
>
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-02-06 16:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-03 15:38 [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Leon Anavi
2021-02-03 15:38 ` [meta-python][PATCH 2/5] python3-pytest-html: Upgrade 2.1.1 -> 3.1.1 Leon Anavi
2021-02-05 14:03   ` [oe] " Trevor Gamblin
2021-02-03 15:38 ` [meta-python][PATCH 3/5] python3-graphviz: Upgrade 0.14.2 -> 0.16 Leon Anavi
2021-02-05 14:03   ` [oe] " Trevor Gamblin
2021-02-03 15:38 ` [meta-python][PATCH 4/5] python3-tqdm: Upgrade 4.51.0 -> 4.56.0 Leon Anavi
2021-02-05 14:03   ` [oe] " Trevor Gamblin
2021-02-03 15:38 ` [meta-python][PATCH 5/5] python3-h5py: Upgrade 2.10.0 -> 3.1.0 Leon Anavi
2021-02-04 21:45   ` [oe] " Khem Raj
2021-02-05 14:03   ` Trevor Gamblin
2021-02-05 18:22     ` Khem Raj
2021-02-05 19:56       ` Trevor Gamblin
2021-02-06 14:00         ` Leon Anavi
2021-02-06 16:58           ` Khem Raj
2021-02-05 14:03 ` [oe] [meta-python][PATCH 1/5] python3-javaobj-py3: Upgrade 0.4.1 -> 0.4.2 Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.