On 3/4/26 10:27, hongxu via lists.openembedded.org wrote:
On 3/4/26 03:11, Mathieu Dubois-Briand wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Tue Mar 3, 2026 at 7:56 AM CET, hongxu via lists.openembedded.org wrote:
History v82.0.0 [1]:

Deprecations and Removals
- pkg_resources has been removed from Setuptools. Most common uses of pkg_resources have    been superseded by the importlib.resources and importlib.metadata projects. Projects    and environments relying on pkg_resources for namespace packages or other behavior
   should depend on older versions of setuptools. (#3085)

[1] https://setuptools.pypa.io/en/stable/history.html#v82-0-0

Signed-off-by: Hongxu Jia <[email protected]>
---
Hi Hongxu,

Thanks for the upgrade.

We get some fails on the autobuilder, that are probably related to this
change. Error message is not always the same, but it refers either to
setuptools or pkg-resources.

ERROR: buildtools-tarball-1.0-r0 do_populate_sdk: Could not invoke dnf.
...
--> Starting dependency resolution
--> Finished dependency resolution
Error:
  Problem 1: conflicting requests
   - nothing provides nativesdk-python3-pkg-resources needed by nativesdk-python3-setuptools-82.0.0-r0.x86_64_nativesdk from oe-repo   Problem 2: package nativesdk-python3-pip-26.0.1-r0.x86_64_nativesdk from oe-repo requires nativesdk-python3-setuptools, but none of the providers can be installed
   - conflicting requests
   - nothing provides nativesdk-python3-pkg-resources needed by nativesdk-python3-setuptools-82.0.0-r0.x86_64_nativesdk from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/99/builds/3270
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/3264

ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf.
...
--> Starting dependency resolution
--> Finished dependency resolution
Error:
  Problem: package nativesdk-packagegroup-sdk-host-1.0-r0.x86_64_nativesdk from oe-repo requires nativesdk-meson, but none of the providers can be installed
   - conflicting requests
   - nothing provides nativesdk-python3-pkg-resources needed by nativesdk-meson-1.10.1-r0.x86_64_nativesdk from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3299
https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/3314
https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/3302

Can you have a look at these please?

Hi Mathieu,

We need to remove python3-pkg-resources from python3-setuptools, and clean up recipes that runtime depends on python3-pkg-resources

Please drop this patch, v2 incoming

//Hongxu


Copy, I am working on it

//Hongxu

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com






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

Reply via email to