Skip to contentSkip to conversation

python3-dateutil: add python3-zoneinfo to RDEPENDS

PATCH New Thomas Roos 1 participant 1 message Nov 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-dateutil: add python3-zoneinfo to RDEPENDS

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

---

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(+)
meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb +1 -0
index fc7297401f..47a1040bc5 100644
@@ -20,6 +20,7 @@ RDEPENDS:${PN} = "\
     python3-numbers \
     python3-stringold \
     python3-tzdata \
+    python3-zoneinfo \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.56.1