1
0

Accepting request 1136757 from home:glaubitz:branches:devel:languages:python

- Update to 2.26.1
  * Ensure that refresh worker is pickle-able. (#1447)
- from version 2.26.0
  * Add optional non blocking refresh for sync auth code (a6dc2c3)
  * Add optional non blocking refresh for sync auth code (#1368)
  * External account user cred universe domain support (#1437)
  * Guard delete statements. Add default fallback for _use_non_blocking_refresh. (#1445)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1136757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=80
This commit is contained in:
Markéta Machová 2024-01-04 10:40:39 +00:00 committed by Git OBS Bridge
parent 83f72f0c12
commit e009efa82e
5 changed files with 163 additions and 159 deletions

BIN
google-auth-2.25.2.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54385acca5c0fbdda510cd8585ba6f3fcb06eeecf8a6ecca39d3ee148b092590
size 238839

View File

@ -1,7 +1,6 @@
Index: google-auth-2.23.0/tests/compute_engine/test_credentials.py
===================================================================
--- google-auth-2.23.0.orig/tests/compute_engine/test_credentials.py
+++ google-auth-2.23.0/tests/compute_engine/test_credentials.py
diff -Nru google-auth-2.26.1.orig/tests/compute_engine/test_credentials.py google-auth-2.26.1/tests/compute_engine/test_credentials.py
--- google-auth-2.26.1.orig/tests/compute_engine/test_credentials.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/compute_engine/test_credentials.py 2024-01-04 10:40:25.973375772 +0100
@@ -14,7 +14,7 @@
import base64
import datetime
@ -11,11 +10,10 @@ Index: google-auth-2.23.0/tests/compute_engine/test_credentials.py
import pytest # type: ignore
import responses # type: ignore
Index: google-auth-2.23.0/tests/compute_engine/test__metadata.py
===================================================================
--- google-auth-2.23.0.orig/tests/compute_engine/test__metadata.py
+++ google-auth-2.23.0/tests/compute_engine/test__metadata.py
@@ -18,7 +18,7 @@ import importlib
diff -Nru google-auth-2.26.1.orig/tests/compute_engine/test__metadata.py google-auth-2.26.1/tests/compute_engine/test__metadata.py
--- google-auth-2.26.1.orig/tests/compute_engine/test__metadata.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/compute_engine/test__metadata.py 2024-01-04 10:40:25.976709143 +0100
@@ -18,7 +18,7 @@
import json
import os
@ -24,10 +22,9 @@ Index: google-auth-2.23.0/tests/compute_engine/test__metadata.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/conftest.py
===================================================================
--- google-auth-2.23.0.orig/tests/conftest.py
+++ google-auth-2.23.0/tests/conftest.py
diff -Nru google-auth-2.26.1.orig/tests/conftest.py google-auth-2.26.1/tests/conftest.py
--- google-auth-2.26.1.orig/tests/conftest.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/conftest.py 2024-01-04 10:40:25.873374649 +0100
@@ -15,7 +15,7 @@
import os
import sys
@ -37,11 +34,10 @@ Index: google-auth-2.23.0/tests/conftest.py
import pytest # type: ignore
Index: google-auth-2.23.0/tests/crypt/test__python_rsa.py
===================================================================
--- google-auth-2.23.0.orig/tests/crypt/test__python_rsa.py
+++ google-auth-2.23.0/tests/crypt/test__python_rsa.py
@@ -16,7 +16,7 @@ import io
diff -Nru google-auth-2.26.1.orig/tests/crypt/test__python_rsa.py google-auth-2.26.1/tests/crypt/test__python_rsa.py
--- google-auth-2.26.1.orig/tests/crypt/test__python_rsa.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/crypt/test__python_rsa.py 2024-01-04 10:40:26.013376222 +0100
@@ -16,7 +16,7 @@
import json
import os
@ -50,10 +46,9 @@ Index: google-auth-2.23.0/tests/crypt/test__python_rsa.py
from pyasn1_modules import pem # type: ignore
import pytest # type: ignore
import rsa # type: ignore
Index: google-auth-2.23.0/tests/oauth2/test_challenges.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_challenges.py
+++ google-auth-2.23.0/tests/oauth2/test_challenges.py
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_challenges.py google-auth-2.26.1/tests/oauth2/test_challenges.py
--- google-auth-2.26.1.orig/tests/oauth2/test_challenges.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_challenges.py 2024-01-04 10:40:25.953375548 +0100
@@ -17,7 +17,7 @@
import base64
import sys
@ -63,11 +58,10 @@ Index: google-auth-2.23.0/tests/oauth2/test_challenges.py
import pytest # type: ignore
import pyu2f # type: ignore
Index: google-auth-2.23.0/tests/oauth2/test__client.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test__client.py
+++ google-auth-2.23.0/tests/oauth2/test__client.py
@@ -18,7 +18,7 @@ import json
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test__client.py google-auth-2.26.1/tests/oauth2/test__client.py
--- google-auth-2.26.1.orig/tests/oauth2/test__client.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test__client.py 2024-01-04 10:40:25.940042064 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@ -76,11 +70,10 @@ Index: google-auth-2.23.0/tests/oauth2/test__client.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/oauth2/test_credentials.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_credentials.py
+++ google-auth-2.23.0/tests/oauth2/test_credentials.py
@@ -18,7 +18,7 @@ import os
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_credentials.py google-auth-2.26.1/tests/oauth2/test_credentials.py
--- google-auth-2.26.1.orig/tests/oauth2/test_credentials.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_credentials.py 2024-01-04 10:40:25.946708806 +0100
@@ -18,7 +18,7 @@
import pickle
import sys
@ -89,11 +82,10 @@ Index: google-auth-2.23.0/tests/oauth2/test_credentials.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/oauth2/test_gdch_credentials.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_gdch_credentials.py
+++ google-auth-2.23.0/tests/oauth2/test_gdch_credentials.py
@@ -17,7 +17,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_gdch_credentials.py google-auth-2.26.1/tests/oauth2/test_gdch_credentials.py
--- google-auth-2.26.1.orig/tests/oauth2/test_gdch_credentials.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_gdch_credentials.py 2024-01-04 10:40:25.930041952 +0100
@@ -17,7 +17,7 @@
import json
import os
@ -102,10 +94,9 @@ Index: google-auth-2.23.0/tests/oauth2/test_gdch_credentials.py
import pytest # type: ignore
import requests
Index: google-auth-2.23.0/tests/oauth2/test_id_token.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_id_token.py
+++ google-auth-2.23.0/tests/oauth2/test_id_token.py
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_id_token.py google-auth-2.26.1/tests/oauth2/test_id_token.py
--- google-auth-2.26.1.orig/tests/oauth2/test_id_token.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_id_token.py 2024-01-04 10:40:25.936708693 +0100
@@ -15,7 +15,7 @@
import json
import os
@ -115,10 +106,9 @@ Index: google-auth-2.23.0/tests/oauth2/test_id_token.py
import pytest # type: ignore
from google.auth import environment_vars
Index: google-auth-2.23.0/tests/oauth2/test_reauth.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_reauth.py
+++ google-auth-2.23.0/tests/oauth2/test_reauth.py
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_reauth.py google-auth-2.26.1/tests/oauth2/test_reauth.py
--- google-auth-2.26.1.orig/tests/oauth2/test_reauth.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_reauth.py 2024-01-04 10:40:25.950042176 +0100
@@ -14,7 +14,7 @@
import copy
@ -128,11 +118,10 @@ Index: google-auth-2.23.0/tests/oauth2/test_reauth.py
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.23.0/tests/oauth2/test_service_account.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_service_account.py
+++ google-auth-2.23.0/tests/oauth2/test_service_account.py
@@ -16,7 +16,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_service_account.py google-auth-2.26.1/tests/oauth2/test_service_account.py
--- google-auth-2.26.1.orig/tests/oauth2/test_service_account.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_service_account.py 2024-01-04 10:40:25.943375435 +0100
@@ -16,7 +16,7 @@
import json
import os
@ -141,11 +130,10 @@ Index: google-auth-2.23.0/tests/oauth2/test_service_account.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/oauth2/test_sts.py
===================================================================
--- google-auth-2.23.0.orig/tests/oauth2/test_sts.py
+++ google-auth-2.23.0/tests/oauth2/test_sts.py
@@ -16,7 +16,7 @@ import http.client as http_client
diff -Nru google-auth-2.26.1.orig/tests/oauth2/test_sts.py google-auth-2.26.1/tests/oauth2/test_sts.py
--- google-auth-2.26.1.orig/tests/oauth2/test_sts.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/oauth2/test_sts.py 2024-01-04 10:40:25.956708918 +0100
@@ -16,7 +16,7 @@
import json
import urllib
@ -154,10 +142,9 @@ Index: google-auth-2.23.0/tests/oauth2/test_sts.py
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.23.0/tests/test_app_engine.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_app_engine.py
+++ google-auth-2.23.0/tests/test_app_engine.py
diff -Nru google-auth-2.26.1.orig/tests/test_app_engine.py google-auth-2.26.1/tests/test_app_engine.py
--- google-auth-2.26.1.orig/tests/test_app_engine.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_app_engine.py 2024-01-04 10:40:25.906708356 +0100
@@ -14,7 +14,7 @@
import datetime
@ -167,11 +154,10 @@ Index: google-auth-2.23.0/tests/test_app_engine.py
import pytest # type: ignore
from google.auth import app_engine
Index: google-auth-2.23.0/tests/test_aws.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_aws.py
+++ google-auth-2.23.0/tests/test_aws.py
@@ -18,7 +18,7 @@ import json
diff -Nru google-auth-2.26.1.orig/tests/test_aws.py google-auth-2.26.1/tests/test_aws.py
--- google-auth-2.26.1.orig/tests/test_aws.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_aws.py 2024-01-04 10:40:26.040043188 +0100
@@ -18,7 +18,7 @@
import os
import urllib.parse
@ -180,11 +166,10 @@ Index: google-auth-2.23.0/tests/test_aws.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test__cloud_sdk.py
===================================================================
--- google-auth-2.23.0.orig/tests/test__cloud_sdk.py
+++ google-auth-2.23.0/tests/test__cloud_sdk.py
@@ -18,7 +18,7 @@ import os
diff -Nru google-auth-2.26.1.orig/tests/test__cloud_sdk.py google-auth-2.26.1/tests/test__cloud_sdk.py
--- google-auth-2.26.1.orig/tests/test__cloud_sdk.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test__cloud_sdk.py 2024-01-04 10:40:25.920041839 +0100
@@ -18,7 +18,7 @@
import subprocess
import sys
@ -193,10 +178,21 @@ Index: google-auth-2.23.0/tests/test__cloud_sdk.py
import pytest # type: ignore
from google.auth import _cloud_sdk
Index: google-auth-2.23.0/tests/test__default.py
===================================================================
--- google-auth-2.23.0.orig/tests/test__default.py
+++ google-auth-2.23.0/tests/test__default.py
diff -Nru google-auth-2.26.1.orig/tests/test_credentials.py google-auth-2.26.1/tests/test_credentials.py
--- google-auth-2.26.1.orig/tests/test_credentials.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_credentials.py 2024-01-04 10:40:25.960042289 +0100
@@ -14,7 +14,7 @@
import datetime
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
diff -Nru google-auth-2.26.1.orig/tests/test__default.py google-auth-2.26.1/tests/test__default.py
--- google-auth-2.26.1.orig/tests/test__default.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test__default.py 2024-01-04 10:40:25.963375660 +0100
@@ -15,7 +15,7 @@
import json
import os
@ -206,11 +202,10 @@ Index: google-auth-2.23.0/tests/test__default.py
import pytest # type: ignore
from google.auth import _default
Index: google-auth-2.23.0/tests/test_downscoped.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_downscoped.py
+++ google-auth-2.23.0/tests/test_downscoped.py
@@ -17,7 +17,7 @@ import http.client as http_client
diff -Nru google-auth-2.26.1.orig/tests/test_downscoped.py google-auth-2.26.1/tests/test_downscoped.py
--- google-auth-2.26.1.orig/tests/test_downscoped.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_downscoped.py 2024-01-04 10:40:25.966709030 +0100
@@ -17,7 +17,7 @@
import json
import urllib
@ -219,10 +214,9 @@ Index: google-auth-2.23.0/tests/test_downscoped.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test__exponential_backoff.py
===================================================================
--- google-auth-2.23.0.orig/tests/test__exponential_backoff.py
+++ google-auth-2.23.0/tests/test__exponential_backoff.py
diff -Nru google-auth-2.26.1.orig/tests/test__exponential_backoff.py google-auth-2.26.1/tests/test__exponential_backoff.py
--- google-auth-2.26.1.orig/tests/test__exponential_backoff.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test__exponential_backoff.py 2024-01-04 10:40:25.863374536 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@ -232,11 +226,10 @@ Index: google-auth-2.23.0/tests/test__exponential_backoff.py
from google.auth import _exponential_backoff
Index: google-auth-2.23.0/tests/test_external_account_authorized_user.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_external_account_authorized_user.py
+++ google-auth-2.23.0/tests/test_external_account_authorized_user.py
@@ -16,7 +16,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/test_external_account_authorized_user.py google-auth-2.26.1/tests/test_external_account_authorized_user.py
--- google-auth-2.26.1.orig/tests/test_external_account_authorized_user.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_external_account_authorized_user.py 2024-01-04 10:40:25.963375660 +0100
@@ -16,7 +16,7 @@
import http.client as http_client
import json
@ -245,11 +238,10 @@ Index: google-auth-2.23.0/tests/test_external_account_authorized_user.py
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.23.0/tests/test_external_account.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_external_account.py
+++ google-auth-2.23.0/tests/test_external_account.py
@@ -17,7 +17,7 @@ import http.client as http_client
diff -Nru google-auth-2.26.1.orig/tests/test_external_account.py google-auth-2.26.1/tests/test_external_account.py
--- google-auth-2.26.1.orig/tests/test_external_account.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_external_account.py 2024-01-04 10:40:25.866707907 +0100
@@ -17,7 +17,7 @@
import json
import urllib
@ -258,11 +250,10 @@ Index: google-auth-2.23.0/tests/test_external_account.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test_iam.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_iam.py
+++ google-auth-2.23.0/tests/test_iam.py
@@ -17,7 +17,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/test_iam.py google-auth-2.26.1/tests/test_iam.py
--- google-auth-2.26.1.orig/tests/test_iam.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_iam.py 2024-01-04 10:40:25.983375885 +0100
@@ -17,7 +17,7 @@
import http.client as http_client
import json
@ -271,11 +262,10 @@ Index: google-auth-2.23.0/tests/test_iam.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test_identity_pool.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_identity_pool.py
+++ google-auth-2.23.0/tests/test_identity_pool.py
@@ -18,7 +18,7 @@ import json
diff -Nru google-auth-2.26.1.orig/tests/test_identity_pool.py google-auth-2.26.1/tests/test_identity_pool.py
--- google-auth-2.26.1.orig/tests/test_identity_pool.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_identity_pool.py 2024-01-04 10:40:25.990042626 +0100
@@ -18,7 +18,7 @@
import os
import urllib
@ -284,11 +274,10 @@ Index: google-auth-2.23.0/tests/test_identity_pool.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test_impersonated_credentials.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_impersonated_credentials.py
+++ google-auth-2.23.0/tests/test_impersonated_credentials.py
@@ -17,7 +17,7 @@ import http.client as http_client
diff -Nru google-auth-2.26.1.orig/tests/test_impersonated_credentials.py google-auth-2.26.1/tests/test_impersonated_credentials.py
--- google-auth-2.26.1.orig/tests/test_impersonated_credentials.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_impersonated_credentials.py 2024-01-04 10:40:26.030043076 +0100
@@ -17,7 +17,7 @@
import json
import os
@ -297,11 +286,10 @@ Index: google-auth-2.23.0/tests/test_impersonated_credentials.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test_jwt.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_jwt.py
+++ google-auth-2.23.0/tests/test_jwt.py
@@ -17,7 +17,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/test_jwt.py google-auth-2.26.1/tests/test_jwt.py
--- google-auth-2.26.1.orig/tests/test_jwt.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_jwt.py 2024-01-04 10:40:25.993375997 +0100
@@ -17,7 +17,7 @@
import json
import os
@ -310,10 +298,9 @@ Index: google-auth-2.23.0/tests/test_jwt.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/test_metrics.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_metrics.py
+++ google-auth-2.23.0/tests/test_metrics.py
diff -Nru google-auth-2.26.1.orig/tests/test_metrics.py google-auth-2.26.1/tests/test_metrics.py
--- google-auth-2.26.1.orig/tests/test_metrics.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_metrics.py 2024-01-04 10:40:25.926708581 +0100
@@ -14,7 +14,7 @@
import platform
@ -323,11 +310,10 @@ Index: google-auth-2.23.0/tests/test_metrics.py
from google.auth import metrics
from google.auth import version
Index: google-auth-2.23.0/tests/test__oauth2client.py
===================================================================
--- google-auth-2.23.0.orig/tests/test__oauth2client.py
+++ google-auth-2.23.0/tests/test__oauth2client.py
@@ -17,7 +17,7 @@ import importlib
diff -Nru google-auth-2.26.1.orig/tests/test__oauth2client.py google-auth-2.26.1/tests/test__oauth2client.py
--- google-auth-2.26.1.orig/tests/test__oauth2client.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test__oauth2client.py 2024-01-04 10:40:25.910041727 +0100
@@ -17,7 +17,7 @@
import os
import sys
@ -336,11 +322,10 @@ Index: google-auth-2.23.0/tests/test__oauth2client.py
import pytest # type: ignore
try:
Index: google-auth-2.23.0/tests/test_pluggable.py
===================================================================
--- google-auth-2.23.0.orig/tests/test_pluggable.py
+++ google-auth-2.23.0/tests/test_pluggable.py
@@ -16,7 +16,7 @@ import json
diff -Nru google-auth-2.26.1.orig/tests/test_pluggable.py google-auth-2.26.1/tests/test_pluggable.py
--- google-auth-2.26.1.orig/tests/test_pluggable.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test_pluggable.py 2024-01-04 10:40:26.033376446 +0100
@@ -16,7 +16,7 @@
import os
import subprocess
@ -349,11 +334,22 @@ Index: google-auth-2.23.0/tests/test_pluggable.py
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.23.0/tests/transport/test__custom_tls_signer.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test__custom_tls_signer.py
+++ google-auth-2.23.0/tests/transport/test__custom_tls_signer.py
@@ -16,7 +16,7 @@ import base64
diff -Nru google-auth-2.26.1.orig/tests/test__refresh_worker.py google-auth-2.26.1/tests/test__refresh_worker.py
--- google-auth-2.26.1.orig/tests/test__refresh_worker.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/test__refresh_worker.py 2024-01-04 10:40:26.016709592 +0100
@@ -17,7 +17,7 @@
import threading
import time
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _refresh_worker, credentials, exceptions
diff -Nru google-auth-2.26.1.orig/tests/transport/test__custom_tls_signer.py google-auth-2.26.1/tests/transport/test__custom_tls_signer.py
--- google-auth-2.26.1.orig/tests/transport/test__custom_tls_signer.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test__custom_tls_signer.py 2024-01-04 10:40:25.880041390 +0100
@@ -15,7 +15,7 @@
import ctypes
import os
@ -362,11 +358,10 @@ Index: google-auth-2.23.0/tests/transport/test__custom_tls_signer.py
import pytest # type: ignore
from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
import urllib3.contrib.pyopenssl # type: ignore
Index: google-auth-2.23.0/tests/transport/test_grpc.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test_grpc.py
+++ google-auth-2.23.0/tests/transport/test_grpc.py
@@ -16,7 +16,7 @@ import datetime
diff -Nru google-auth-2.26.1.orig/tests/transport/test_grpc.py google-auth-2.26.1/tests/transport/test_grpc.py
--- google-auth-2.26.1.orig/tests/transport/test_grpc.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test_grpc.py 2024-01-04 10:40:25.883374761 +0100
@@ -16,7 +16,7 @@
import os
import time
@ -375,10 +370,9 @@ Index: google-auth-2.23.0/tests/transport/test_grpc.py
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.23.0/tests/transport/test__mtls_helper.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test__mtls_helper.py
+++ google-auth-2.23.0/tests/transport/test__mtls_helper.py
diff -Nru google-auth-2.26.1.orig/tests/transport/test__mtls_helper.py google-auth-2.26.1/tests/transport/test__mtls_helper.py
--- google-auth-2.26.1.orig/tests/transport/test__mtls_helper.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test__mtls_helper.py 2024-01-04 10:40:25.890041502 +0100
@@ -15,7 +15,7 @@
import os
import re
@ -388,10 +382,9 @@ Index: google-auth-2.23.0/tests/transport/test__mtls_helper.py
from OpenSSL import crypto
import pytest # type: ignore
Index: google-auth-2.23.0/tests/transport/test_mtls.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test_mtls.py
+++ google-auth-2.23.0/tests/transport/test_mtls.py
diff -Nru google-auth-2.26.1.orig/tests/transport/test_mtls.py google-auth-2.26.1/tests/transport/test_mtls.py
--- google-auth-2.26.1.orig/tests/transport/test_mtls.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test_mtls.py 2024-01-04 10:40:25.893374873 +0100
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@ -401,11 +394,10 @@ Index: google-auth-2.23.0/tests/transport/test_mtls.py
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.23.0/tests/transport/test_requests.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test_requests.py
+++ google-auth-2.23.0/tests/transport/test_requests.py
@@ -19,7 +19,7 @@ import os
diff -Nru google-auth-2.26.1.orig/tests/transport/test_requests.py google-auth-2.26.1/tests/transport/test_requests.py
--- google-auth-2.26.1.orig/tests/transport/test_requests.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test_requests.py 2024-01-04 10:40:25.896708244 +0100
@@ -19,7 +19,7 @@
import sys
import freezegun
@ -414,11 +406,10 @@ Index: google-auth-2.23.0/tests/transport/test_requests.py
import OpenSSL
import pytest # type: ignore
import requests
Index: google-auth-2.23.0/tests/transport/test_urllib3.py
===================================================================
--- google-auth-2.23.0.orig/tests/transport/test_urllib3.py
+++ google-auth-2.23.0/tests/transport/test_urllib3.py
@@ -16,7 +16,7 @@ import http.client as http_client
diff -Nru google-auth-2.26.1.orig/tests/transport/test_urllib3.py google-auth-2.26.1/tests/transport/test_urllib3.py
--- google-auth-2.26.1.orig/tests/transport/test_urllib3.py 2024-01-03 23:49:22.000000000 +0100
+++ google-auth-2.26.1/tests/transport/test_urllib3.py 2024-01-04 10:40:25.876708019 +0100
@@ -16,7 +16,7 @@
import os
import sys

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jan 4 09:50:33 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.26.1
* Ensure that refresh worker is pickle-able. (#1447)
- from version 2.26.0
* Add optional non blocking refresh for sync auth code (a6dc2c3)
* Add optional non blocking refresh for sync auth code (#1368)
* External account user cred universe domain support (#1437)
* Guard delete statements. Add default fallback for _use_non_blocking_refresh. (#1445)
- Refresh patches for new version
* python-google-auth-no-mock.patch
-------------------------------------------------------------------
Sat Dec 16 19:27:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-auth
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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.25.2
Version: 2.26.1
Release: 0
Summary: Google Authentication Library
License: Apache-2.0