]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-semantic-version: remove python3-pkg-resources from runtime depends
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 4 Mar 2026 04:54:13 +0000 (12:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Mar 2026 16:31:08 +0000 (16:31 +0000)
Due to setuptools removes and deprecates pkg_resources in 82.0.0 [1],
python-semanticversion import `pkg_resources` conditionally for Python 3.8- [2],
because we have python 3.14+, then python3-pkg-resources is not necessary
for us, remove it from runtime depends

[1] https://setuptools.pypa.io/en/stable/history.html#v82-0-0
[2] https://github.com/rbarrois/python-semanticversion/commit/306fbe1b2222d218c62c2ddb32d91eeea8957951

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-semantic-version_2.10.0.bb

index 78763a911ed03acd3842ba9191f0ff0cf3ef594f..01eb75f10db8b4b90918003a81755dce58d8e5f2 100644 (file)
@@ -11,9 +11,5 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} += " \
-    python3-pkg-resources \
-"
-
 BBCLASSEXTEND = "native nativesdk"