python3-babel: clean up RDEPENDS
PATCH 1/3 python3-babel: clean up RDEPENDS
pytz is only needed with Python 3.8 and lower, remove the dependency.
setuptools is a development dependency and not needed at runtime.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3-babel_2.18.0.bb | 2 -- 1 file changed, 2 deletions(-)
meta/recipes-devtools/python/python3-babel_2.18.0.bb +0 -2
@@ -17,8 +17,6 @@ RDEPENDS:${PN} += " \ python3-netserver \ python3-numbers \ python3-pickle \ - python3-pytz \ - python3-setuptools \ python3-shell \ python3-threading \ "
Signature · 1 line
2.43.0
PATCH 2/3 python3-cryptography: remove pytz dependency
The dependency on pytz in the test suite was removed in v40.0.0[1].
[1] cryptography 550355b55 ("remove pytz test dependency (#8447)")
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-devtools/python/python3-cryptography.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/python/python3-cryptography.bb +0 -1
@@ -54,7 +54,6 @@ RDEPENDS:${PN}-ptest += " \ python3-pytest \ python3-unittest-automake-output \ python3-pytest-subtests \ - python3-pytz \ " inherit ptest
Signature · 1 line
2.43.0
PATCH 3/3 python3-pytz: remove obsolete recipe
In reply to Ross Burtonpytz was obsoleted by the zoneinfo module in Python 3.9. As such it is deprecated upstream:
Deprecated. This library fails for dates starting 2038. Use modern Python and the Python standard library. Updates continue to be made for legacy systems.
There are no longer any users in oe-core, so move it to meta-python.
Signed-off-by Ross Burton <[email protected]>
--- meta/conf/distro/include/maintainers.inc | 1 - .../distro/include/ptest-packagelists.inc | 1 - .../python/python3-pytz_2026.4.bb | 25 ------------------- 3 files changed, 27 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pytz_2026.4.bb
meta/conf/distro/include/maintainers.inc +0 -1
@@ -705,7 +705,6 @@ RECIPE_MAINTAINER:pn-python3-pyrsistent = "Bruce Ashfield <bruce.ashfield@gmail. RECIPE_MAINTAINER:pn-python3-pysocks = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-pytest = "Trevor Gamblin <[email protected]>" RECIPE_MAINTAINER:pn-python3-pytest-subtests = "Tim Orling <[email protected]>" -RECIPE_MAINTAINER:pn-python3-pytz = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling <[email protected]>" RECIPE_MAINTAINER:pn-python3-qemu-qmp = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER:pn-python3-rdflib = "Wang Mingyu <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +0 -1
@@ -89,7 +89,6 @@ PTESTS_FAST = "\ python3-pefile \ python3-pyasn1 \ python3-pyopenssl \ - python3-pytz \ python3-pyyaml \ python3-rpds-py \ python3-tomlkit \
meta/recipes-devtools/python/python3-pytz_2026.4.bb deleted +0 -25
@@ -1,25 +0,0 @@ -SUMMARY = "World timezone definitions, modern and historical" -HOMEPAGE = "http://pythonhosted.org/pytz" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" - -inherit pypi setuptools3 ptest-python-pytest - -PTEST_PYTEST_DIR = "pytz/tests" - -SRC_URI[sha256sum] = "464303645bafafd72418898368b2429458f709cf1eb6a15372fbcc396b64da63" - -RDEPENDS:${PN}:class-target += "\ - python3-datetime \ - python3-doctest \ - python3-io \ - python3-pickle \ - python3-pprint \ - python3-threading \ -" - -BBCLASSEXTEND = "native nativesdk" - -do_install_ptest:append() { - cp -f ${S}/README.rst ${D}${PTEST_PATH}/ -}
Signature · 1 line
2.43.0