All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][dunfell][PATCH 1/3] python3-cson: fix run-time dependencies
@ 2023-11-20 22:32 Yoann Congal
  2023-11-20 22:32 ` [meta-python][dunfell][PATCH 2/3] meta-python-image,meta-python-ptest-image: Use python3 packagegroups Yoann Congal
  2023-11-20 22:32 ` [meta-python][dunfell][PATCH 3/3] meta-python: Drop broken BBCLASSEXTEND variants Yoann Congal
  0 siblings, 2 replies; 3+ messages in thread
From: Yoann Congal @ 2023-11-20 22:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Bartosz Golaszewski, Khem Raj, Yoann Congal

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the missing run-time dependency on python3-json. As a result we no
longer need to pull python3 native and can drop other *DEPENDS.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 40b4cf5a83098a5f1be873be5c29f26380bc7993)
Backported: adapted to old override syntax
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta-python/recipes-extended/python-cson/python3-cson_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-python/recipes-extended/python-cson/python3-cson_git.bb b/meta-python/recipes-extended/python-cson/python3-cson_git.bb
index 4d234d311..8e8f3fb2a 100644
--- a/meta-python/recipes-extended/python-cson/python3-cson_git.bb
+++ b/meta-python/recipes-extended/python-cson/python3-cson_git.bb
@@ -12,8 +12,7 @@ SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https
 
 S = "${WORKDIR}/git"
 
-RDEPENDS_${PN}_class-native = ""
-DEPENDS_append_class-native = " python-native "
+RDEPENDS_${PN} = "python3-json"
 
 inherit setuptools3
 
-- 
2.30.2



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

* [meta-python][dunfell][PATCH 2/3]  meta-python-image,meta-python-ptest-image: Use python3 packagegroups
  2023-11-20 22:32 [meta-python][dunfell][PATCH 1/3] python3-cson: fix run-time dependencies Yoann Congal
@ 2023-11-20 22:32 ` Yoann Congal
  2023-11-20 22:32 ` [meta-python][dunfell][PATCH 3/3] meta-python: Drop broken BBCLASSEXTEND variants Yoann Congal
  1 sibling, 0 replies; 3+ messages in thread
From: Yoann Congal @ 2023-11-20 22:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Trevor Gamblin, Yoann Congal

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
(cherry picked from commit e43a9898fc536d1d3bc726180d5c2afd15db0b19)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta-python/recipes-core/images/meta-python-image.bb       | 3 +--
 meta-python/recipes-core/images/meta-python-ptest-image.bb | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-python/recipes-core/images/meta-python-image.bb b/meta-python/recipes-core/images/meta-python-image.bb
index cc75fe6e4..6353d389b 100644
--- a/meta-python/recipes-core/images/meta-python-image.bb
+++ b/meta-python/recipes-core/images/meta-python-image.bb
@@ -2,5 +2,4 @@ require  meta-python-image-base.bb
 
 SUMMARY = "meta-python build test image"
 
-IMAGE_INSTALL += "packagegroup-meta-python \
-                  packagegroup-meta-python3"
+IMAGE_INSTALL += "packagegroup-meta-python3"
diff --git a/meta-python/recipes-core/images/meta-python-ptest-image.bb b/meta-python/recipes-core/images/meta-python-ptest-image.bb
index 7ee15354a..d497016d4 100644
--- a/meta-python/recipes-core/images/meta-python-ptest-image.bb
+++ b/meta-python/recipes-core/images/meta-python-ptest-image.bb
@@ -2,4 +2,4 @@ require  meta-python-image-base.bb
 
 SUMMARY = "meta-python ptest test image"
 
-IMAGE_INSTALL += "packagegroup-meta-python-ptest"
+IMAGE_INSTALL += "packagegroup-meta-python3-ptest"
-- 
2.30.2



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

* [meta-python][dunfell][PATCH 3/3] meta-python: Drop broken BBCLASSEXTEND variants
  2023-11-20 22:32 [meta-python][dunfell][PATCH 1/3] python3-cson: fix run-time dependencies Yoann Congal
  2023-11-20 22:32 ` [meta-python][dunfell][PATCH 2/3] meta-python-image,meta-python-ptest-image: Use python3 packagegroups Yoann Congal
@ 2023-11-20 22:32 ` Yoann Congal
  1 sibling, 0 replies; 3+ messages in thread
From: Yoann Congal @ 2023-11-20 22:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Richard Purdie, Khem Raj, Yoann Congal

From: Richard Purdie <richard.purdie@linuxfoundation.org>

The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d4aa17dc436beb96a804860bc6d18cf72283709e)
Backport:
* Adapted paths to follow PV changes
* Adapted modified recipes to the ones generating warnings
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 meta-python/recipes-devtools/python/python-pint.inc             | 2 --
 meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb      | 2 --
 meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb | 2 --
 meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb     | 2 --
 meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb   | 2 --
 .../python/python3-robotframework-seriallibrary_0.3.1.bb        | 2 --
 6 files changed, 12 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pint.inc b/meta-python/recipes-devtools/python/python-pint.inc
index d022c41a5..5d880a039 100644
--- a/meta-python/recipes-devtools/python/python-pint.inc
+++ b/meta-python/recipes-devtools/python/python-pint.inc
@@ -14,8 +14,6 @@ SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359
 
 DEPENDS += "python3-setuptools-scm-native"
 
-BBCLASSEXTEND = "native nativesdk"
-
 SRC_URI += " \
 	file://run-ptest \
 "
diff --git a/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb b/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb
index 803ca4a40..24e38cfb4 100644
--- a/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb
+++ b/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb
@@ -16,5 +16,3 @@ RDEPENDS_${PN} += "\
     ${PYTHON_PN}-pyperclip \
     ${PYTHON_PN}-wcwidth \
 "
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb b/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
index 33f0efe84..57d38e60b 100644
--- a/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb
@@ -34,5 +34,3 @@ RDEPENDS_${PN} = "\
     python3-pytz \
     python3-pillow \
 "
-
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb b/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb
index 35330cac6..eda0bd57d 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb
@@ -35,5 +35,3 @@ CVE_PRODUCT = "pillow"
 S = "${WORKDIR}/git"
 
 RPROVIDES_${PN} += "python3-imaging"
-
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb b/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb
index c13882240..6636fda83 100644
--- a/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb
@@ -12,5 +12,3 @@ RDEPENDS_${PN} += " \
     ${PYTHON_PN}-prettytable \
     ${PYTHON_PN}-cmd2 \
     ${PYTHON_PN}-pyparsing"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb
index b6de42f7c..60a26f58b 100644
--- a/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb
+++ b/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb
@@ -16,5 +16,3 @@ RDEPENDS_${PN} += " \
     ${PYTHON_PN}-pyserial \
     ${PYTHON_PN}-robotframework \
 "
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.30.2



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

end of thread, other threads:[~2023-11-20 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-20 22:32 [meta-python][dunfell][PATCH 1/3] python3-cson: fix run-time dependencies Yoann Congal
2023-11-20 22:32 ` [meta-python][dunfell][PATCH 2/3] meta-python-image,meta-python-ptest-image: Use python3 packagegroups Yoann Congal
2023-11-20 22:32 ` [meta-python][dunfell][PATCH 3/3] meta-python: Drop broken BBCLASSEXTEND variants Yoann Congal

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.