Date   

[meta-python] [PATCH] python3-pycodestyle: upgrade 2.8.0 -> 2.9.0

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

Changelog:
==========
E221, E222, E223, E224: add support for := operator. PR #1032.
Drop python 2.7 / 3.5.
E262: consider non-breaking spaces (\xa0) as whitespace. PR #1035.
Improve performance of _is_binary_operator. PR #1052.
E275: requires whitespace around keywords. PR #1063.
Add support for python 3.11. PR #1070.

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
...ython3-pycodestyle_2.8.0.bb => python3-pycodestyle_2.9.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pycodestyle_2.8.0.bb => python3-pycodestyle_2.9.0.bb} (76%)

diff --git a/meta-python/recipes-devtools/python/python3-pycodestyle_2.8.0.bb b/meta-python/recipes-devtools/python/python3-pycodestyle_2.9.0.bb
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pycodestyle_2.8.0.bb
rename to meta-python/recipes-devtools/python/python3-pycodestyle_2.9.0.bb
index 31720e2aab..b383828f0f 100644
--- a/meta-python/recipes-devtools/python/python3-pycodestyle_2.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pycodestyle_2.9.0.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a8546d0e77f416fb05a26acd89c8b3bd"

-SRC_URI[sha256sum] = "eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"
+SRC_URI[sha256sum] = "beaba44501f89d785be791c9462553f06958a221d166c64e1f107320f839acc2"

inherit pypi setuptools3

--
2.25.1


[meta-python] [PATCH] python3-protobuf: upgrade 4.21.3 -> 4.21.4

xuhuan.fnst@fujitsu.com
 

From: Xu Huan <xuhuan.fnst@...>

Signed-off-by: Xu Huan <xuhuan.fnst@...>
---
.../{python3-protobuf_4.21.3.bb => python3-protobuf_4.21.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-protobuf_4.21.3.bb => python3-protobuf_4.21.4.bb} (92%)

diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.21.3.bb b/meta-python/recipes-devtools/python/python3-protobuf_4.21.4.bb
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.21.3.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_4.21.4.bb
index 528f99ef20..6ebd797987 100644
--- a/meta-python/recipes-devtools/python/python3-protobuf_4.21.3.bb
+++ b/meta-python/recipes-devtools/python/python3-protobuf_4.21.4.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a

inherit pypi setuptools3

-SRC_URI[sha256sum] = "9130759e719bee1e6d05ca6a3037f7eff66d7a7ff6ba25871917dc40e8f3fbb6"
+SRC_URI[sha256sum] = "5783dc0d6edae631145337fabb18503b4f77274f94cdd22a4b26b9fe5029e718"

# http://errors.yoctoproject.org/Errors/Details/184715/
# Can't find required file: ../src/google/protobuf/descriptor.proto
--
2.25.1


[meta-python] [PATCH] python3-google-api-python-client: upgrade 2.54.0 -> 2.55.0

zhengruoqin
 

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
...ent_2.54.0.bb => python3-google-api-python-client_2.55.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-google-api-python-client_2.54.0.bb => python3-google-api-python-client_2.55.0.bb} (86%)

diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.54.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.55.0.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-google-api-python-client_2.54.0.bb
rename to meta-python/recipes-devtools/python/python3-google-api-python-client_2.55.0.bb
index af1b934c96..e32bebe172 100644
--- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.54.0.bb
+++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.55.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

-SRC_URI[sha256sum] = "90ebbae53025545b45962c0bc9874640511f35e929df773d034f40d9464c86af"
+SRC_URI[sha256sum] = "1766c700eee14809ca1f7f52868c937755153289ea77ecdfd73dea6910e9a34d"

inherit pypi setuptools3

--
2.25.1


[meta-python] [PATCH] python3-imageio: upgrade 2.19.5 -> 2.21.0

zhengruoqin
 

Changelog:
==========
Fix

Write single TIFF page for single RGB image (#851) (0f04bc9)

Feature

Add is_batch kwarg to pillow (#845) (21d5c73)

Other

Add a migration note about pillow squeezing (#850) (7c55a55)
Add missin option to imwrite type hints (#848) (6da4a42)
Ignore exclude_applied on legacy plugins (#844) (f082dde)
Remove unneeded CD steps (#847) (0d99c51)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-imageio_2.19.5.bb => python3-imageio_2.21.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-imageio_2.19.5.bb => python3-imageio_2.21.0.bb} (81%)

diff --git a/meta-python/recipes-devtools/python/python3-imageio_2.19.5.bb b/meta-python/recipes-devtools/python/python3-imageio_2.21.0.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-imageio_2.19.5.bb
rename to meta-python/recipes-devtools/python/python3-imageio_2.21.0.bb
index 6fa43930de..21a8c4f37a 100644
--- a/meta-python/recipes-devtools/python/python3-imageio_2.19.5.bb
+++ b/meta-python/recipes-devtools/python/python3-imageio_2.21.0.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=24cb9a367a9e641b459a01c4d15256ba"

-SRC_URI[sha256sum] = "eb3cd70de8be87b72ea85716b7363c700b91144589ee6b5d7b49d42998b7d185"
+SRC_URI[sha256sum] = "a5d19c3c787d5b4920356d85999a24fcff32be8941950dc2409ec1513993952d"

inherit pypi setuptools3

--
2.25.1


[meta-python] [PATCH] python3-flask-login: upgrade 0.6.1 -> 0.6.2

zhengruoqin
 

Changelog:
==========
-Fix compatibility with Werkzeug 2.2 and Flask 2.2. #691
-Revert change to expand_login_view that attempted to preserve a dynamic
subdomain value. Such values should be handled using app.url_value_preprocessor
and app.url_defaults. #691
-Ensure deprecation warnings are present for deprecated features that will be
removed in the next feature release.
-Use request_loader instead of header_loader.
-Use user_loaded_from_request instead of user_loaded_from_header.
-Use app.config["LOGIN_DISABLED"] instead of _login_disabled.
-Use init_app instead of setup_app.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
...ython3-flask-login_0.6.1.bb => python3-flask-login_0.6.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-flask-login_0.6.1.bb => python3-flask-login_0.6.2.bb} (85%)

diff --git a/meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb b/meta-python/recipes-devtools/python/python3-flask-login_0.6.2.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb
rename to meta-python/recipes-devtools/python/python3-flask-login_0.6.2.bb
index d19acd9b64..97d7bce359 100644
--- a/meta-python/recipes-devtools/python/python3-flask-login_0.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-flask-login_0.6.2.bb
@@ -6,7 +6,7 @@ HOMEPAGE = " https://github.com/maxcountryman/flask-login"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596"

-SRC_URI[sha256sum] = "1306d474a270a036d6fd14f45640c4d77355e4f1c67ca4331b372d3448997b8c"
+SRC_URI[sha256sum] = "c0a7baa9fdc448cdd3dd6f0939df72eec5177b2f7abe6cb82fc934d29caac9c3"

PYPI_PACKAGE = "Flask-Login"

--
2.25.1


[meta-python] [PATCH] python3-haversine: upgrade 2.5.1 -> 2.6.0

zhengruoqin
 

Check or normalize given lat/lon. #49

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-haversine_2.5.1.bb => python3-haversine_2.6.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-haversine_2.5.1.bb => python3-haversine_2.6.0.bb} (75%)

diff --git a/meta-python/recipes-devtools/python/python3-haversine_2.5.1.bb b/meta-python/recipes-devtools/python/python3-haversine_2.6.0.bb
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-haversine_2.5.1.bb
rename to meta-python/recipes-devtools/python/python3-haversine_2.6.0.bb
index 1ed67d3260..65779187a1 100644
--- a/meta-python/recipes-devtools/python/python3-haversine_2.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-haversine_2.6.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Calculate the distance between 2 points on Earth"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

-SRC_URI[sha256sum] = "357e41dfddc4a0f2b1c941d92a590cac840f7ce4b3da14b45b68d968b3ad7cc7"
+SRC_URI[sha256sum] = "eb7c308ba721e86662c1d50427cb9b06f9e7eb9984803d9ec200582425cc4fb7"

inherit pypi setuptools3

--
2.25.1


[meta-python] [PATCH] python3-dominate: upgrade 2.6.0 -> 2.7.0

zhengruoqin
 

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{python3-dominate_2.6.0.bb => python3-dominate_2.7.0.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-dominate_2.6.0.bb => python3-dominate_2.7.0.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.6.0.bb b/meta-python/recipes-devtools/python/python3-dominate_2.7.0.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-dominate_2.6.0.bb
rename to meta-python/recipes-devtools/python/python3-dominate_2.7.0.bb
index 8e17438262..bee89ed754 100644
--- a/meta-python/recipes-devtools/python/python3-dominate_2.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-dominate_2.7.0.bb
@@ -2,8 +2,7 @@ SUMMARY = "Dominate is a Python library for creating and manipulating HTML docum
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"

-SRC_URI[md5sum] = "9f714324ca99eee98bb3c3cdbe838de6"
-SRC_URI[sha256sum] = "76ec2cde23700a6fc4fee098168b9dee43b99c2f1dd0ca6a711f683e8eb7e1e4"
+SRC_URI[sha256sum] = "520101360892ebf9d0553f67d37e359ff92403d8a1e33814030503088a05da49"

inherit pypi setuptools3 ptest

--
2.25.1


Re: [OE-core] Introducing yb - a new tool for Yocto environment setup/management

Chris Laplante
 

The bitbake-layers command is needed only to generate the layer config file
(in json format) out of an already existing yocto setup. It does not perform
the actual layer fetch/setup from the json. That's the feature I like the most
in my proposal: none of the other tools bootstrap the config file in this way,
you need to always write it by hand.

The actual layer setup (using the json) is performed by an independent, self-
contained python script (copied from a template in oe-core), which you can
place anywhere you want (e.g. in a product layer repo, or in a 'config stream
repo'), and which does not require an active yocto environment or a poky
checkout. The equivalant of 'yb sync' would be to pull that repo to get latest
revisions of the script and the json, then run the script pointing to an existing
checkout - it will sync everything to the revisions in json.
Ah, I misunderstood your approach then. That all makes sense and sounds very nice.

Chris


Re: [OE-core] Introducing yb - a new tool for Yocto environment setup/management

Alexander Kanavin
 

On Wed, 3 Aug 2022 at 23:02, Chris Laplante via lists.openembedded.org
<chris.laplante=agilent.com@...> wrote:
But IMHO bundling the layer setup tool inside bitbake itself feels a bit like the chicken-and-egg problem. I'd like my spec file (or JSON file, kas configuration file, whatever) to be a complete manifest of things to download. But with bitbake-layers, first I need to > know the right version of poky and where to get it. Also, I think it would be hard to implement 'yb sync'-like functionality there, specifically if we wanted to be able to change between poky branches.

Overall the thing I like about yb is that it is independent of Yocto/BitBake and easier to setup. Like an IDE, I can install it once and use it across multiple projects.
The bitbake-layers command is needed only to generate the layer config
file (in json format) out of an already existing yocto setup. It does
not perform the actual layer fetch/setup from the json. That's the
feature I like the most in my proposal: none of the other tools
bootstrap the config file in this way, you need to always write it by
hand.

The actual layer setup (using the json) is performed by an
independent, self-contained python script (copied from a template in
oe-core), which you can place anywhere you want (e.g. in a product
layer repo, or in a 'config stream repo'), and which does not require
an active yocto environment or a poky checkout. The equivalant of 'yb
sync' would be to pull that repo to get latest revisions of the script
and the json, then run the script pointing to an existing checkout -
it will sync everything to the revisions in json.

Alex


Re: [OE-core] Introducing yb - a new tool for Yocto environment setup/management

Chris Laplante
 

Hi Alex,

do you think any of these pieces could be moved to 'official yocto',
specifically as bitbake-layers subcommands? I read through the README, and
it seems that things like 'status' and 'run' would fit very well there.
I would agree that 'status' and 'run' would be useful additions, though I can't say I'll have time to volunteer to do it :(.

Also note that there's a proposal for a json schema and layer tooling that
would be provided directly in oe-core:
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.y
octoproject.org%2Fpoky-contrib%2Flog%2F%3Fh%3Dakanavin%2Fsetup-
layers&amp;data=05%7C01%7Cchris.laplante%40agilent.com%7C533ad5afc07
54a885d7808da75907dff%7Ca9c0bc098b46420693512ba12fb4a5c0%7C0%7C0
%7C637951560728773611%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C
%7C&amp;sdata=hN7QRlYqAPxigCSQfNlaCM7nWZ4vvSLv5IWzckYWAFU%3D
&amp;reserved=0
I saw that a few weeks ago and it is certainly good work :). (as are the other existing solutions, like kas, whisk, etc.)

But IMHO bundling the layer setup tool inside bitbake itself feels a bit like the chicken-and-egg problem. I'd like my spec file (or JSON file, kas configuration file, whatever) to be a complete manifest of things to download. But with bitbake-layers, first I need to know the right version of poky and where to get it. Also, I think it would be hard to implement 'yb sync'-like functionality there, specifically if we wanted to be able to change between poky branches.

Overall the thing I like about yb is that it is independent of Yocto/BitBake and easier to setup. Like an IDE, I can install it once and use it across multiple projects.

I can't help but say that there's a certain bit of irony in referring to
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fxkcd
.com%2F1987%2F&amp;data=05%7C01%7Cchris.laplante%40agilent.com%7C
533ad5afc0754a885d7808da75907dff%7Ca9c0bc098b46420693512ba12fb4a5c0
%7C0%7C0%7C637951560728773611%7CUnknown%7CTWFpbGZsb3d8eyJWIj
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3
000%7C%7C%7C&amp;sdata=uTq3p2HeA0Xfe3DMZ1fxkAxlHfOJNXM4za2XIC
v5OcA%3D&amp;reserved=0 - when introducing yet another external tool
for yocto layer management :-)
The irony is not lost on me :), especially given the layer setup tool conversation last month.

Chris


Re: [OE-core] Introducing yb - a new tool for Yocto environment setup/management

Alexander Kanavin
 

Hello Chris,

do you think any of these pieces could be moved to 'official yocto',
specifically as bitbake-layers subcommands? I read through the README,
and it seems that things like 'status' and 'run' would fit very well
there.

Also note that there's a proposal for a json schema and layer tooling
that would be provided directly in oe-core:
https://git.yoctoproject.org/poky-contrib/log/?h=akanavin/setup-layers

I can't help but say that there's a certain bit of irony in referring
to https://xkcd.com/1987/ - when introducing yet another external tool
for yocto layer management :-)

Alex

On Wed, 3 Aug 2022 at 22:21, Chris Laplante via lists.openembedded.org
<chris.laplante=agilent.com@...> wrote:

Hi all,



Today I’m excited to publish a tool I’ve been developing internally for about a year now. It is called ‘yb’, and you can think of it like a cross between kas, Google’s repo, and myrepos (mr).



Project page: https://github.com/Agilent/yb

Download it here: https://github.com/Agilent/yb/releases/tag/0.0.11



The tool is written in Rust. It is statically linked, so all you need to do is download the binary and put it somewhere in PATH.



The primary contribution I believe this tool makes is the ability to not only setup Yocto environments, but keep them in sync with the rest of your team as your product(s) evolve. This is realized via the ‘stream’ mechanism - a git repo that holds your specs (basically like kas’ configuration files). Most operations in yb automatically fetch updates to the active stream before doing anything. If you need to add or remove a layer from your build, just do it in the stream. Anyone using that stream will automatically get the update and be informed to update their environment.



I am also very proud of the ‘status’ command. It works even with vanilla Yocto environments (i.e. what you’re using today) as long as the tool can find “bitbake” on PATH. The “status” command will automatically do a ‘git fetch’ on each layer. When used along with streams/specs, it will also first check for updates to the stream.



I hope you can give it a try and let me know what you find useful/broken. It is still in relatively early development (in particular the ‘yb sync’ command) but it is already helpful for my teams’ day-to-day work.



(P.S. Please forgive the multi-mailing list post)



Thanks,

Chris




Introducing yb - a new tool for Yocto environment setup/management

Chris Laplante
 

Hi all,

 

Today I’m excited to publish a tool I’ve been developing internally for about a year now. It is called ‘yb’, and you can think of it like a cross between kas, Google’s repo, and myrepos (mr).

 

Project page: https://github.com/Agilent/yb

Download it here: https://github.com/Agilent/yb/releases/tag/0.0.11

 

The tool is written in Rust. It is statically linked, so all you need to do is download the binary and put it somewhere in PATH.

 

The primary contribution I believe this tool makes is the ability to not only setup Yocto environments, but keep them in sync with the rest of your team as your product(s) evolve. This is realized via the ‘stream’ mechanism - a git repo that holds your specs (basically like kas’ configuration files). Most operations in yb automatically fetch updates to the active stream before doing anything. If you need to add or remove a layer from your build, just do it in the stream. Anyone using that stream will automatically get the update and be informed to update their environment.

 

I am also very proud of the ‘status’ command. It works even with vanilla Yocto environments (i.e. what you’re using today) as long as the tool can find “bitbake” on PATH. The “status” command will automatically do a ‘git fetch’ on each layer. When used along with streams/specs, it will also first check for updates to the stream.

 

I hope you can give it a try and let me know what you find useful/broken. It is still in relatively early development (in particular the ‘yb sync’ command) but it is already helpful for my teams’ day-to-day work.

 

(P.S. Please forgive the multi-mailing list post)

 

Thanks,

Chris


[meta-python][PATCH 3/3] python3-matplotlib: bump to 3.5.2

Bartosz Golaszewski
 

There's a bug in 3.5.1 that makes importing matplotlib impossible in
some environments:

import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 895, in <module>
defaultParams = rcsetup.defaultParams = {
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 898, in <dictcomp>
rcParamsDefault[key]),
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 674, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'webagg.port'

This is fixed in 3.5.2.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
...{python3-matplotlib_3.5.1.bb => python3-matplotlib_3.5.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-matplotlib_3.5.1.bb => python3-matplotlib_3.5.2.bb} (96%)

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.2.bb
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
rename to meta-python/recipes-devtools/python/python3-matplotlib_3.5.2.bb
index e3e5d85eb..eaa144719 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.2.bb
@@ -21,7 +21,7 @@ DEPENDS = "\
python3-certifi-native \
"

-SRC_URI[sha256sum] = "b2e9810e09c3a47b73ce9cab5a72243a1258f61e7900969097a817232246ce1c"
+SRC_URI[sha256sum] = "48cf850ce14fa18067f2d9e0d646763681948487a8080ec0af2686468b4607a2"

inherit pypi setuptools3 pkgconfig

--
2.34.1


[meta-python][PATCH 2/3] python3-matplotlib: add packaging to RDEPENDS

Bartosz Golaszewski
 

matplotlib needs python3-packaging at runtime. Add it to the package's
RDEPENDS.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
index 7dfe46f3c..e3e5d85eb 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
@@ -51,6 +51,7 @@ RDEPENDS:${PN} = "\
python3-kiwisolver \
python3-pytz \
python3-pillow \
+ python3-packaging \
"

ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
--
2.34.1


[meta-python][PATCH 1/3] python3-matplotlib: don't use PYTHON_PN

Bartosz Golaszewski
 

We only support python3 so using PYTHON_PN is redundant.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
.../python/python3-matplotlib_3.5.1.bb | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
index cd05b455d..7dfe46f3c 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb
@@ -14,11 +14,11 @@ LIC_FILES_CHKSUM = "\
DEPENDS = "\
freetype \
libpng \
- ${PYTHON_PN}-numpy-native \
- ${PYTHON_PN}-pip-native \
- ${PYTHON_PN}-dateutil-native \
- ${PYTHON_PN}-pytz-native \
- ${PYTHON_PN}-certifi-native \
+ python3-numpy-native \
+ python3-pip-native \
+ python3-dateutil-native \
+ python3-pytz-native \
+ python3-certifi-native \
"

SRC_URI[sha256sum] = "b2e9810e09c3a47b73ce9cab5a72243a1258f61e7900969097a817232246ce1c"
@@ -44,13 +44,13 @@ LDFLAGS:remove:toolchain-clang:mips = "-fuse-ld=lld"
RDEPENDS:${PN} = "\
freetype \
libpng \
- ${PYTHON_PN}-numpy \
- ${PYTHON_PN}-pyparsing \
- ${PYTHON_PN}-cycler \
- ${PYTHON_PN}-dateutil \
- ${PYTHON_PN}-kiwisolver \
- ${PYTHON_PN}-pytz \
- ${PYTHON_PN}-pillow \
+ python3-numpy \
+ python3-pyparsing \
+ python3-cycler \
+ python3-dateutil \
+ python3-kiwisolver \
+ python3-pytz \
+ python3-pillow \
"

ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
--
2.34.1


[meta-networking][PATCH] freeradius: Fix buildpaths issue

Yu, Mingli
 

From: Mingli Yu <mingli.yu@...>

Fixes:
WARNING: freeradius-3.0.21-r0 do_package_qa: QA Issue: File /usr/bin/radeapclient in package freeradius-utils contains reference to TMPDIR [buildpaths]
WARNING: freeradius-3.0.21-r0 do_package_qa: QA Issue: File /usr/lib/libfreeradius-server.so.0.0.0 in package freeradius contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@...>
---
...01-version.c-don-t-print-build-flags.patch | 41 +++++++++++++++++++
.../freeradius/freeradius_3.0.21.bb | 1 +
2 files changed, 42 insertions(+)
create mode 100644 meta-networking/recipes-connectivity/freeradius/files/0001-version.c-don-t-print-build-flags.patch

diff --git a/meta-networking/recipes-connectivity/freeradius/files/0001-version.c-don-t-print-build-flags.patch b/meta-networking/recipes-connectivity/freeradius/files/0001-version.c-don-t-print-build-flags.patch
new file mode 100644
index 000000000..697205efe
--- /dev/null
+++ b/meta-networking/recipes-connectivity/freeradius/files/0001-version.c-don-t-print-build-flags.patch
@@ -0,0 +1,41 @@
+From cbc64dcf6aa2a1be63f45ea6dd7d2c49b70a0bee Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@...>
+Date: Wed, 3 Aug 2022 16:44:29 +0800
+Subject: [PATCH] version.c: don't print build flags
+
+Don't print the build flags to avoid collecting the build environment info.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Mingli Yu <mingli.yu@...>
+---
+ src/main/version.c | 13 -------------
+ 1 file changed, 13 deletions(-)
+
+diff --git a/src/main/version.c b/src/main/version.c
+index 62972d9f53..cf81de72c9 100644
+--- a/src/main/version.c
++++ b/src/main/version.c
+@@ -589,19 +589,6 @@ void version_print(void)
+ DEBUG2(" unknown");
+ #endif
+
+- DEBUG2("Compilation flags:");
+-#ifdef BUILT_WITH_CPPFLAGS
+- DEBUG2(" cppflags : " BUILT_WITH_CPPFLAGS);
+-#endif
+-#ifdef BUILT_WITH_CFLAGS
+- DEBUG2(" cflags : " BUILT_WITH_CFLAGS);
+-#endif
+-#ifdef BUILT_WITH_LDFLAGS
+- DEBUG2(" ldflags : " BUILT_WITH_LDFLAGS);
+-#endif
+-#ifdef BUILT_WITH_LIBS
+- DEBUG2(" libs : " BUILT_WITH_LIBS);
+-#endif
+ DEBUG2(" ");
+ }
+ INFO("FreeRADIUS Version " RADIUSD_VERSION_STRING);
+--
+2.25.1
+
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb
index d6477e340..1407b798b 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.0.21.bb
@@ -32,6 +32,7 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.0.x;lfs=0
file://radiusd.service \
file://radiusd-volatiles.conf \
file://check-openssl-cmds-in-script-bootstrap.patch \
+ file://0001-version.c-don-t-print-build-flags.patch \
"

raddbdir="${sysconfdir}/${MLPREFIX}raddb"
--
2.25.1


[meta-oe][PATCH] imagemagick: add PACKAGECONFIG for C++ bindings

Bartosz Golaszewski
 

Add a new PACKAGECONFIG switch for building C++ bindings for
imagemagick.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb
index b8167f5a7..010288b0d 100644
--- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.10.bb
@@ -24,6 +24,7 @@ EXTRA_OECONF = "--program-prefix= --program-suffix=.im7 --without-perl --disable

CACHED_CONFIGUREVARS = "ac_cv_sys_file_offset_bits=yes"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
+PACKAGECONFIG[cxx] = "--with-magick-plus-plus,--without-magick-plus-plus"
PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
--
2.34.1


Re: [meta-python][PATCH v2] python3-pystemd: Upgrade 0.8.0 -> 0.10.0:

Khem Raj
 


We usually do not do major version upgrade in release branches I will let Armin chime in as well

On Wed, Aug 3, 2022 at 8:01 AM SCHNEIDER Johannes <johannes.schneider@...> wrote:
Hi,


and thanks for merging my patch into meta-openembedded:master (-:

since I observed these issues while running a kirkstone based system - and others will likely run into them as well - could you also put these changes on the kirkstone branch?


thanks and regards

From: openembedded-devel@... <openembedded-devel@...> on behalf of Johannes Schneider via lists.openembedded.org <johannes.schneider=leica-geosystems.com@...>
Sent: Thursday, July 28, 2022 05:56
To: openembedded-devel@... <openembedded-devel@...>
Cc: SCHNEIDER Johannes <johannes.schneider@...>
Subject: [oe] [meta-python][PATCH v2] python3-pystemd: Upgrade 0.8.0 -> 0.10.0:
 
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.


most important fix: version 0.8.0 errors out on dbus-lib interaction,
which is fixed with the most recent commit

505e2b5 (tag: v.0.10.0) add interactive_authorization options for buses
2d90700 pystemd: add copyright boilerplate to typing stubs
5b95888 pystemd: update branch name in github workflow
16817d2 Add type stub for pystemd.run
410fd77 (tag: v.0.9.0) update changelog for 0.9.0
71aae43 GetProcesses() - info about systemd version (#59)
fcafd08 Also include .pxd and .pxi in the source distribution
475cd2f also support 3.9
ea98275 some formatting options and start pystemd 0.9 development
eb7d225 pystemd: update install instructions in README
6fdf2c8 Daily `arc lint --take BLACK`
50e61b7 add a LIBSYSTEMD_VERSION macro for gating new functions (#58)

Signed-off-by: Johannes Schneider <johannes.schneider@...>
---
 .../{python3-pystemd_0.8.0.bb => python3-pystemd_0.10.0.bb}  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pystemd_0.8.0.bb => python3-pystemd_0.10.0.bb} (62%)

diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb
rename to meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
index 0056a794f..da263fe94 100644
--- a/meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
@@ -2,13 +2,12 @@ SUMMARY = "Python bindings for interacting with systemd over DBus"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI[md5sum] = "f993739eca645749f18d4ccfd4a0fbf3"
-SRC_URI[sha256sum] = "cac2e42043ab28d43adf33dab493c6a3cf8a99794f824ae8af6d9cd6458b9972"
+SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859"

 DEPENDS = "systemd"
 RDEPENDS:${PN} += "python3-xml python3-pprint"
 REQUIRED_DISTRO_FEATURES = "systemd"

-inherit pypi setuptools3 features_check
+inherit pypi setuptools3 features_check pkgconfig

 BBCLASSEXTEND = "native"
--
2.25.1


[meta-networking][PATCH] openipmi: Fix buildpaths issue

Yu, Mingli
 

From: Mingli Yu <mingli.yu@...>

Fixes:
WARNING: openipmi-2.0.32-r0 do_package_qa: QA Issue: File /usr/src/debug/openipmi/2.0.32-r0/OpenIPMI-2.0.32/swig/perl/OpenIPMI_wrap.c in package openipmi-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@...>
---
meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
index c61303b81..8625afaa7 100644
--- a/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
+++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb
@@ -85,6 +85,10 @@ do_configure () {
done
}

+do_compile:append () {
+ sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${S}/swig/perl/OpenIPMI_wrap.c
+}
+
do_install:append () {
echo "SAL: D = $D"
echo "SAL: libdir = $libdir"
--
2.25.1


Re: [meta-python][PATCH v2] python3-pystemd: Upgrade 0.8.0 -> 0.10.0:

Johannes Schneider
 

Hi,


and thanks for merging my patch into meta-openembedded:master (-:

since I observed these issues while running a kirkstone based system - and others will likely run into them as well - could you also put these changes on the kirkstone branch?


thanks and regards

From: openembedded-devel@... <openembedded-devel@...> on behalf of Johannes Schneider via lists.openembedded.org <johannes.schneider=leica-geosystems.com@...>
Sent: Thursday, July 28, 2022 05:56
To: openembedded-devel@... <openembedded-devel@...>
Cc: SCHNEIDER Johannes <johannes.schneider@...>
Subject: [oe] [meta-python][PATCH v2] python3-pystemd: Upgrade 0.8.0 -> 0.10.0:
 
This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.


most important fix: version 0.8.0 errors out on dbus-lib interaction,
which is fixed with the most recent commit

505e2b5 (tag: v.0.10.0) add interactive_authorization options for buses
2d90700 pystemd: add copyright boilerplate to typing stubs
5b95888 pystemd: update branch name in github workflow
16817d2 Add type stub for pystemd.run
410fd77 (tag: v.0.9.0) update changelog for 0.9.0
71aae43 GetProcesses() - info about systemd version (#59)
fcafd08 Also include .pxd and .pxi in the source distribution
475cd2f also support 3.9
ea98275 some formatting options and start pystemd 0.9 development
eb7d225 pystemd: update install instructions in README
6fdf2c8 Daily `arc lint --take BLACK`
50e61b7 add a LIBSYSTEMD_VERSION macro for gating new functions (#58)

Signed-off-by: Johannes Schneider <johannes.schneider@...>
---
 .../{python3-pystemd_0.8.0.bb => python3-pystemd_0.10.0.bb}  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pystemd_0.8.0.bb => python3-pystemd_0.10.0.bb} (62%)

diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb
rename to meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
index 0056a794f..da263fe94 100644
--- a/meta-python/recipes-devtools/python/python3-pystemd_0.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
@@ -2,13 +2,12 @@ SUMMARY = "Python bindings for interacting with systemd over DBus"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI[md5sum] = "f993739eca645749f18d4ccfd4a0fbf3"
-SRC_URI[sha256sum] = "cac2e42043ab28d43adf33dab493c6a3cf8a99794f824ae8af6d9cd6458b9972"
+SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859"

 DEPENDS = "systemd"
 RDEPENDS:${PN} += "python3-xml python3-pprint"
 REQUIRED_DISTRO_FEATURES = "systemd"

-inherit pypi setuptools3 features_check
+inherit pypi setuptools3 features_check pkgconfig

 BBCLASSEXTEND = "native"
--
2.25.1

1741 - 1760 of 99863