From: Alexander Kanavin <[email protected]>

The recipe is using pip, and that doesn't require setuptools. I believe it
was a mix-up from https://bugzilla.yoctoproject.org/show_bug.cgi?id=11022
where the initial idea was to use easy_install from setuptools.

A particular reason to drop the setuptools inherit is that setuptools brings in
python3native class which sets PYTHONNOUSERSITE = "1" to avoid $HOME 
contamination.
This is causing errors with pip 25.3, which rejects --user option in presence
of that environment variable. This recipe redirects $HOME before running pip,
so contamination is avoided.

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta/recipes-core/images/build-appliance-image_15.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb 
b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
index 406cd2abee..5a7db7bfb9 100644
--- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
@@ -22,7 +22,7 @@ APPEND += "rootfstype=ext4 quiet"
 DEPENDS = "zip-native python3-pip-native"
 IMAGE_FSTYPES = "wic.vmdk wic.vhd wic.vhdx"
 
-inherit core-image setuptools3 features_check
+inherit core-image features_check
 
 REQUIRED_DISTRO_FEATURES += "xattr"
 
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228326): 
https://lists.openembedded.org/g/openembedded-core/message/228326
Mute This Topic: https://lists.openembedded.org/mt/116906890/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to