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 <[email protected]> --- ...ysconfig.py-make-it-possible-to-substite.patch | 2 +- ...ols_80.9.0.bb => python3-setuptools_82.0.0.bb} | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools_80.9.0.bb => python3-setuptools_82.0.0.bb} (67%) diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch index 39153883b0..0fc5e3f134 100644 --- a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch +++ b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch @@ -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 <[email protected]> Date: Wed, 11 May 2022 21:41:14 +0200 Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the diff --git a/meta/recipes-devtools/python/python3-setuptools_80.9.0.bb b/meta/recipes-devtools/python/python3-setuptools_82.0.0.bb 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 533d8ce3d4..40687ea7a3 100644 --- a/meta/recipes-devtools/python/python3-setuptools_80.9.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_82.0.0.bb @@ -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" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232346): https://lists.openembedded.org/g/openembedded-core/message/232346 Mute This Topic: https://lists.openembedded.org/mt/118127779/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
