]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-setuptools: upgrade 80.9.0 -> 82.0.0
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 4 Mar 2026 04:54:10 +0000 (12:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Mar 2026 16:31:08 +0000 (16:31 +0000)
Remove python3-pkg-resources

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 <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
meta/recipes-devtools/python/python3-setuptools_82.0.0.bb [moved from meta/recipes-devtools/python/python3-setuptools_80.9.0.bb with 67% similarity]

index 39153883b0cee13c9d6e10f5e67b0334e56499d2..0fc5e3f13412597886e8f38ece2ba6b2fcefb608 100644 (file)
@@ -1,4 +1,4 @@
-From e2eab8c254f16c461de25123f6859b8a18db5cd8 Mon Sep 17 00:00:00 2001
+From cb37237fd60689ccf999689ff60acabe8e1ec1de Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex@linutronix.de>
 Date: Wed, 11 May 2022 21:41:14 +0200
 Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the
similarity index 67%
rename from meta/recipes-devtools/python/python3-setuptools_80.9.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_82.0.0.bb
index 533d8ce3d44f45262b37f497f492775a6200de5e..40687ea7a3b26544d6be5e46dd149df74d06e10d 100644 (file)
@@ -11,7 +11,7 @@ CVE_PRODUCT = "python3-setuptools python:setuptools"
 SRC_URI += " \
             file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
 
-SRC_URI[sha256sum] = "f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c"
+SRC_URI[sha256sum] = "22e0a2d69474c6ae4feb01951cb69d515ed23728cf96d05513d36e42b62b37cb"
 
 DEPENDS += "python3"
 
@@ -25,7 +25,6 @@ RDEPENDS:${PN} = "\
     python3-netserver \
     python3-numbers \
     python3-pickle \
-    python3-pkg-resources \
     python3-pkgutil \
     python3-plistlib \
     python3-shell \
@@ -38,18 +37,6 @@ RDEPENDS:${PN} = "\
 
 BBCLASSEXTEND = "native nativesdk"
 
-# The pkg-resources module can be used by itself, without the package downloader
-# and easy_install. Ship it in a separate package so that it can be used by
-# minimal distributions.
-PACKAGES =+ "python3-pkg-resources "
-FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
-RDEPENDS:python3-pkg-resources = "\
-    python3-compression \
-    python3-email \
-    python3-plistlib \
-    python3-pprint \
-"
-
 # This used to use the bootstrap install which didn't compile. Until we bump the
 # tmpdir version we can't compile the native otherwise the sysroot unpack fails
 INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"