From 263194d7a3a29b7a7eb31b39913e15c267979731 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 27 Feb 2026 18:12:48 +0800 Subject: python3-google-auth: upgrade 2.47.0 -> 2.48.0 Features ---------- - honor NO_GCE_CHECK environment variable - add configurable GCE Metadata Server retries - add cryptography as required dependency - Support the mTLS IAM domain for Certificate based Access Bug Fixes ---------- - resolve circular imports - Use user_verification=preferred for ReAuth WebAuthn challenge - removes content-header from AWS IMDS get request - detect correct auth when ADC env var is set but empty - replace deprecated utcfromtimestamp Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-google-auth_2.48.0.bb | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-google-auth_2.48.0.bb (limited to 'meta-python/recipes-devtools/python/python3-google-auth_2.48.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.48.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.48.0.bb new file mode 100644 index 0000000000..4e48c62861 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.48.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "Google Authentication Library" +HOMEPAGE = "https://github.com/googleapis/google-auth-library-python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://0001-python3-google-auth-Skip-mTLS-tests-in-ptest-environ.patch \ + file://run-ptest \ +" +SRC_URI[sha256sum] = "4f7e706b0cd3208a3d940a19a822c37a476ddba5450156c3e6624a71f7c841ce" + +PYPI_PACKAGE = "google_auth" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN}-ptest += " \ + python3-aioresponses \ + python3-cryptography \ + python3-flask \ + python3-freezegun \ + python3-grpcio \ + python3-mock \ + python3-pyjwt \ + python3-pyopenssl \ + python3-pytest \ + python3-pytest-asyncio \ + python3-pytest-localserver \ + python3-pyu2f \ + python3-requests \ + python3-responses \ + python3-unittest-automake-output \ + python3-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "\ + python3-cachetools \ + python3-json \ + python3-pyasn1-modules \ + python3-rsa \ +" -- cgit v1.2.3-54-g00ecf