From 3ed6315a49f5c43d065684ad0f7f360ba5b2c170 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 Nov 2025 17:34:04 -0800 Subject: python3-google-auth: Upgrade to 2.43.0 Skip ptests needing pyopenssl module when its not available Signed-off-by: Khem Raj --- .../python/python3-google-auth_2.43.0.bb | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb (limited to 'meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.43.0.bb new file mode 100644 index 0000000000..aa94035eb6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.43.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-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch \ + file://run-ptest \ +" +SRC_URI[sha256sum] = "88228eee5fc21b62a1b5fe773ca15e67778cb07dc8363adcb4a8827b52d81483" + +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