diff mbox series

[4/4] python3-semantic-version: remove python3-pkg-resources from runtime depends

Message ID 20260304045413.3265198-4-hongxu.jia@windriver.com
State Under Review
Headers show
Series [v2,1/4] python3-setuptools: upgrade 80.9.0 -> 82.0.0 | expand

Commit Message

Hongxu Jia March 4, 2026, 4:54 a.m. UTC
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>
---
 .../python/python3-semantic-version_2.10.0.bb                 | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
index 78763a911e..01eb75f10d 100644
--- a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
+++ b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
@@ -11,9 +11,5 @@  UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} += " \
-    python3-pkg-resources \
-"
-
 BBCLASSEXTEND = "native nativesdk"