pytz 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 diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 5223e299aa4..d601dcb074f 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -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]>" diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 3b05caf50d9..568fd1c6373 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -89,7 +89,6 @@ PTESTS_FAST = "\ python3-pefile \ python3-pyasn1 \ python3-pyopenssl \ - python3-pytz \ python3-pyyaml \ python3-rpds-py \ python3-tomlkit \ diff --git a/meta/recipes-devtools/python/python3-pytz_2026.4.bb b/meta/recipes-devtools/python/python3-pytz_2026.4.bb deleted file mode 100644 index 4a2eda07a60..00000000000 --- a/meta/recipes-devtools/python/python3-pytz_2026.4.bb +++ /dev/null @@ -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}/ -} -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#247028): https://lists.openembedded.org/g/openembedded-core/message/247028 Mute This Topic: https://lists.openembedded.org/mt/121524785/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
