diff --git a/backport-add-support-for-cachetools6.patch b/backport-add-support-for-cachetools6.patch new file mode 100644 index 0000000000000000000000000000000000000000..2fd3dac66112b673b1add54fe3aa8cc818ab36ef --- /dev/null +++ b/backport-add-support-for-cachetools6.patch @@ -0,0 +1,22 @@ +From af18060d521baf86c219d66a26631decb3b28e79 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Yannick=20P=C3=89ROUX?= +Date: Tue, 15 Jul 2025 19:36:55 +0200 +Subject: [PATCH] feat: add support for cachetools 6.0 (#1773) + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3874354fd..20f79ce66 100644 +--- a/setup.py ++++ b/setup.py +@@ -20,7 +20,7 @@ + + + DEPENDENCIES = ( +- "cachetools>=2.0.0,<6.0", ++ "cachetools>=2.0.0,<7.0", + "pyasn1-modules>=0.2.1", + # rsa==4.5 is the last version to support 2.7 + # https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233 diff --git a/python-google-auth.spec b/python-google-auth.spec index bdbc893f8210d22999919272c6e15e51a4387497..967c03bb96990267f6a20ad17f98abb0b68983e4 100644 --- a/python-google-auth.spec +++ b/python-google-auth.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-google-auth Version: 2.40.3 -Release: 1 +Release: 2 Summary: Google Authentication Library License: Apache-2.0 URL: https://github.com/googleapis/google-auth-library-python Source0: https://files.pythonhosted.org/packages/source/g/google_auth/google_auth-%{version}.tar.gz - +Patch1: backport-add-support-for-cachetools6.patch BuildArch: noarch Requires: python3-cachetools @@ -41,7 +41,7 @@ This library simplifies using Google's various server-to-server authentication mechanisms to access Google APIs. %prep -%autosetup -n google_auth-%{version} +%autosetup -n google_auth-%{version} -p1 %build %py3_build @@ -81,6 +81,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Jul 18 2025 Dongxing Wang - 2.40.3-2 +- backport feat: add support for cachetools upgrade to version 6.0 + * Tue Jun 10 2025 openeuler_bot - 2.40.3-1 - Retry 504 errors (version:2.40.3) - Remove unnecessary call to mds service (version:2.40.3)