15
0

Accepting request 1325397 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1325397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=61
This commit is contained in:
2026-01-06 16:41:25 +00:00
committed by Git OBS Bridge
6 changed files with 168 additions and 175 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88228eee5fc21b62a1b5fe773ca15e67778cb07dc8363adcb4a8827b52d81483
size 296359

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90d3f41b6b72ea72dd9811e765699ee491ab24139f34ebf1ca2b9cc0c38708f3
size 320708

View File

@@ -1,50 +0,0 @@
From 5c372a92bf5086f1b63eaa8979fc13c5c0ce9dc9 Mon Sep 17 00:00:00 2001
From: Lingqing Gan <lingqing.gan@gmail.com>
Date: Mon, 10 Nov 2025 15:58:56 -0800
Subject: [PATCH] chore: update secret and fix pytest issue (#1868)
---
system_tests/secrets.tar.enc | Bin 10324 -> 10324 bytes
tests/transport/aio/test_sessions.py | 22 ++++++++++++++++------
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/tests/transport/aio/test_sessions.py b/tests/transport/aio/test_sessions.py
index c91a7c40a..742f863d0 100644
--- a/tests/transport/aio/test_sessions.py
+++ b/tests/transport/aio/test_sessions.py
@@ -32,8 +32,13 @@
@pytest.fixture
-async def simple_async_task():
- return True
+def simple_async_task():
+ # Wrap async fixture within a synchronous fixture to suppress pytest.PytestRemovedIn9Warning
+ # See https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+ async def inner_fixture():
+ return True
+
+ return inner_fixture()
class MockRequest(Request):
@@ -151,10 +156,15 @@ class TestAsyncAuthorizedSession(object):
credentials = AnonymousCredentials()
@pytest.fixture
- async def mocked_content(self):
- content = [b"Cavefish ", b"have ", b"no ", b"sight."]
- for chunk in content:
- yield chunk
+ def mocked_content(self):
+ # Wrap async fixture within a synchronous fixture to suppress pytest.PytestRemovedIn9Warning
+ # See https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
+ async def inner_fixture():
+ content = [b"Cavefish ", b"have ", b"no ", b"sight."]
+ for chunk in content:
+ yield chunk
+
+ return inner_fixture()
@pytest.mark.asyncio
async def test_constructor_with_default_auth_request(self):

View File

@@ -1,6 +1,6 @@
diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test_credentials.py google_auth-2.42.1/tests/compute_engine/test_credentials.py
--- google_auth-2.42.1.orig/tests/compute_engine/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/compute_engine/test_credentials.py 2025-11-03 13:35:00.328319088 +0100
diff -Nru google_auth-2.45.0.orig/tests/compute_engine/test_credentials.py google_auth-2.45.0/tests/compute_engine/test_credentials.py
--- google_auth-2.45.0.orig/tests/compute_engine/test_credentials.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/compute_engine/test_credentials.py 2026-01-05 11:42:16.623606323 +0100
@@ -15,7 +15,7 @@
import datetime
import os
@@ -10,9 +10,9 @@ diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test_credentials.py googl
import pytest # type: ignore
import responses # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py google_auth-2.42.1/tests/compute_engine/test__metadata.py
--- google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/compute_engine/test__metadata.py 2025-11-03 13:35:00.330609617 +0100
diff -Nru google_auth-2.45.0.orig/tests/compute_engine/test__metadata.py google_auth-2.45.0/tests/compute_engine/test__metadata.py
--- google_auth-2.45.0.orig/tests/compute_engine/test__metadata.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/compute_engine/test__metadata.py 2026-01-05 11:42:16.627996539 +0100
@@ -18,7 +18,7 @@
import json
import os
@@ -20,11 +20,23 @@ diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py google_
-import mock
+from unittest import mock
import pytest # type: ignore
import requests
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/conftest.py google_auth-2.42.1/tests/conftest.py
--- google_auth-2.42.1.orig/tests/conftest.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/conftest.py 2025-11-03 13:35:00.252989012 +0100
diff -Nru google_auth-2.45.0.orig/tests/compute_engine/test__mtls.py google_auth-2.45.0/tests/compute_engine/test__mtls.py
--- google_auth-2.45.0.orig/tests/compute_engine/test__mtls.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/compute_engine/test__mtls.py 2026-01-05 11:42:16.626031994 +0100
@@ -17,7 +17,7 @@
from pathlib import Path
-import mock
+from unittest import mock
import pytest # type: ignore
import requests
diff -Nru google_auth-2.45.0.orig/tests/conftest.py google_auth-2.45.0/tests/conftest.py
--- google_auth-2.45.0.orig/tests/conftest.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/conftest.py 2026-01-05 11:42:16.533246846 +0100
@@ -15,7 +15,7 @@
import os
import sys
@@ -34,9 +46,9 @@ diff -Nru google_auth-2.42.1.orig/tests/conftest.py google_auth-2.42.1/tests/con
import pytest # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/crypt/test__python_rsa.py google_auth-2.42.1/tests/crypt/test__python_rsa.py
--- google_auth-2.42.1.orig/tests/crypt/test__python_rsa.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/crypt/test__python_rsa.py 2025-11-03 13:35:00.352876856 +0100
diff -Nru google_auth-2.45.0.orig/tests/crypt/test__python_rsa.py google_auth-2.45.0/tests/crypt/test__python_rsa.py
--- google_auth-2.45.0.orig/tests/crypt/test__python_rsa.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/crypt/test__python_rsa.py 2026-01-05 11:42:16.654083195 +0100
@@ -16,7 +16,7 @@
import json
import os
@@ -46,9 +58,9 @@ diff -Nru google_auth-2.42.1.orig/tests/crypt/test__python_rsa.py google_auth-2.
from pyasn1_modules import pem # type: ignore
import pytest # type: ignore
import rsa # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_challenges.py google_auth-2.42.1/tests/oauth2/test_challenges.py
--- google_auth-2.42.1.orig/tests/oauth2/test_challenges.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_challenges.py 2025-11-03 13:35:00.307598245 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_challenges.py google_auth-2.45.0/tests/oauth2/test_challenges.py
--- google_auth-2.45.0.orig/tests/oauth2/test_challenges.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_challenges.py 2026-01-05 11:42:16.601584221 +0100
@@ -18,7 +18,7 @@
import os
import sys
@@ -58,9 +70,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_challenges.py google_auth-2.
import pytest # type: ignore
import pyu2f # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test__client.py google_auth-2.42.1/tests/oauth2/test__client.py
--- google_auth-2.42.1.orig/tests/oauth2/test__client.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test__client.py 2025-11-03 13:35:00.296759967 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test__client.py google_auth-2.45.0/tests/oauth2/test__client.py
--- google_auth-2.45.0.orig/tests/oauth2/test__client.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test__client.py 2026-01-05 11:42:16.589400013 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@@ -70,9 +82,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test__client.py google_auth-2.42.
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_credentials.py google_auth-2.42.1/tests/oauth2/test_credentials.py
--- google_auth-2.42.1.orig/tests/oauth2/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_credentials.py 2025-11-03 13:35:00.301089606 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_credentials.py google_auth-2.45.0/tests/oauth2/test_credentials.py
--- google_auth-2.45.0.orig/tests/oauth2/test_credentials.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_credentials.py 2026-01-05 11:42:16.594584105 +0100
@@ -18,7 +18,7 @@
import pickle
import sys
@@ -82,9 +94,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_credentials.py google_auth-2
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_gdch_credentials.py google_auth-2.42.1/tests/oauth2/test_gdch_credentials.py
--- google_auth-2.42.1.orig/tests/oauth2/test_gdch_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_gdch_credentials.py 2025-11-03 13:35:00.289843323 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_gdch_credentials.py google_auth-2.45.0/tests/oauth2/test_gdch_credentials.py
--- google_auth-2.45.0.orig/tests/oauth2/test_gdch_credentials.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_gdch_credentials.py 2026-01-05 11:42:16.582005367 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -94,9 +106,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_gdch_credentials.py google_a
import pytest # type: ignore
import requests
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_id_token.py google_auth-2.42.1/tests/oauth2/test_id_token.py
--- google_auth-2.42.1.orig/tests/oauth2/test_id_token.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_id_token.py 2025-11-03 13:35:00.291748012 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_id_token.py google_auth-2.45.0/tests/oauth2/test_id_token.py
--- google_auth-2.45.0.orig/tests/oauth2/test_id_token.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_id_token.py 2026-01-05 11:42:16.584583939 +0100
@@ -15,7 +15,7 @@
import json
import os
@@ -106,9 +118,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_id_token.py google_auth-2.42
import pytest # type: ignore
from google.auth import environment_vars
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_reauth.py google_auth-2.42.1/tests/oauth2/test_reauth.py
--- google_auth-2.42.1.orig/tests/oauth2/test_reauth.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_reauth.py 2025-11-03 13:35:00.302935053 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_reauth.py google_auth-2.45.0/tests/oauth2/test_reauth.py
--- google_auth-2.45.0.orig/tests/oauth2/test_reauth.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_reauth.py 2026-01-05 11:42:16.597276375 +0100
@@ -14,7 +14,7 @@
import copy
@@ -118,9 +130,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_reauth.py google_auth-2.42.1
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_service_account.py google_auth-2.42.1/tests/oauth2/test_service_account.py
--- google_auth-2.42.1.orig/tests/oauth2/test_service_account.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_service_account.py 2025-11-03 13:35:00.299318239 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_service_account.py google_auth-2.45.0/tests/oauth2/test_service_account.py
--- google_auth-2.45.0.orig/tests/oauth2/test_service_account.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_service_account.py 2026-01-05 11:42:16.592584072 +0100
@@ -16,7 +16,7 @@
import json
import os
@@ -130,9 +142,9 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_service_account.py google_au
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_sts.py google_auth-2.42.1/tests/oauth2/test_sts.py
--- google_auth-2.42.1.orig/tests/oauth2/test_sts.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_sts.py 2025-11-03 13:35:00.309483087 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_sts.py google_auth-2.45.0/tests/oauth2/test_sts.py
--- google_auth-2.45.0.orig/tests/oauth2/test_sts.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_sts.py 2026-01-05 11:42:16.603967874 +0100
@@ -16,7 +16,7 @@
import json
import urllib
@@ -142,18 +154,18 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_sts.py google_auth-2.42.1/te
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler_factory.py google_auth-2.42.1/tests/oauth2/test_webauthn_handler_factory.py
--- google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler_factory.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_webauthn_handler_factory.py 2025-11-03 13:35:00.313186536 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_webauthn_handler_factory.py google_auth-2.45.0/tests/oauth2/test_webauthn_handler_factory.py
--- google_auth-2.45.0.orig/tests/oauth2/test_webauthn_handler_factory.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_webauthn_handler_factory.py 2026-01-05 11:42:16.609560836 +0100
@@ -1,4 +1,4 @@
-import mock
+from unittest import mock
import pytest # type: ignore
from google.oauth2 import webauthn_handler
diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler.py google_auth-2.42.1/tests/oauth2/test_webauthn_handler.py
--- google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/oauth2/test_webauthn_handler.py 2025-11-03 13:35:00.294618698 +0100
diff -Nru google_auth-2.45.0.orig/tests/oauth2/test_webauthn_handler.py google_auth-2.45.0/tests/oauth2/test_webauthn_handler.py
--- google_auth-2.45.0.orig/tests/oauth2/test_webauthn_handler.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/oauth2/test_webauthn_handler.py 2026-01-05 11:42:16.586583972 +0100
@@ -1,7 +1,7 @@
import json
import struct
@@ -163,9 +175,21 @@ diff -Nru google_auth-2.42.1.orig/tests/oauth2/test_webauthn_handler.py google_a
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google_auth-2.42.1.orig/tests/test_app_engine.py google_auth-2.42.1/tests/test_app_engine.py
--- google_auth-2.42.1.orig/tests/test_app_engine.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_app_engine.py 2025-11-03 13:35:00.276012147 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_agent_identity_utils.py google_auth-2.45.0/tests/test_agent_identity_utils.py
--- google_auth-2.45.0.orig/tests/test_agent_identity_utils.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_agent_identity_utils.py 2026-01-05 11:42:16.658622002 +0100
@@ -18,7 +18,7 @@
import urllib.parse
from cryptography import x509
-import mock
+from unittest import mock
import pytest
from google.auth import _agent_identity_utils
diff -Nru google_auth-2.45.0.orig/tests/test_app_engine.py google_auth-2.45.0/tests/test_app_engine.py
--- google_auth-2.45.0.orig/tests/test_app_engine.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_app_engine.py 2026-01-05 11:42:16.568362885 +0100
@@ -14,7 +14,7 @@
import datetime
@@ -175,9 +199,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_app_engine.py google_auth-2.42.1/te
import pytest # type: ignore
from google.auth import app_engine
diff -Nru google_auth-2.42.1.orig/tests/test_aws.py google_auth-2.42.1/tests/test_aws.py
--- google_auth-2.42.1.orig/tests/test_aws.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_aws.py 2025-11-03 13:35:00.366320202 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_aws.py google_auth-2.45.0/tests/test_aws.py
--- google_auth-2.45.0.orig/tests/test_aws.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_aws.py 2026-01-05 11:42:16.675585451 +0100
@@ -18,7 +18,7 @@
import os
import urllib.parse
@@ -187,9 +211,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_aws.py google_auth-2.42.1/tests/tes
import pytest # type: ignore
from google.auth import _helpers, external_account
diff -Nru google_auth-2.42.1.orig/tests/test__cloud_sdk.py google_auth-2.42.1/tests/test__cloud_sdk.py
--- google_auth-2.42.1.orig/tests/test__cloud_sdk.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__cloud_sdk.py 2025-11-03 13:35:00.282317740 +0100
diff -Nru google_auth-2.45.0.orig/tests/test__cloud_sdk.py google_auth-2.45.0/tests/test__cloud_sdk.py
--- google_auth-2.45.0.orig/tests/test__cloud_sdk.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test__cloud_sdk.py 2026-01-05 11:42:16.576167661 +0100
@@ -18,7 +18,7 @@
import subprocess
import sys
@@ -199,9 +223,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test__cloud_sdk.py google_auth-2.42.1/te
import pytest # type: ignore
from google.auth import _cloud_sdk
diff -Nru google_auth-2.42.1.orig/tests/test_credentials.py google_auth-2.42.1/tests/test_credentials.py
--- google_auth-2.42.1.orig/tests/test_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_credentials.py 2025-11-03 13:35:00.317619651 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_credentials.py google_auth-2.45.0/tests/test_credentials.py
--- google_auth-2.45.0.orig/tests/test_credentials.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_credentials.py 2026-01-05 11:42:16.613640791 +0100
@@ -15,7 +15,7 @@
import datetime
import os
@@ -211,9 +235,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_credentials.py google_auth-2.42.1/t
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test__default.py google_auth-2.42.1/tests/test__default.py
--- google_auth-2.42.1.orig/tests/test__default.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__default.py 2025-11-03 13:35:00.320730022 +0100
diff -Nru google_auth-2.45.0.orig/tests/test__default.py google_auth-2.45.0/tests/test__default.py
--- google_auth-2.45.0.orig/tests/test__default.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test__default.py 2026-01-05 11:42:16.616584471 +0100
@@ -16,7 +16,7 @@
import os
import warnings
@@ -223,9 +247,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test__default.py google_auth-2.42.1/test
import pytest # type: ignore
from google.auth import _default
diff -Nru google_auth-2.42.1.orig/tests/test_downscoped.py google_auth-2.42.1/tests/test_downscoped.py
--- google_auth-2.42.1.orig/tests/test_downscoped.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_downscoped.py 2025-11-03 13:35:00.325319000 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_downscoped.py google_auth-2.45.0/tests/test_downscoped.py
--- google_auth-2.45.0.orig/tests/test_downscoped.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test_downscoped.py 2026-01-05 11:42:16.621323204 +0100
@@ -17,7 +17,7 @@
import json
import urllib
@@ -235,9 +259,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_downscoped.py google_auth-2.42.1/te
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test__exponential_backoff.py google_auth-2.42.1/tests/test__exponential_backoff.py
--- google_auth-2.42.1.orig/tests/test__exponential_backoff.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__exponential_backoff.py 2025-11-03 13:35:00.247630509 +0100
diff -Nru google_auth-2.45.0.orig/tests/test__exponential_backoff.py google_auth-2.45.0/tests/test__exponential_backoff.py
--- google_auth-2.45.0.orig/tests/test__exponential_backoff.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test__exponential_backoff.py 2026-01-05 11:42:16.523969040 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -247,9 +271,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test__exponential_backoff.py google_auth
import pytest # type: ignore
from google.auth import _exponential_backoff
diff -Nru google_auth-2.42.1.orig/tests/test_external_account_authorized_user.py google_auth-2.42.1/tests/test_external_account_authorized_user.py
--- google_auth-2.42.1.orig/tests/test_external_account_authorized_user.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_external_account_authorized_user.py 2025-11-03 13:35:00.322985588 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_external_account_authorized_user.py google_auth-2.45.0/tests/test_external_account_authorized_user.py
--- google_auth-2.45.0.orig/tests/test_external_account_authorized_user.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_external_account_authorized_user.py 2026-01-05 11:42:16.618826678 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -259,9 +283,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_external_account_authorized_user.py
import pytest # type: ignore
from google.auth import environment_vars
diff -Nru google_auth-2.42.1.orig/tests/test_external_account.py google_auth-2.42.1/tests/test_external_account.py
--- google_auth-2.42.1.orig/tests/test_external_account.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_external_account.py 2025-11-03 13:35:00.249316773 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_external_account.py google_auth-2.45.0/tests/test_external_account.py
--- google_auth-2.45.0.orig/tests/test_external_account.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_external_account.py 2026-01-05 11:42:16.527582992 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@@ -271,9 +295,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_external_account.py google_auth-2.4
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_iam.py google_auth-2.42.1/tests/test_iam.py
--- google_auth-2.42.1.orig/tests/test_iam.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_iam.py 2025-11-03 13:35:00.335121893 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_iam.py google_auth-2.45.0/tests/test_iam.py
--- google_auth-2.45.0.orig/tests/test_iam.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_iam.py 2026-01-05 11:42:16.631913394 +0100
@@ -17,7 +17,7 @@
import http.client as http_client
import json
@@ -283,9 +307,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_iam.py google_auth-2.42.1/tests/tes
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_identity_pool.py google_auth-2.42.1/tests/test_identity_pool.py
--- google_auth-2.42.1.orig/tests/test_identity_pool.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_identity_pool.py 2025-11-03 13:35:00.338319381 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_identity_pool.py google_auth-2.45.0/tests/test_identity_pool.py
--- google_auth-2.45.0.orig/tests/test_identity_pool.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test_identity_pool.py 2026-01-05 11:42:16.633584753 +0100
@@ -19,7 +19,7 @@
import os
import urllib
@@ -295,9 +319,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_identity_pool.py google_auth-2.42.1
from OpenSSL import crypto
import pytest # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/test_impersonated_credentials.py google_auth-2.42.1/tests/test_impersonated_credentials.py
--- google_auth-2.42.1.orig/tests/test_impersonated_credentials.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_impersonated_credentials.py 2025-11-03 13:35:00.362320085 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_impersonated_credentials.py google_auth-2.45.0/tests/test_impersonated_credentials.py
--- google_auth-2.45.0.orig/tests/test_impersonated_credentials.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_impersonated_credentials.py 2026-01-05 11:42:16.668585335 +0100
@@ -18,7 +18,7 @@
import json
import os
@@ -307,9 +331,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_impersonated_credentials.py google_
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_jwt.py google_auth-2.42.1/tests/test_jwt.py
--- google_auth-2.42.1.orig/tests/test_jwt.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_jwt.py 2025-11-03 13:35:00.340842665 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_jwt.py google_auth-2.45.0/tests/test_jwt.py
--- google_auth-2.45.0.orig/tests/test_jwt.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test_jwt.py 2026-01-05 11:42:16.636848625 +0100
@@ -17,7 +17,7 @@
import json
import os
@@ -319,9 +343,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_jwt.py google_auth-2.42.1/tests/tes
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/test_metrics.py google_auth-2.42.1/tests/test_metrics.py
--- google_auth-2.42.1.orig/tests/test_metrics.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_metrics.py 2025-11-03 13:35:00.287107573 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_metrics.py google_auth-2.45.0/tests/test_metrics.py
--- google_auth-2.45.0.orig/tests/test_metrics.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test_metrics.py 2026-01-05 11:42:16.580139521 +0100
@@ -14,7 +14,7 @@
import platform
@@ -331,9 +355,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_metrics.py google_auth-2.42.1/tests
from google.auth import metrics
from google.auth import version
diff -Nru google_auth-2.42.1.orig/tests/test__oauth2client.py google_auth-2.42.1/tests/test__oauth2client.py
--- google_auth-2.42.1.orig/tests/test__oauth2client.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__oauth2client.py 2025-11-03 13:35:00.277733889 +0100
diff -Nru google_auth-2.45.0.orig/tests/test__oauth2client.py google_auth-2.45.0/tests/test__oauth2client.py
--- google_auth-2.45.0.orig/tests/test__oauth2client.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/test__oauth2client.py 2026-01-05 11:42:16.570240675 +0100
@@ -17,7 +17,7 @@
import os
import sys
@@ -343,9 +367,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test__oauth2client.py google_auth-2.42.1
import pytest # type: ignore
try:
diff -Nru google_auth-2.42.1.orig/tests/test_pluggable.py google_auth-2.42.1/tests/test_pluggable.py
--- google_auth-2.42.1.orig/tests/test_pluggable.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test_pluggable.py 2025-11-03 13:35:00.364120814 +0100
diff -Nru google_auth-2.45.0.orig/tests/test_pluggable.py google_auth-2.45.0/tests/test_pluggable.py
--- google_auth-2.45.0.orig/tests/test_pluggable.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test_pluggable.py 2026-01-05 11:42:16.671596074 +0100
@@ -16,7 +16,7 @@
import os
import subprocess
@@ -355,9 +379,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test_pluggable.py google_auth-2.42.1/tes
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google_auth-2.42.1.orig/tests/test__refresh_worker.py google_auth-2.42.1/tests/test__refresh_worker.py
--- google_auth-2.42.1.orig/tests/test__refresh_worker.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/test__refresh_worker.py 2025-11-03 13:35:00.355629928 +0100
diff -Nru google_auth-2.45.0.orig/tests/test__refresh_worker.py google_auth-2.45.0/tests/test__refresh_worker.py
--- google_auth-2.45.0.orig/tests/test__refresh_worker.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/test__refresh_worker.py 2026-01-05 11:42:16.655941717 +0100
@@ -17,7 +17,7 @@
import threading
import time
@@ -367,9 +391,9 @@ diff -Nru google_auth-2.42.1.orig/tests/test__refresh_worker.py google_auth-2.42
import pytest # type: ignore
from google.auth import _refresh_worker, credentials, exceptions
diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_aiohttp.py google_auth-2.42.1/tests/transport/aio/test_aiohttp.py
--- google_auth-2.42.1.orig/tests/transport/aio/test_aiohttp.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/aio/test_aiohttp.py 2025-11-03 13:35:00.258192110 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/aio/test_aiohttp.py google_auth-2.45.0/tests/transport/aio/test_aiohttp.py
--- google_auth-2.45.0.orig/tests/transport/aio/test_aiohttp.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/transport/aio/test_aiohttp.py 2026-01-05 11:42:16.542435532 +0100
@@ -15,7 +15,7 @@
import asyncio
@@ -379,9 +403,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_aiohttp.py google_aut
import pytest # type: ignore
import pytest_asyncio # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_sessions.py google_auth-2.42.1/tests/transport/aio/test_sessions.py
--- google_auth-2.42.1.orig/tests/transport/aio/test_sessions.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/aio/test_sessions.py 2025-11-03 13:35:00.256483423 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/aio/test_sessions.py google_auth-2.45.0/tests/transport/aio/test_sessions.py
--- google_auth-2.45.0.orig/tests/transport/aio/test_sessions.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/transport/aio/test_sessions.py 2026-01-05 11:42:16.539312365 +0100
@@ -16,7 +16,7 @@
from typing import AsyncGenerator
@@ -391,9 +415,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/aio/test_sessions.py google_au
import pytest # type: ignore
from google.auth.aio.credentials import AnonymousCredentials
diff -Nru google_auth-2.42.1.orig/tests/transport/test__custom_tls_signer.py google_auth-2.42.1/tests/transport/test__custom_tls_signer.py
--- google_auth-2.42.1.orig/tests/transport/test__custom_tls_signer.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test__custom_tls_signer.py 2025-11-03 13:35:00.259865401 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/test__custom_tls_signer.py google_auth-2.45.0/tests/transport/test__custom_tls_signer.py
--- google_auth-2.45.0.orig/tests/transport/test__custom_tls_signer.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test__custom_tls_signer.py 2026-01-05 11:42:16.545511419 +0100
@@ -15,7 +15,7 @@
import ctypes
import os
@@ -403,9 +427,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/test__custom_tls_signer.py goo
import pytest # type: ignore
from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
import urllib3.contrib.pyopenssl # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/transport/test_grpc.py google_auth-2.42.1/tests/transport/test_grpc.py
--- google_auth-2.42.1.orig/tests/transport/test_grpc.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_grpc.py 2025-11-03 13:35:00.261543389 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/test_grpc.py google_auth-2.45.0/tests/transport/test_grpc.py
--- google_auth-2.45.0.orig/tests/transport/test_grpc.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test_grpc.py 2026-01-05 11:42:16.548583341 +0100
@@ -16,7 +16,7 @@
import os
import time
@@ -415,10 +439,10 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/test_grpc.py google_auth-2.42.
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google_auth-2.42.1.orig/tests/transport/test__mtls_helper.py google_auth-2.42.1/tests/transport/test__mtls_helper.py
--- google_auth-2.42.1.orig/tests/transport/test__mtls_helper.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test__mtls_helper.py 2025-11-03 13:35:00.264970803 +0100
@@ -15,7 +15,7 @@
diff -Nru google_auth-2.45.0.orig/tests/transport/test__mtls_helper.py google_auth-2.45.0/tests/transport/test__mtls_helper.py
--- google_auth-2.45.0.orig/tests/transport/test__mtls_helper.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test__mtls_helper.py 2026-01-05 11:42:16.554347244 +0100
@@ -16,7 +16,7 @@
import os
import re
@@ -427,9 +451,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/test__mtls_helper.py google_au
from OpenSSL import crypto
import pytest # type: ignore
diff -Nru google_auth-2.42.1.orig/tests/transport/test_mtls.py google_auth-2.42.1/tests/transport/test_mtls.py
--- google_auth-2.42.1.orig/tests/transport/test_mtls.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_mtls.py 2025-11-03 13:35:00.266704768 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/test_mtls.py google_auth-2.45.0/tests/transport/test_mtls.py
--- google_auth-2.45.0.orig/tests/transport/test_mtls.py 2025-12-15 23:54:24.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test_mtls.py 2026-01-05 11:42:16.557298333 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -439,9 +463,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/test_mtls.py google_auth-2.42.
import pytest # type: ignore
from google.auth import exceptions
diff -Nru google_auth-2.42.1.orig/tests/transport/test_requests.py google_auth-2.42.1/tests/transport/test_requests.py
--- google_auth-2.42.1.orig/tests/transport/test_requests.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_requests.py 2025-11-03 13:35:00.269317359 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/test_requests.py google_auth-2.45.0/tests/transport/test_requests.py
--- google_auth-2.45.0.orig/tests/transport/test_requests.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test_requests.py 2026-01-05 11:42:16.560338823 +0100
@@ -19,7 +19,7 @@
import sys
@@ -451,9 +475,9 @@ diff -Nru google_auth-2.42.1.orig/tests/transport/test_requests.py google_auth-2
import OpenSSL
import pytest # type: ignore
import requests
diff -Nru google_auth-2.42.1.orig/tests/transport/test_urllib3.py google_auth-2.42.1/tests/transport/test_urllib3.py
--- google_auth-2.42.1.orig/tests/transport/test_urllib3.py 2025-10-30 17:37:50.000000000 +0100
+++ google_auth-2.42.1/tests/transport/test_urllib3.py 2025-11-03 13:35:00.254724090 +0100
diff -Nru google_auth-2.45.0.orig/tests/transport/test_urllib3.py google_auth-2.45.0/tests/transport/test_urllib3.py
--- google_auth-2.45.0.orig/tests/transport/test_urllib3.py 2025-12-15 23:54:25.000000000 +0100
+++ google_auth-2.45.0/tests/transport/test_urllib3.py 2026-01-05 11:42:16.536146758 +0100
@@ -16,7 +16,7 @@
import os
import sys

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Jan 5 10:54:00 UTC 2026 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.45.0
* Adding Agent Identity bound token support and handling certificate
mismatches with retries (#1890)
- from version 2.44.0
* MDS connections use mTLS (#1856)
* support Python 3.14 (#1822)
* add ecdsa p-384 support (#1872)
* Add shlex to correctly parse executable commands with spaces (#1855)
* Implement token revocation in STS client and add revoke() method
to ExternalAccountAuthorizedUser credentials (#1849)
* Add temporary patch to workload cert logic to accomodate Cloud Run
mis-configuration (#1880)
* Delegate workload cert and key default lookup to helper function (#1877)
* Use public refresh method for source credentials in
ImpersonatedCredentials (#1884)
- Drop pytest9.patch, merged upstream
- Refresh python-google-auth-no-mock.patch
-------------------------------------------------------------------
Thu Nov 27 09:54:02 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-google-auth
Version: 2.43.0
Version: 2.45.0
Release: 0
Summary: Google Authentication Library
License: Apache-2.0
@@ -26,8 +26,6 @@ URL: https://github.com/googleapis/google-auth-library-python
Source: https://files.pythonhosted.org/packages/source/g/google_auth/google_auth-%{version}.tar.gz
# https://github.com/googleapis/google-auth-library-python/issues/1055
Patch1: python-google-auth-no-mock.patch
# PATCH-FIX-UPSTREAM https://github.com/googleapis/google-auth-library-python/pull/1868 chore: update secret and fix pytest issue
Patch2: pytest9.patch
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module PyJWT >= 2.0}
BuildRequires: %{python_module aiohttp >= 3.6.2}