diff mbox series

[meta-python] python3-dateutil: add python3-zoneinfo to RDEPENDS

Message ID 20261123143506.3985065-1-thomas@roosesweb.de
State Under Review
Headers show
Series [meta-python] python3-dateutil: add python3-zoneinfo to RDEPENDS | expand

Commit Message

Thomas Roos Nov. 23, 2026, 2:35 p.m. UTC
dateutil 4.0.0 imports zoneinfo in dateutil/tz/_tzpath.py, which
dateutil/tz/__init__.py imports. Without python3-zoneinfo in the image,
"import dateutil.tz" fails with "No module named 'zoneinfo'"; seen in
the ptests of python3-blinkpy (meta-homeassistant), which imports it.

AI-Generated: Claude Code, Claude Opus 5.5
Signed-off-by: Thomas Roos <thomas@roosesweb.de>
---

Tested on top of master 2b551b71ca for qemux86-64: with this change the
ptests of python3-blinkpy (248 passed) and python3-gql (717 passed) from
meta-homeassistant pass; without it, blinkpy fails with "No module named
'zoneinfo'".

AI disclosure: the change and the commit message were written with
Claude Code (Claude Opus 5.5), as the AI-Generated tag says. I reviewed
the change, ran the tests above and can answer for it.

 meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb b/meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb
index fc7297401f..47a1040bc5 100644
--- a/meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb
@@ -20,6 +20,7 @@  RDEPENDS:${PN} = "\
     python3-numbers \
     python3-stringold \
     python3-tzdata \
+    python3-zoneinfo \
 "
 
 BBCLASSEXTEND = "native nativesdk"