diff mbox series

[meta-python,13/13] python3-google-api-core: upgrade 2.19.1 -> 2.44.0

Message ID 20261108192623.1082770-14-thomas@roosesweb.de
State Under Review
Headers show
Series Python updates for Home Assistant 2026.11 | expand

Commit Message

Thomas Roos Nov. 8, 2026, 7:26 p.m. UTC
2.19.1 declares protobuf < 6, while meta-python provides 7.36, and
google-cloud-pubsub 2.39.2, which Home Assistant 2026.11 uses, requires
google-api-core >= 2.25.0.

New runtime dependencies: proto-plus and opentelemetry-api. pytz is no
longer used. The package is built with setuptools.build_meta now. The
sdist on PyPI was renamed from google-api-core-2.19.1.tar.gz to
google_api_core-2.44.0.tar.gz; the underscore form is the pypi.bbclass
default, so PYPI_PACKAGE_SDIST, which pointed at the old name, is
dropped.

AI-Generated: Claude Code, Claude Opus 5.5
Signed-off-by: Thomas Roos <thomas@roosesweb.de>
---
 ...-core_2.19.1.bb => python3-google-api-core_2.44.0.bb} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-google-api-core_2.19.1.bb => python3-google-api-core_2.44.0.bb} (71%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb b/meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb
rename to meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb
index eee2278e40..e5be0613dc 100644
--- a/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb
+++ b/meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb
@@ -3,11 +3,9 @@  HOMEPAGE = "https://github.com/googleapis/python-api-core"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
-PYPI_PACKAGE_SDIST = "google-api-core"
-
-SRC_URI[sha256sum] = "f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"
+SRC_URI[sha256sum] = "5ab9a396965c1227d7dea4581e562b7018aa2bca96d2de0be5eb70dc9c8ab3a1"
 
 RDEPENDS:${PN} += "\
     python3-asyncio \
@@ -20,7 +18,8 @@  RDEPENDS:${PN} += "\
     python3-googleapis-common-protos \
     python3-google-auth \
     python3-grpcio \
+    python3-opentelemetry-api \
+    python3-proto-plus \
     python3-protobuf \
-    python3-pytz \
     python3-requests \
 "