diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-01-13 14:29:37 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-13 08:28:58 -0800 |
| commit | 6ad8b50af88fbfe185cea31fe9fea414d9ecd5a9 (patch) | |
| tree | 60a1ba0ff45df2753a2140b4bedfeb47efa7e458 /meta-python | |
| parent | 584e70ca72350513014fb0da31cda4ec40d0b2c3 (diff) | |
| download | meta-openembedded-6ad8b50af88fbfe185cea31fe9fea414d9ecd5a9.tar.gz | |
python3-google-auth: upgrade 2.45.0 -> 2.47.0
1. Changelog
https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md
2. Drop 0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch as it was merged upstream.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch | 34 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb (renamed from meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb) | 3 |
2 files changed, 1 insertions, 36 deletions
diff --git a/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch b/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch deleted file mode 100644 index 5ee13f3d63..0000000000 --- a/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 35eea881e1aeb27fc12cfb301e497e72e59e720f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 18 Nov 2025 17:23:09 -0800 | ||
| 4 | Subject: [PATCH] make the TLS tests skip when pyopenssl isn't available | ||
| 5 | |||
| 6 | In some distributions e.g. yocto | ||
| 7 | pyOpenSSL is a packageconfig and disabled by default, | ||
| 8 | and it means pyopenssl.py module is not installed as a result. | ||
| 9 | |||
| 10 | This test fails plainly when it can not find urllib3.contrib.pyopenssl | ||
| 11 | instead skip the test if it does not find the module. | ||
| 12 | |||
| 13 | Upstream-Status: Submitted [https://github.com/googleapis/google-auth-library-python/pull/1873] | ||
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 15 | --- | ||
| 16 | tests/transport/test__custom_tls_signer.py | 5 ++++- | ||
| 17 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/tests/transport/test__custom_tls_signer.py b/tests/transport/test__custom_tls_signer.py | ||
| 20 | index 3a33c2c..6f88ddf 100644 | ||
| 21 | --- a/tests/transport/test__custom_tls_signer.py | ||
| 22 | +++ b/tests/transport/test__custom_tls_signer.py | ||
| 23 | @@ -18,7 +18,10 @@ import os | ||
| 24 | import mock | ||
| 25 | import pytest # type: ignore | ||
| 26 | from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore | ||
| 27 | -import urllib3.contrib.pyopenssl # type: ignore | ||
| 28 | +urllib3_pyopenssl = pytest.importorskip( | ||
| 29 | + "urllib3.contrib.pyopenssl", | ||
| 30 | + reason="urllib3.contrib.pyopenssl not available in this environment", | ||
| 31 | +) | ||
| 32 | |||
| 33 | from google.auth import exceptions | ||
| 34 | from google.auth.transport import _custom_tls_signer | ||
diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb index 17a9d7051e..3b141006a5 100644 --- a/meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb | |||
| @@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | |||
| 6 | inherit pypi setuptools3 ptest | 6 | inherit pypi setuptools3 ptest |
| 7 | 7 | ||
| 8 | SRC_URI += " \ | 8 | SRC_URI += " \ |
| 9 | file://0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch \ | ||
| 10 | file://0001-python3-google-auth-Skip-mTLS-tests-in-ptest-environ.patch \ | 9 | file://0001-python3-google-auth-Skip-mTLS-tests-in-ptest-environ.patch \ |
| 11 | file://run-ptest \ | 10 | file://run-ptest \ |
| 12 | " | 11 | " |
| 13 | SRC_URI[sha256sum] = "90d3f41b6b72ea72dd9811e765699ee491ab24139f34ebf1ca2b9cc0c38708f3" | 12 | SRC_URI[sha256sum] = "833229070a9dfee1a353ae9877dcd2dec069a8281a4e72e72f77d4a70ff945da" |
| 14 | 13 | ||
| 15 | PYPI_PACKAGE = "google_auth" | 14 | PYPI_PACKAGE = "google_auth" |
| 16 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 15 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
