diff --git a/google-auth-2.25.2.tar.gz b/google-auth-2.25.2.tar.gz deleted file mode 100644 index 2c6569e..0000000 --- a/google-auth-2.25.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42f707937feb4f5e5a39e6c4f343a17300a459aaf03141457ba505812841cc40 -size 235648 diff --git a/google_auth-2.35.0.tar.gz b/google_auth-2.35.0.tar.gz new file mode 100644 index 0000000..1819b0b --- /dev/null +++ b/google_auth-2.35.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4c64ed4e01e8e8b646ef34c018f8bf3338df0c8e37d8b3bba40e7f574a3278a +size 267223 diff --git a/python-google-auth-no-mock.patch b/python-google-auth-no-mock.patch index b279649..ac70e33 100644 --- a/python-google-auth-no-mock.patch +++ b/python-google-auth-no-mock.patch @@ -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.35.0.orig/tests/compute_engine/test_credentials.py google_auth-2.35.0/tests/compute_engine/test_credentials.py +--- google_auth-2.35.0.orig/tests/compute_engine/test_credentials.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/compute_engine/test_credentials.py 2024-10-01 14:18:31.093500346 +0000 @@ -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.35.0.orig/tests/compute_engine/test__metadata.py google_auth-2.35.0/tests/compute_engine/test__metadata.py +--- google_auth-2.35.0.orig/tests/compute_engine/test__metadata.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/compute_engine/test__metadata.py 2024-10-01 14:18:31.085500296 +0000 +@@ -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.35.0.orig/tests/conftest.py google_auth-2.35.0/tests/conftest.py +--- google_auth-2.35.0.orig/tests/conftest.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/conftest.py 2024-10-01 14:18:31.113500470 +0000 @@ -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.35.0.orig/tests/crypt/test__python_rsa.py google_auth-2.35.0/tests/crypt/test__python_rsa.py +--- google_auth-2.35.0.orig/tests/crypt/test__python_rsa.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/crypt/test__python_rsa.py 2024-10-01 14:18:31.121500521 +0000 +@@ -16,7 +16,7 @@ import json import os @@ -50,12 +46,11 @@ 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 -@@ -17,7 +17,7 @@ - import base64 +diff -Nru google_auth-2.35.0.orig/tests/oauth2/test_challenges.py google_auth-2.35.0/tests/oauth2/test_challenges.py +--- google_auth-2.35.0.orig/tests/oauth2/test_challenges.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_challenges.py 2024-10-01 14:18:31.137500621 +0000 +@@ -18,7 +18,7 @@ + import os import sys -import mock @@ -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.35.0.orig/tests/oauth2/test__client.py google_auth-2.35.0/tests/oauth2/test__client.py +--- google_auth-2.35.0.orig/tests/oauth2/test__client.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test__client.py 2024-10-01 14:18:31.137500621 +0000 +@@ -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.35.0.orig/tests/oauth2/test_credentials.py google_auth-2.35.0/tests/oauth2/test_credentials.py +--- google_auth-2.35.0.orig/tests/oauth2/test_credentials.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_credentials.py 2024-10-01 14:18:31.137500621 +0000 +@@ -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.35.0.orig/tests/oauth2/test_gdch_credentials.py google_auth-2.35.0/tests/oauth2/test_gdch_credentials.py +--- google_auth-2.35.0.orig/tests/oauth2/test_gdch_credentials.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_gdch_credentials.py 2024-10-01 14:18:31.141500645 +0000 +@@ -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.35.0.orig/tests/oauth2/test_id_token.py google_auth-2.35.0/tests/oauth2/test_id_token.py +--- google_auth-2.35.0.orig/tests/oauth2/test_id_token.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_id_token.py 2024-10-01 14:18:31.141500645 +0000 @@ -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.35.0.orig/tests/oauth2/test_reauth.py google_auth-2.35.0/tests/oauth2/test_reauth.py +--- google_auth-2.35.0.orig/tests/oauth2/test_reauth.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_reauth.py 2024-10-01 14:18:31.141500645 +0000 @@ -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.35.0.orig/tests/oauth2/test_service_account.py google_auth-2.35.0/tests/oauth2/test_service_account.py +--- google_auth-2.35.0.orig/tests/oauth2/test_service_account.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_service_account.py 2024-10-01 14:18:31.145500670 +0000 +@@ -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.35.0.orig/tests/oauth2/test_sts.py google_auth-2.35.0/tests/oauth2/test_sts.py +--- google_auth-2.35.0.orig/tests/oauth2/test_sts.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_sts.py 2024-10-01 14:18:31.145500670 +0000 +@@ -16,7 +16,7 @@ import json import urllib @@ -154,10 +142,30 @@ 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.35.0.orig/tests/oauth2/test_webauthn_handler_factory.py google_auth-2.35.0/tests/oauth2/test_webauthn_handler_factory.py +--- google_auth-2.35.0.orig/tests/oauth2/test_webauthn_handler_factory.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_webauthn_handler_factory.py 2024-10-01 14:18:31.149500695 +0000 +@@ -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.35.0.orig/tests/oauth2/test_webauthn_handler.py google_auth-2.35.0/tests/oauth2/test_webauthn_handler.py +--- google_auth-2.35.0.orig/tests/oauth2/test_webauthn_handler.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/oauth2/test_webauthn_handler.py 2024-10-01 14:18:31.145500670 +0000 +@@ -1,7 +1,7 @@ + import json + import struct + +-import mock ++from unittest import mock + import pytest # type: ignore + + from google.auth import exceptions +diff -Nru google_auth-2.35.0.orig/tests/test_app_engine.py google_auth-2.35.0/tests/test_app_engine.py +--- google_auth-2.35.0.orig/tests/test_app_engine.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_app_engine.py 2024-10-01 14:18:31.217501119 +0000 @@ -14,7 +14,7 @@ import datetime @@ -167,11 +175,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.35.0.orig/tests/test_aws.py google_auth-2.35.0/tests/test_aws.py +--- google_auth-2.35.0.orig/tests/test_aws.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_aws.py 2024-10-01 14:18:31.233501219 +0000 +@@ -18,7 +18,7 @@ import os import urllib.parse @@ -179,12 +186,11 @@ Index: google-auth-2.23.0/tests/test_aws.py +from unittest import mock 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 + from google.auth import _helpers, external_account +diff -Nru google_auth-2.35.0.orig/tests/test__cloud_sdk.py google_auth-2.35.0/tests/test__cloud_sdk.py +--- google_auth-2.35.0.orig/tests/test__cloud_sdk.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test__cloud_sdk.py 2024-10-01 14:18:31.149500695 +0000 +@@ -18,7 +18,7 @@ import subprocess import sys @@ -193,10 +199,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.35.0.orig/tests/test_credentials.py google_auth-2.35.0/tests/test_credentials.py +--- google_auth-2.35.0.orig/tests/test_credentials.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_credentials.py 2024-10-01 14:18:31.253501344 +0000 +@@ -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.35.0.orig/tests/test__default.py google_auth-2.35.0/tests/test__default.py +--- google_auth-2.35.0.orig/tests/test__default.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test__default.py 2024-10-01 14:18:31.153500720 +0000 @@ -15,7 +15,7 @@ import json import os @@ -206,11 +223,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.35.0.orig/tests/test_downscoped.py google_auth-2.35.0/tests/test_downscoped.py +--- google_auth-2.35.0.orig/tests/test_downscoped.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_downscoped.py 2024-10-01 14:18:31.293501594 +0000 +@@ -17,7 +17,7 @@ import json import urllib @@ -219,24 +235,22 @@ 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.35.0.orig/tests/test__exponential_backoff.py google_auth-2.35.0/tests/test__exponential_backoff.py +--- google_auth-2.35.0.orig/tests/test__exponential_backoff.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test__exponential_backoff.py 2024-10-01 14:18:31.165500795 +0000 @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import mock +from unittest import mock + import pytest # type: ignore 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.35.0.orig/tests/test_external_account_authorized_user.py google_auth-2.35.0/tests/test_external_account_authorized_user.py +--- google_auth-2.35.0.orig/tests/test_external_account_authorized_user.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_external_account_authorized_user.py 2024-10-01 14:18:31.337501868 +0000 +@@ -16,7 +16,7 @@ import http.client as http_client import json @@ -245,11 +259,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.35.0.orig/tests/test_external_account.py google_auth-2.35.0/tests/test_external_account.py +--- google_auth-2.35.0.orig/tests/test_external_account.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_external_account.py 2024-10-01 14:18:31.317501743 +0000 +@@ -17,7 +17,7 @@ import json import urllib @@ -258,11 +271,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.35.0.orig/tests/test_iam.py google_auth-2.35.0/tests/test_iam.py +--- google_auth-2.35.0.orig/tests/test_iam.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_iam.py 2024-10-01 14:18:31.349501943 +0000 +@@ -17,7 +17,7 @@ import http.client as http_client import json @@ -271,11 +283,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.35.0.orig/tests/test_identity_pool.py google_auth-2.35.0/tests/test_identity_pool.py +--- google_auth-2.35.0.orig/tests/test_identity_pool.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_identity_pool.py 2024-10-01 14:18:31.357501992 +0000 +@@ -18,7 +18,7 @@ import os import urllib @@ -283,12 +294,11 @@ Index: google-auth-2.23.0/tests/test_identity_pool.py +from unittest import mock 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 + from google.auth import _helpers, external_account +diff -Nru google_auth-2.35.0.orig/tests/test_impersonated_credentials.py google_auth-2.35.0/tests/test_impersonated_credentials.py +--- google_auth-2.35.0.orig/tests/test_impersonated_credentials.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_impersonated_credentials.py 2024-10-01 14:18:31.377502117 +0000 +@@ -17,7 +17,7 @@ import json import os @@ -297,11 +307,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.35.0.orig/tests/test_jwt.py google_auth-2.35.0/tests/test_jwt.py +--- google_auth-2.35.0.orig/tests/test_jwt.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_jwt.py 2024-10-01 14:18:31.389502192 +0000 +@@ -17,7 +17,7 @@ import json import os @@ -310,10 +319,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.35.0.orig/tests/test_metrics.py google_auth-2.35.0/tests/test_metrics.py +--- google_auth-2.35.0.orig/tests/test_metrics.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_metrics.py 2024-10-01 14:18:31.397502242 +0000 @@ -14,7 +14,7 @@ import platform @@ -323,11 +331,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.35.0.orig/tests/test__oauth2client.py google_auth-2.35.0/tests/test__oauth2client.py +--- google_auth-2.35.0.orig/tests/test__oauth2client.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test__oauth2client.py 2024-10-01 14:18:31.169500820 +0000 +@@ -17,7 +17,7 @@ import os import sys @@ -336,11 +343,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.35.0.orig/tests/test_pluggable.py google_auth-2.35.0/tests/test_pluggable.py +--- google_auth-2.35.0.orig/tests/test_pluggable.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test_pluggable.py 2024-10-01 14:18:31.417502367 +0000 +@@ -16,7 +16,7 @@ import os import subprocess @@ -349,11 +355,46 @@ 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.35.0.orig/tests/test__refresh_worker.py google_auth-2.35.0/tests/test__refresh_worker.py +--- google_auth-2.35.0.orig/tests/test__refresh_worker.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/test__refresh_worker.py 2024-10-01 14:18:31.173500845 +0000 +@@ -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.35.0.orig/tests/transport/aio/test_aiohttp.py google_auth-2.35.0/tests/transport/aio/test_aiohttp.py +--- google_auth-2.35.0.orig/tests/transport/aio/test_aiohttp.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/aio/test_aiohttp.py 2024-10-01 14:18:31.453502591 +0000 +@@ -15,7 +15,7 @@ + import asyncio + + from aioresponses import aioresponses # type: ignore +-from mock import AsyncMock, Mock, patch ++from unittest.mock import AsyncMock, Mock, patch + import pytest # type: ignore + import pytest_asyncio # type: ignore + +diff -Nru google_auth-2.35.0.orig/tests/transport/aio/test_sessions.py google_auth-2.35.0/tests/transport/aio/test_sessions.py +--- google_auth-2.35.0.orig/tests/transport/aio/test_sessions.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/aio/test_sessions.py 2024-10-01 14:18:31.465502666 +0000 +@@ -16,7 +16,7 @@ + from typing import AsyncGenerator + + from aioresponses import aioresponses # type: ignore +-from mock import Mock, patch ++from unittest.mock import Mock, patch + import pytest # type: ignore + + from google.auth.aio.credentials import AnonymousCredentials +diff -Nru google_auth-2.35.0.orig/tests/transport/test__custom_tls_signer.py google_auth-2.35.0/tests/transport/test__custom_tls_signer.py +--- google_auth-2.35.0.orig/tests/transport/test__custom_tls_signer.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test__custom_tls_signer.py 2024-10-01 14:18:31.493502841 +0000 +@@ -15,7 +15,7 @@ import ctypes import os @@ -362,11 +403,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.35.0.orig/tests/transport/test_grpc.py google_auth-2.35.0/tests/transport/test_grpc.py +--- google_auth-2.35.0.orig/tests/transport/test_grpc.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test_grpc.py 2024-10-01 14:18:31.529503065 +0000 +@@ -16,7 +16,7 @@ import os import time @@ -375,10 +415,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.35.0.orig/tests/transport/test__mtls_helper.py google_auth-2.35.0/tests/transport/test__mtls_helper.py +--- google_auth-2.35.0.orig/tests/transport/test__mtls_helper.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test__mtls_helper.py 2024-10-01 14:18:31.513502965 +0000 @@ -15,7 +15,7 @@ import os import re @@ -388,10 +427,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.35.0.orig/tests/transport/test_mtls.py google_auth-2.35.0/tests/transport/test_mtls.py +--- google_auth-2.35.0.orig/tests/transport/test_mtls.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test_mtls.py 2024-10-01 14:18:31.549503190 +0000 @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. @@ -401,11 +439,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.35.0.orig/tests/transport/test_requests.py google_auth-2.35.0/tests/transport/test_requests.py +--- google_auth-2.35.0.orig/tests/transport/test_requests.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test_requests.py 2024-10-01 14:18:31.561503265 +0000 +@@ -19,7 +19,7 @@ import sys import freezegun @@ -414,11 +451,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.35.0.orig/tests/transport/test_urllib3.py google_auth-2.35.0/tests/transport/test_urllib3.py +--- google_auth-2.35.0.orig/tests/transport/test_urllib3.py 2024-09-19 18:05:39.000000000 +0000 ++++ google_auth-2.35.0/tests/transport/test_urllib3.py 2024-10-01 14:18:31.573503339 +0000 +@@ -16,7 +16,7 @@ import os import sys diff --git a/python-google-auth.changes b/python-google-auth.changes index 2a4176d..f923da8 100644 --- a/python-google-auth.changes +++ b/python-google-auth.changes @@ -1,3 +1,116 @@ +------------------------------------------------------------------- +Tue Oct 1 14:24:58 UTC 2024 - John Paul Adrian Glaubitz + +- 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 + +------------------------------------------------------------------- +Tue Sep 17 07:34:24 UTC 2024 - John Paul Adrian Glaubitz + +- 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 + +------------------------------------------------------------------- +Wed Jul 10 08:17:34 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 2.32.0 + * Adds support for X509 workload credential type (#1541) +- Adjust upstream source name in spec file + +------------------------------------------------------------------- +Fri Jul 5 10:08:50 UTC 2024 - John Paul Adrian Glaubitz + +- 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) + +------------------------------------------------------------------- +Thu Jul 4 08:13:30 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 2.30.0 + * Add WebAuthn plugin component to handle WebAuthn get assertion request (#1464) + * ECP Provider drop cryptography requirement (#1524) + * Enable webauthn plugin for security keys (#1528) + * Fix id_token iam endpoint for non-gdu service credentials (#1506) + * Makes default token_url universe aware (#1514) +- Refresh patches for new version + * python-google-auth-no-mock.patch + +------------------------------------------------------------------- +Fri May 17 10:36:48 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 2.29.0 + * Adds support for custom suppliers in AWS and Identity Pool credentials (#1496) + * Refactor tech debt in aws and identity pool credentials (#1501) +- from version 2.28.2 + * Remove gce log for expected 404 (#1491) +- from version 2.28.1 + * Typo when setting the state for the pickle deserializer. (#1479) +- from version 2.28.0 + * Adding universe domain support for downscroped credentials (#1463) + * Change log level to debug for return_none_for_not_found_error (#1473) + * Make requests import conditional for gce universe domain (#1476) +- Refresh patches for new version + * python-google-auth-no-mock.patch + +------------------------------------------------------------------- +Thu Mar 14 15:56:13 UTC 2024 - Robert Schweikert + +- Do not force transition to Python 3.11 it breaks SUMa + +------------------------------------------------------------------- +Tue Mar 5 20:22:30 UTC 2024 - Robert Schweikert + +- Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later + +------------------------------------------------------------------- +Mon Feb 26 20:27:21 UTC 2024 - Robert Schweikert + +- Version update in SLE 15 SP4 and later (jsc#PED-6697) + +------------------------------------------------------------------- +Sun Feb 4 10:13:37 UTC 2024 - Dirk Müller + +- update to 2.27.0: + * Add optional account association for Authorized User + credentials. + * Allow custom universe domain for gce creds + * Conditionally import requests only if no request was passed + by the caller. + +------------------------------------------------------------------- +Thu Jan 11 14:38:48 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.26.2 + * Read universe_domain for external account authorized user (#1450) + +------------------------------------------------------------------- +Thu Jan 4 09:50:33 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-google-auth.spec b/python-google-auth.spec index 42efb08..3a5f8b2 100644 --- a/python-google-auth.spec +++ b/python-google-auth.spec @@ -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,16 +18,17 @@ %{?sle15_python_module_pythons} Name: python-google-auth -Version: 2.25.2 +Version: 2.35.0 Release: 0 Summary: Google Authentication Library License: Apache-2.0 URL: https://github.com/googleapis/google-auth-library-python -Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz +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 BuildRequires: %{python_module Flask} BuildRequires: %{python_module aiohttp >= 3.6.2} +BuildRequires: %{python_module aioresponses} BuildRequires: %{python_module cachetools >= 2.0.0} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module freezegun} @@ -35,6 +36,7 @@ BuildRequires: %{python_module pyOpenSSL >= 22.0.0} BuildRequires: %{python_module pyasn1-modules >= 0.2.1} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pyu2f >= 0.1.5} BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module responses} @@ -59,7 +61,7 @@ BuildArch: noarch This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs. %prep -%autosetup -p1 -n google-auth-%{version} +%autosetup -p1 -n google_auth-%{version} %build %python_build