17
0

23 Commits

Author SHA256 Message Date
57db1d3eb8 Accepting request 1285541 from devel:languages:python
- Convert to pip-based build

- Update to version 2.40.3
  * Auth fetch token from default endpoint (#1779)
  * Remove unnecessary call to mds service (#1769)
  * Retry 504 errors (#1767)

OBS-URL: https://build.opensuse.org/request/show/1285541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=56
2025-06-14 14:17:18 +00:00
8b6700a936 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=117
2025-06-13 15:25:51 +00:00
875e4b612d Accepting request 1284730 from home:glaubitz:branches:devel:languages:python
- Update to version 2.40.3
  * Auth fetch token from default endpoint (#1779)
  * Remove unnecessary call to mds service (#1769)
  * Retry 504 errors (#1767)

OBS-URL: https://build.opensuse.org/request/show/1284730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=116
2025-06-13 10:47:22 +00:00
3a9470f42c Accepting request 1281290 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1281290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=55
2025-05-31 17:14:38 +00:00
0f522d5c4c Accepting request 1281273 from home:glaubitz:branches:devel:languages:python
- Update to version 2.40.2
  * Remove sync response logs in AuthorizedSession
  * Update test to consider new error message from cryptography (#1765)

OBS-URL: https://build.opensuse.org/request/show/1281273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=114
2025-05-30 07:58:02 +00:00
4c5880a090 Accepting request 1278548 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=54
2025-05-23 12:27:33 +00:00
94629ccb7c Accepting request 1278404 from home:glaubitz:branches:devel:languages:python
- Update to version 2.40.1
  * Disable logging response body for async logs (#1756)
- from version 2.40.0
  * Add request response logging to auth (#1678)
  * Correct webauthn JSON parsing to be compliant with standard. (#1658)
- from version 2.39.0
  * Adds GA support for X.509 workload identity federation (#1695)
  * Add impersonated SA via local ADC support for fetch_id_token (#1740)
  * Add missing packaging dependency for feature requiring urllib3 (#1732)
  * Add request timeout for MDS requests (#1699)
  * Explicitly declare support for Python 3.13 ([#1741)
- Refresh python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1278404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=112
2025-05-20 08:16:44 +00:00
67681bfdad Accepting request 1243430 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=53
2025-02-06 21:01:59 +00:00
629caa3e3a Accepting request 1243370 from home:mcalabkova:branches:devel:languages:python
- Skip test broken with new pyOpenSSL
  * as pyOpenSSL should not be used anymore and continues deprecating 
    functionality, this library should really be migrated to cryptography,
    otherwise we are facing serious problems in the future
  * https://github.com/googleapis/google-auth-library-python/issues/1665

OBS-URL: https://build.opensuse.org/request/show/1243370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=110
2025-02-05 15:49:04 +00:00
63f476f0f0 Accepting request 1242604 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1242604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=52
2025-02-04 17:09:46 +00:00
6b7707dbfd Accepting request 1241359 from home:glaubitz:branches:devel:languages:python
- Update to version 2.38.0
  * Adding domain-wide delegation flow in impersonated credential (#1624) (34ee3fe)
  * Add warnings regarding consuming externally sourced credentials (d049370)

OBS-URL: https://build.opensuse.org/request/show/1241359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=108
2025-02-03 10:03:09 +00:00
22233f388c Accepting request 1236166 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=51
2025-01-12 10:10:15 +00:00
9e6e29dadb Accepting request 1236153 from home:glaubitz:branches:devel:languages:python
- Update to version 2.37.0
  * Allow users to use jwk keys for verifying ID token (#1641)
- from version 2.36.1
  * Improve user guide for Impersonation and SA (#1627)
- Update BuildRequires and Recommends from setup.py

OBS-URL: https://build.opensuse.org/request/show/1236153
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=106
2025-01-09 12:17:02 +00:00
3793b69747 Accepting request 1228735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1228735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=50
2024-12-08 10:36:24 +00:00
9d92a44eb9 Accepting request 1228493 from home:glaubitz:branches:devel:languages:python
- Update to version 2.36.0
  * IAM signblob retries (#1600)
  * Making IAM endpoint universe-aware (#1604)
  * Support External Account Authorized User as a Source
    Credential for impersonated credentials in ADC (#1608)
  * Adding default parameters to updated interfaces (#1622)
  * Change universe_domain to universe-domain (#1613)
  * Remove base class to avoid type conflict (#1619)
  * Revert templates for iam endpoints (#1614)
  * Update secret (#1611)
  * Update secret (#1617)
  * Update secret (#1621)

OBS-URL: https://build.opensuse.org/request/show/1228493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=104
2024-12-06 10:36:02 +00:00
63e62b638e Accepting request 1204964 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1204964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=49
2024-10-03 16:00:01 +00:00
61911956d4 Accepting request 1204949 from home:glaubitz:branches:devel:languages:python
- Update to version 2.35.0
  * Add cred info to ADC creds (#1587)
  * Add support for asynchronous `AuthorizedSession` api (#1577)
  * Remove token_info call from token refresh path (#1595)
- Refresh patches for new version
  * python-google-auth-no-mock.patch
- Updates BuildRequires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1204949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=102
2024-10-01 15:50:17 +00:00
4090f1e87f Accepting request 1201612 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=48
2024-09-18 13:26:36 +00:00
694fb8a141 Accepting request 1201529 from home:glaubitz:branches:devel:languages:python
- Update to version 2.34.0
  * **auth:** Update get_client_ssl_credentials to support X.509 workload certs (#1558)
  * Retry token request on retryable status code (#1563)
- from version 2.33.0
  * Implement async `StaticCredentials` using access tokens (#1559)
  * Implement base classes for credentials and request sessions (#1551)
  * **metadata:** Enhance retry logic for metadata server access in _metadata.py (#1545)
  * Update argument for Credentials initialization (#1557)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1201529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=100
2024-09-17 12:28:19 +00:00
7350206f89 Accepting request 1186602 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=47
2024-07-11 18:29:24 +00:00
52d54df1e0 Accepting request 1186552 from home:glaubitz:branches:devel:languages:python
- Update to version 2.32.0
  * Adds support for X509 workload credential type (#1541)
- Adjust upstream source name in spec file

OBS-URL: https://build.opensuse.org/request/show/1186552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=98
2024-07-10 12:31:10 +00:00
aa7ba82ec9 Accepting request 1186355 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=46
2024-07-09 18:03:02 +00:00
699539d181 Accepting request 1185759 from home:glaubitz:branches:devel:languages:python
- Update to version 2.31.0
  * Adds X509 workload cert logic (#1527)
  * Added py.typed to MANIFEST.in (#1526)
  * Pass trust_env kwarg to ClientSession (#1533)

OBS-URL: https://build.opensuse.org/request/show/1185759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=96
2024-07-09 10:04:44 +00:00
6 changed files with 133 additions and 251 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:500c3a29adedeb36ea9cf24b8d10858e152f2412e3ca37829b3fa18e33d63b77
size 281029

View File

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

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,18 +1,18 @@
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
@@ -15,7 +15,7 @@
diff -Nru google_auth-2.40.1.orig/tests/compute_engine/test_credentials.py google_auth-2.40.1/tests/compute_engine/test_credentials.py
--- google_auth-2.40.1.orig/tests/compute_engine/test_credentials.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/compute_engine/test_credentials.py 2025-05-19 15:07:30.223872541 +0200
@@ -14,7 +14,7 @@
import base64
import datetime
import os
-import mock
+from unittest import mock
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.40.1.orig/tests/compute_engine/test__metadata.py google_auth-2.40.1/tests/compute_engine/test__metadata.py
--- google_auth-2.40.1.orig/tests/compute_engine/test__metadata.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/compute_engine/test__metadata.py 2025-05-19 15:07:30.225149286 +0200
@@ -18,7 +18,7 @@
import json
import os
@@ -22,9 +22,9 @@ diff -Nru google_auth-2.42.1.orig/tests/compute_engine/test__metadata.py google_
import pytest # type: ignore
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.40.1.orig/tests/conftest.py google_auth-2.40.1/tests/conftest.py
--- google_auth-2.40.1.orig/tests/conftest.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/conftest.py 2025-05-19 15:07:30.179812111 +0200
@@ -15,7 +15,7 @@
import os
import sys
@@ -34,9 +34,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.40.1.orig/tests/crypt/test__python_rsa.py google_auth-2.40.1/tests/crypt/test__python_rsa.py
--- google_auth-2.40.1.orig/tests/crypt/test__python_rsa.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/crypt/test__python_rsa.py 2025-05-19 15:07:30.237800193 +0200
@@ -16,7 +16,7 @@
import json
import os
@@ -46,9 +46,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.40.1.orig/tests/oauth2/test_challenges.py google_auth-2.40.1/tests/oauth2/test_challenges.py
--- google_auth-2.40.1.orig/tests/oauth2/test_challenges.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_challenges.py 2025-05-19 15:07:30.211896068 +0200
@@ -18,7 +18,7 @@
import os
import sys
@@ -58,9 +58,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.40.1.orig/tests/oauth2/test__client.py google_auth-2.40.1/tests/oauth2/test__client.py
--- google_auth-2.40.1.orig/tests/oauth2/test__client.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test__client.py 2025-05-19 15:07:30.205705092 +0200
@@ -18,7 +18,7 @@
import os
import urllib
@@ -70,9 +70,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.40.1.orig/tests/oauth2/test_credentials.py google_auth-2.40.1/tests/oauth2/test_credentials.py
--- google_auth-2.40.1.orig/tests/oauth2/test_credentials.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_credentials.py 2025-05-19 15:07:30.208338653 +0200
@@ -18,7 +18,7 @@
import pickle
import sys
@@ -82,9 +82,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.40.1.orig/tests/oauth2/test_gdch_credentials.py google_auth-2.40.1/tests/oauth2/test_gdch_credentials.py
--- google_auth-2.40.1.orig/tests/oauth2/test_gdch_credentials.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_gdch_credentials.py 2025-05-19 15:07:30.202082893 +0200
@@ -17,7 +17,7 @@
import json
import os
@@ -94,9 +94,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.40.1.orig/tests/oauth2/test_id_token.py google_auth-2.40.1/tests/oauth2/test_id_token.py
--- google_auth-2.40.1.orig/tests/oauth2/test_id_token.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_id_token.py 2025-05-19 15:07:30.203228138 +0200
@@ -15,7 +15,7 @@
import json
import os
@@ -106,9 +106,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.40.1.orig/tests/oauth2/test_reauth.py google_auth-2.40.1/tests/oauth2/test_reauth.py
--- google_auth-2.40.1.orig/tests/oauth2/test_reauth.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_reauth.py 2025-05-19 15:07:30.209267947 +0200
@@ -14,7 +14,7 @@
import copy
@@ -118,9 +118,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.40.1.orig/tests/oauth2/test_service_account.py google_auth-2.40.1/tests/oauth2/test_service_account.py
--- google_auth-2.40.1.orig/tests/oauth2/test_service_account.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_service_account.py 2025-05-19 15:07:30.207039816 +0200
@@ -16,7 +16,7 @@
import json
import os
@@ -130,9 +130,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.40.1.orig/tests/oauth2/test_sts.py google_auth-2.40.1/tests/oauth2/test_sts.py
--- google_auth-2.40.1.orig/tests/oauth2/test_sts.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_sts.py 2025-05-19 15:07:30.212899744 +0200
@@ -16,7 +16,7 @@
import json
import urllib
@@ -142,18 +142,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.40.1.orig/tests/oauth2/test_webauthn_handler_factory.py google_auth-2.40.1/tests/oauth2/test_webauthn_handler_factory.py
--- google_auth-2.40.1.orig/tests/oauth2/test_webauthn_handler_factory.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_webauthn_handler_factory.py 2025-05-19 15:07:30.215590103 +0200
@@ -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.40.1.orig/tests/oauth2/test_webauthn_handler.py google_auth-2.40.1/tests/oauth2/test_webauthn_handler.py
--- google_auth-2.40.1.orig/tests/oauth2/test_webauthn_handler.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/oauth2/test_webauthn_handler.py 2025-05-19 15:07:30.204282500 +0200
@@ -1,7 +1,7 @@
import json
import struct
@@ -163,9 +163,9 @@ 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.40.1.orig/tests/test_app_engine.py google_auth-2.40.1/tests/test_app_engine.py
--- google_auth-2.40.1.orig/tests/test_app_engine.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_app_engine.py 2025-05-19 15:07:30.193993141 +0200
@@ -14,7 +14,7 @@
import datetime
@@ -175,9 +175,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.40.1.orig/tests/test_aws.py google_auth-2.40.1/tests/test_aws.py
--- google_auth-2.40.1.orig/tests/test_aws.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_aws.py 2025-05-19 15:07:30.247725978 +0200
@@ -18,7 +18,7 @@
import os
import urllib.parse
@@ -187,9 +187,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.40.1.orig/tests/test__cloud_sdk.py google_auth-2.40.1/tests/test__cloud_sdk.py
--- google_auth-2.40.1.orig/tests/test__cloud_sdk.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test__cloud_sdk.py 2025-05-19 15:07:30.197617443 +0200
@@ -18,7 +18,7 @@
import subprocess
import sys
@@ -199,33 +199,33 @@ 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
@@ -15,7 +15,7 @@
diff -Nru google_auth-2.40.1.orig/tests/test_credentials.py google_auth-2.40.1/tests/test_credentials.py
--- google_auth-2.40.1.orig/tests/test_credentials.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_credentials.py 2025-05-19 15:07:30.218144995 +0200
@@ -14,7 +14,7 @@
import datetime
import os
-import mock
+from unittest import mock
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
@@ -16,7 +16,7 @@
diff -Nru google_auth-2.40.1.orig/tests/test__default.py google_auth-2.40.1/tests/test__default.py
--- google_auth-2.40.1.orig/tests/test__default.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test__default.py 2025-05-19 15:07:30.219234363 +0200
@@ -15,7 +15,7 @@
import json
import os
import warnings
-import mock
+from unittest import mock
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.40.1.orig/tests/test_downscoped.py google_auth-2.40.1/tests/test_downscoped.py
--- google_auth-2.40.1.orig/tests/test_downscoped.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_downscoped.py 2025-05-19 15:07:30.222168185 +0200
@@ -17,7 +17,7 @@
import json
import urllib
@@ -235,9 +235,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.40.1.orig/tests/test__exponential_backoff.py google_auth-2.40.1/tests/test__exponential_backoff.py
--- google_auth-2.40.1.orig/tests/test__exponential_backoff.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test__exponential_backoff.py 2025-05-19 15:07:30.176033185 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -247,23 +247,23 @@ 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
@@ -17,7 +17,7 @@
diff -Nru google_auth-2.40.1.orig/tests/test_external_account_authorized_user.py google_auth-2.40.1/tests/test_external_account_authorized_user.py
--- google_auth-2.40.1.orig/tests/test_external_account_authorized_user.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_external_account_authorized_user.py 2025-05-19 15:07:30.220600117 +0200
@@ -16,7 +16,7 @@
import http.client as http_client
import json
import os
-import mock
+from unittest import mock
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
@@ -18,7 +18,7 @@
import os
from google.auth import exceptions
diff -Nru google_auth-2.40.1.orig/tests/test_external_account.py google_auth-2.40.1/tests/test_external_account.py
--- google_auth-2.40.1.orig/tests/test_external_account.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_external_account.py 2025-05-19 15:07:30.176996435 +0200
@@ -17,7 +17,7 @@
import json
import urllib
-import mock
@@ -271,9 +271,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.40.1.orig/tests/test_iam.py google_auth-2.40.1/tests/test_iam.py
--- google_auth-2.40.1.orig/tests/test_iam.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_iam.py 2025-05-19 15:07:30.228143592 +0200
@@ -17,7 +17,7 @@
import http.client as http_client
import json
@@ -283,9 +283,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.40.1.orig/tests/test_identity_pool.py google_auth-2.40.1/tests/test_identity_pool.py
--- google_auth-2.40.1.orig/tests/test_identity_pool.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_identity_pool.py 2025-05-19 15:07:30.228800019 +0200
@@ -19,7 +19,7 @@
import os
import urllib
@@ -295,9 +295,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.40.1.orig/tests/test_impersonated_credentials.py google_auth-2.40.1/tests/test_impersonated_credentials.py
--- google_auth-2.40.1.orig/tests/test_impersonated_credentials.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_impersonated_credentials.py 2025-05-19 15:07:30.245366738 +0200
@@ -18,7 +18,7 @@
import json
import os
@@ -307,9 +307,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.40.1.orig/tests/test_jwt.py google_auth-2.40.1/tests/test_jwt.py
--- google_auth-2.40.1.orig/tests/test_jwt.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_jwt.py 2025-05-19 15:07:30.231135724 +0200
@@ -17,7 +17,7 @@
import json
import os
@@ -319,9 +319,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.40.1.orig/tests/test_metrics.py google_auth-2.40.1/tests/test_metrics.py
--- google_auth-2.40.1.orig/tests/test_metrics.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_metrics.py 2025-05-19 15:07:30.200402021 +0200
@@ -14,7 +14,7 @@
import platform
@@ -331,9 +331,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.40.1.orig/tests/test__oauth2client.py google_auth-2.40.1/tests/test__oauth2client.py
--- google_auth-2.40.1.orig/tests/test__oauth2client.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test__oauth2client.py 2025-05-19 15:07:30.194977430 +0200
@@ -17,7 +17,7 @@
import os
import sys
@@ -343,9 +343,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.40.1.orig/tests/test_pluggable.py google_auth-2.40.1/tests/test_pluggable.py
--- google_auth-2.40.1.orig/tests/test_pluggable.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test_pluggable.py 2025-05-19 15:07:30.246306653 +0200
@@ -16,7 +16,7 @@
import os
import subprocess
@@ -355,9 +355,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.40.1.orig/tests/test__refresh_worker.py google_auth-2.40.1/tests/test__refresh_worker.py
--- google_auth-2.40.1.orig/tests/test__refresh_worker.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/test__refresh_worker.py 2025-05-19 15:07:30.239830936 +0200
@@ -17,7 +17,7 @@
import threading
import time
@@ -367,9 +367,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.40.1.orig/tests/transport/aio/test_aiohttp.py google_auth-2.40.1/tests/transport/aio/test_aiohttp.py
--- google_auth-2.40.1.orig/tests/transport/aio/test_aiohttp.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/aio/test_aiohttp.py 2025-05-19 15:07:30.184078804 +0200
@@ -15,7 +15,7 @@
import asyncio
@@ -379,9 +379,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.40.1.orig/tests/transport/aio/test_sessions.py google_auth-2.40.1/tests/transport/aio/test_sessions.py
--- google_auth-2.40.1.orig/tests/transport/aio/test_sessions.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/aio/test_sessions.py 2025-05-19 15:07:30.182499004 +0200
@@ -16,7 +16,7 @@
from typing import AsyncGenerator
@@ -391,9 +391,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.40.1.orig/tests/transport/test__custom_tls_signer.py google_auth-2.40.1/tests/transport/test__custom_tls_signer.py
--- google_auth-2.40.1.orig/tests/transport/test__custom_tls_signer.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test__custom_tls_signer.py 2025-05-19 15:07:30.184931012 +0200
@@ -15,7 +15,7 @@
import ctypes
import os
@@ -403,9 +403,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.40.1.orig/tests/transport/test_grpc.py google_auth-2.40.1/tests/transport/test_grpc.py
--- google_auth-2.40.1.orig/tests/transport/test_grpc.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test_grpc.py 2025-05-19 15:07:30.186261579 +0200
@@ -16,7 +16,7 @@
import os
import time
@@ -415,9 +415,9 @@ 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
diff -Nru google_auth-2.40.1.orig/tests/transport/test__mtls_helper.py google_auth-2.40.1/tests/transport/test__mtls_helper.py
--- google_auth-2.40.1.orig/tests/transport/test__mtls_helper.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test__mtls_helper.py 2025-05-19 15:07:30.188192466 +0200
@@ -15,7 +15,7 @@
import os
import re
@@ -427,9 +427,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.40.1.orig/tests/transport/test_mtls.py google_auth-2.40.1/tests/transport/test_mtls.py
--- google_auth-2.40.1.orig/tests/transport/test_mtls.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test_mtls.py 2025-05-19 15:07:30.189699778 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -439,9 +439,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.40.1.orig/tests/transport/test_requests.py google_auth-2.40.1/tests/transport/test_requests.py
--- google_auth-2.40.1.orig/tests/transport/test_requests.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test_requests.py 2025-05-19 15:07:30.191274839 +0200
@@ -19,7 +19,7 @@
import sys
@@ -451,9 +451,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.40.1.orig/tests/transport/test_urllib3.py google_auth-2.40.1/tests/transport/test_urllib3.py
--- google_auth-2.40.1.orig/tests/transport/test_urllib3.py 2025-05-07 03:00:59.000000000 +0200
+++ google_auth-2.40.1/tests/transport/test_urllib3.py 2025-05-19 15:07:30.181238200 +0200
@@ -16,7 +16,7 @@
import os
import sys

View File

@@ -1,69 +1,3 @@
-------------------------------------------------------------------
Thu Nov 27 09:54:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream pytest9.patch to fix tests
-------------------------------------------------------------------
Mon Nov 10 09:08:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.43.0
* Add public wrapper for _mtls_helper.check_use_client_cert which
enables mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set,
when the MWID/X.509 cert sources detected (#1859) Add public
wrapper for check_use_client_cert which enables mTLS if
GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, when the MWID/X.509
cert sources detected. Also, fix check_use_client_cert to return
boolean value.
Change #1848 added the check_use_client_cert method that helps know
if client cert should be used for mTLS connection. However, that was
in a private class, thus, created a public wrapper of the same function
so that it can be used by python Client Libraries. Also, updated
check_use_client_cert to return a boolean value instead of existing
string value for better readability and future scope.
* Enable mTLS if GOOGLE_API_USE_CLIENT_CERTIFICATE is not set, if
the MWID/X.509 cert sources detected (#1848) The Python SDK will
use a hybrid approach for mTLS enablement:
* If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is set
(either true or false), the SDK will respect that setting. This is
necessary for test scenarios and users who need to explicitly control
mTLS behavior.
* If the GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is not
set, the SDK will automatically enable mTLS only if it detects Managed
Workload Identity (MWID) or X.509 Workforce Identity Federation (WIF)
certificate sources. In other cases where the variable is not set, mTLS
will remain disabled.
** This change also adds the helper method `check_use_client_cert` and
it's unit test, which will be used for checking the criteria for setting
the mTLS to true
** This change is only for Auth-Library, other changes will be created
for Client-Library use-cases.
* onboard `google-auth` to librarian (#1838) This PR onboards `google-auth`
library to the Librarian system.
-------------------------------------------------------------------
Mon Nov 3 12:35:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.42.1
* Catch ValueError for json.loads() (#1842)
- from version 2.42.0
* Add trust boundary support for external accounts. (#1809)
* Read scopes from ADC json for impersoanted cred (#1820)
- Refresh python-google-auth-no-mock.patch
-------------------------------------------------------------------
Thu Oct 9 14:33:25 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.41.1
* Suppress deprecation warning for ADC (#1815)
- from version 2.41.0
* Add support for cachetools 6.0 (#1773)
* Add trust boundary support for service accounts and impersonation. (#1778)
* Deprecating load_credentials_from_dict (58b66ec)
* Fix type error in credentials.py for python 3.7 and 3.8 (#1805)
* Update user guide to include x509 feature. (#1802)
- Refresh patches for new version
* python-google-auth-no-mock.patch
-------------------------------------------------------------------
Fri Jun 13 15:25:25 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-google-auth
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-google-auth
Version: 2.43.0
Version: 2.40.3
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}