diff --git a/google-auth-2.22.0.tar.gz b/google-auth-2.22.0.tar.gz deleted file mode 100644 index de18b9e..0000000 --- a/google-auth-2.22.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:164cba9af4e6e4e40c3a4f90a1a6c12ee56f14c0b4868d1ca91b32826ab334ce -size 231433 diff --git a/google-auth-2.23.2.tar.gz b/google-auth-2.23.2.tar.gz new file mode 100644 index 0000000..dcbe685 --- /dev/null +++ b/google-auth-2.23.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a9af4be520ba33651471a0264eead312521566f44631cbb621164bc30c8fd40 +size 232207 diff --git a/python-google-auth-no-mock.patch b/python-google-auth-no-mock.patch index 01fb2ec..b279649 100644 --- a/python-google-auth-no-mock.patch +++ b/python-google-auth-no-mock.patch @@ -1,6 +1,7 @@ -diff -Nru google-auth-2.20.0.orig/tests/compute_engine/test_credentials.py google-auth-2.20.0/tests/compute_engine/test_credentials.py ---- google-auth-2.20.0.orig/tests/compute_engine/test_credentials.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/compute_engine/test_credentials.py 2023-06-20 15:13:30.097674211 +0200 +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 @@ -14,7 +14,7 @@ import base64 import datetime @@ -10,21 +11,23 @@ diff -Nru google-auth-2.20.0.orig/tests/compute_engine/test_credentials.py googl import pytest # type: ignore import responses # type: ignore -diff -Nru google-auth-2.20.0.orig/tests/compute_engine/test__metadata.py google-auth-2.20.0/tests/compute_engine/test__metadata.py ---- google-auth-2.20.0.orig/tests/compute_engine/test__metadata.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/compute_engine/test__metadata.py 2023-06-20 15:13:30.097674211 +0200 -@@ -16,7 +16,7 @@ +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 import json import os -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import reload_module -diff -Nru google-auth-2.20.0.orig/tests/conftest.py google-auth-2.20.0/tests/conftest.py ---- google-auth-2.20.0.orig/tests/conftest.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/conftest.py 2023-06-20 15:13:30.021673293 +0200 + + 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 @@ -15,7 +15,7 @@ import os import sys @@ -34,10 +37,11 @@ diff -Nru google-auth-2.20.0.orig/tests/conftest.py google-auth-2.20.0/tests/con import pytest # type: ignore -diff -Nru google-auth-2.20.0.orig/tests/crypt/test__python_rsa.py google-auth-2.20.0/tests/crypt/test__python_rsa.py ---- google-auth-2.20.0.orig/tests/crypt/test__python_rsa.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/crypt/test__python_rsa.py 2023-06-20 15:13:30.109674356 +0200 -@@ -15,7 +15,7 @@ +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 import json import os @@ -46,9 +50,10 @@ diff -Nru google-auth-2.20.0.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.20.0.orig/tests/oauth2/test_challenges.py google-auth-2.20.0/tests/oauth2/test_challenges.py ---- google-auth-2.20.0.orig/tests/oauth2/test_challenges.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_challenges.py 2023-06-20 15:13:30.077673970 +0200 +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 import sys @@ -58,22 +63,24 @@ diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_challenges.py google-auth-2. import pytest # type: ignore import pyu2f # type: ignore -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test__client.py google-auth-2.20.0/tests/oauth2/test__client.py ---- google-auth-2.20.0.orig/tests/oauth2/test__client.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test__client.py 2023-06-20 15:13:30.065673825 +0200 -@@ -16,7 +16,7 @@ - import json +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 import os + import urllib -import mock +from unittest import mock import pytest # type: ignore - import six - from six.moves import http_client -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_credentials.py google-auth-2.20.0/tests/oauth2/test_credentials.py ---- google-auth-2.20.0.orig/tests/oauth2/test_credentials.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_credentials.py 2023-06-20 15:13:30.069673873 +0200 -@@ -18,7 +18,7 @@ + + 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 import pickle import sys @@ -82,10 +89,11 @@ diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_credentials.py google-auth-2 import pytest # type: ignore from google.auth import _helpers -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_gdch_credentials.py google-auth-2.20.0/tests/oauth2/test_gdch_credentials.py ---- google-auth-2.20.0.orig/tests/oauth2/test_gdch_credentials.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_gdch_credentials.py 2023-06-20 15:13:30.057673728 +0200 -@@ -17,7 +17,7 @@ +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 import json import os @@ -93,10 +101,11 @@ diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_gdch_credentials.py google-a +from unittest import mock import pytest # type: ignore import requests - import six -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_id_token.py google-auth-2.20.0/tests/oauth2/test_id_token.py ---- google-auth-2.20.0.orig/tests/oauth2/test_id_token.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_id_token.py 2023-06-20 15:13:30.061673776 +0200 + +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 @@ -15,7 +15,7 @@ import json import os @@ -106,9 +115,10 @@ diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_id_token.py google-auth-2.20 import pytest # type: ignore from google.auth import environment_vars -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_reauth.py google-auth-2.20.0/tests/oauth2/test_reauth.py ---- google-auth-2.20.0.orig/tests/oauth2/test_reauth.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_reauth.py 2023-06-20 15:13:30.073673921 +0200 +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 @@ -14,7 +14,7 @@ import copy @@ -118,33 +128,36 @@ diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_reauth.py google-auth-2.20.0 import pytest # type: ignore from google.auth import exceptions -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_service_account.py google-auth-2.20.0/tests/oauth2/test_service_account.py ---- google-auth-2.20.0.orig/tests/oauth2/test_service_account.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_service_account.py 2023-06-20 15:13:30.065673825 +0200 -@@ -16,7 +16,7 @@ +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 import json import os -import mock +from unittest import mock import pytest # type: ignore - import six - -diff -Nru google-auth-2.20.0.orig/tests/oauth2/test_sts.py google-auth-2.20.0/tests/oauth2/test_sts.py ---- google-auth-2.20.0.orig/tests/oauth2/test_sts.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/oauth2/test_sts.py 2023-06-20 15:13:30.081674018 +0200 -@@ -14,7 +14,7 @@ + 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 import json + import urllib -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import urllib -diff -Nru google-auth-2.20.0.orig/tests/test_app_engine.py google-auth-2.20.0/tests/test_app_engine.py ---- google-auth-2.20.0.orig/tests/test_app_engine.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_app_engine.py 2023-06-20 15:13:30.045673583 +0200 + + 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 @@ -14,7 +14,7 @@ import datetime @@ -154,22 +167,24 @@ diff -Nru google-auth-2.20.0.orig/tests/test_app_engine.py google-auth-2.20.0/te import pytest # type: ignore from google.auth import app_engine -diff -Nru google-auth-2.20.0.orig/tests/test_aws.py google-auth-2.20.0/tests/test_aws.py ---- google-auth-2.20.0.orig/tests/test_aws.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_aws.py 2023-06-20 15:13:30.125674549 +0200 -@@ -16,7 +16,7 @@ - import json +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 import os + import urllib.parse -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import urllib -diff -Nru google-auth-2.20.0.orig/tests/test__cloud_sdk.py google-auth-2.20.0/tests/test__cloud_sdk.py ---- google-auth-2.20.0.orig/tests/test__cloud_sdk.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test__cloud_sdk.py 2023-06-20 15:13:30.053673680 +0200 -@@ -18,7 +18,7 @@ + + 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 import subprocess import sys @@ -178,9 +193,10 @@ diff -Nru google-auth-2.20.0.orig/tests/test__cloud_sdk.py google-auth-2.20.0/te import pytest # type: ignore from google.auth import _cloud_sdk -diff -Nru google-auth-2.20.0.orig/tests/test__default.py google-auth-2.20.0/tests/test__default.py ---- google-auth-2.20.0.orig/tests/test__default.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test__default.py 2023-06-20 15:13:30.089674115 +0200 +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 @@ -15,7 +15,7 @@ import json import os @@ -190,21 +206,23 @@ diff -Nru google-auth-2.20.0.orig/tests/test__default.py google-auth-2.20.0/test import pytest # type: ignore from google.auth import _default -diff -Nru google-auth-2.20.0.orig/tests/test_downscoped.py google-auth-2.20.0/tests/test_downscoped.py ---- google-auth-2.20.0.orig/tests/test_downscoped.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_downscoped.py 2023-06-20 15:13:30.093674163 +0200 -@@ -15,7 +15,7 @@ - import datetime +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 import json + import urllib -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import urllib -diff -Nru google-auth-2.20.0.orig/tests/test__exponential_backoff.py google-auth-2.20.0/tests/test__exponential_backoff.py ---- google-auth-2.20.0.orig/tests/test__exponential_backoff.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test__exponential_backoff.py 2023-06-20 15:13:30.017673245 +0200 + + 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 @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. @@ -214,70 +232,63 @@ diff -Nru google-auth-2.20.0.orig/tests/test__exponential_backoff.py google-auth from google.auth import _exponential_backoff -diff -Nru google-auth-2.20.0.orig/tests/test_external_account_authorized_user.py google-auth-2.20.0/tests/test_external_account_authorized_user.py ---- google-auth-2.20.0.orig/tests/test_external_account_authorized_user.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_external_account_authorized_user.py 2023-06-20 15:13:30.089674115 +0200 -@@ -15,7 +15,7 @@ - import datetime +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 + import http.client as http_client import json -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client -diff -Nru google-auth-2.20.0.orig/tests/test_external_account.py google-auth-2.20.0/tests/test_external_account.py ---- google-auth-2.20.0.orig/tests/test_external_account.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_external_account.py 2023-06-20 15:13:30.021673293 +0200 -@@ -15,7 +15,7 @@ - import datetime + 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 + import json + import urllib + +-import mock ++from unittest import mock + 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 + import http.client as http_client import json -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import urllib -diff -Nru google-auth-2.20.0.orig/tests/test_iam.py google-auth-2.20.0/tests/test_iam.py ---- google-auth-2.20.0.orig/tests/test_iam.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_iam.py 2023-06-20 15:13:30.101674260 +0200 -@@ -16,7 +16,7 @@ - import datetime - import json --import mock -+from unittest import mock - import pytest # type: ignore - from six.moves import http_client - -diff -Nru google-auth-2.20.0.orig/tests/test_identity_pool.py google-auth-2.20.0/tests/test_identity_pool.py ---- google-auth-2.20.0.orig/tests/test_identity_pool.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_identity_pool.py 2023-06-20 15:13:30.101674260 +0200 -@@ -16,7 +16,7 @@ - import json + 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 import os + import urllib -import mock +from unittest import mock import pytest # type: ignore - from six.moves import http_client - from six.moves import urllib -diff -Nru google-auth-2.20.0.orig/tests/test_impersonated_credentials.py google-auth-2.20.0/tests/test_impersonated_credentials.py ---- google-auth-2.20.0.orig/tests/test_impersonated_credentials.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_impersonated_credentials.py 2023-06-20 15:13:30.121674501 +0200 -@@ -19,7 +19,7 @@ - # Because Python 2.7 - # from typing import List --import mock -+from unittest import mock - import pytest # type: ignore - from six.moves import http_client - -diff -Nru google-auth-2.20.0.orig/tests/test_jwt.py google-auth-2.20.0/tests/test_jwt.py ---- google-auth-2.20.0.orig/tests/test_jwt.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_jwt.py 2023-06-20 15:13:30.105674308 +0200 -@@ -17,7 +17,7 @@ + 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 import json import os @@ -286,9 +297,23 @@ diff -Nru google-auth-2.20.0.orig/tests/test_jwt.py google-auth-2.20.0/tests/tes import pytest # type: ignore from google.auth import _helpers -diff -Nru google-auth-2.20.0.orig/tests/test_metrics.py google-auth-2.20.0/tests/test_metrics.py ---- google-auth-2.20.0.orig/tests/test_metrics.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_metrics.py 2023-06-20 15:13:30.057673728 +0200 +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 + import json + import os + +-import mock ++from unittest import mock + 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 @@ -14,7 +14,7 @@ import platform @@ -298,22 +323,24 @@ diff -Nru google-auth-2.20.0.orig/tests/test_metrics.py google-auth-2.20.0/tests from google.auth import metrics from google.auth import version -diff -Nru google-auth-2.20.0.orig/tests/test__oauth2client.py google-auth-2.20.0/tests/test__oauth2client.py ---- google-auth-2.20.0.orig/tests/test__oauth2client.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test__oauth2client.py 2023-06-20 15:13:30.049673631 +0200 -@@ -16,7 +16,7 @@ +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 import os import sys -import mock +from unittest import mock import pytest # type: ignore - from six.moves import reload_module -diff -Nru google-auth-2.20.0.orig/tests/test_pluggable.py google-auth-2.20.0/tests/test_pluggable.py ---- google-auth-2.20.0.orig/tests/test_pluggable.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/test_pluggable.py 2023-06-20 15:13:30.125674549 +0200 -@@ -17,7 +17,7 @@ + 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 import os import subprocess @@ -321,11 +348,12 @@ diff -Nru google-auth-2.20.0.orig/tests/test_pluggable.py google-auth-2.20.0/tes +from unittest import mock import pytest # type: ignore - # from six.moves import http_client -diff -Nru google-auth-2.20.0.orig/tests/transport/test__custom_tls_signer.py google-auth-2.20.0/tests/transport/test__custom_tls_signer.py ---- google-auth-2.20.0.orig/tests/transport/test__custom_tls_signer.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test__custom_tls_signer.py 2023-06-20 15:13:30.029673390 +0200 -@@ -16,7 +16,7 @@ + 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 import ctypes import os @@ -334,10 +362,11 @@ diff -Nru google-auth-2.20.0.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.20.0.orig/tests/transport/test_grpc.py google-auth-2.20.0/tests/transport/test_grpc.py ---- google-auth-2.20.0.orig/tests/transport/test_grpc.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test_grpc.py 2023-06-20 15:13:30.029673390 +0200 -@@ -16,7 +16,7 @@ +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 import os import time @@ -346,9 +375,10 @@ diff -Nru google-auth-2.20.0.orig/tests/transport/test_grpc.py google-auth-2.20. import pytest # type: ignore from google.auth import _helpers -diff -Nru google-auth-2.20.0.orig/tests/transport/test__mtls_helper.py google-auth-2.20.0/tests/transport/test__mtls_helper.py ---- google-auth-2.20.0.orig/tests/transport/test__mtls_helper.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test__mtls_helper.py 2023-06-20 15:13:30.037673486 +0200 +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 @@ -15,7 +15,7 @@ import os import re @@ -358,9 +388,10 @@ diff -Nru google-auth-2.20.0.orig/tests/transport/test__mtls_helper.py google-au from OpenSSL import crypto import pytest # type: ignore -diff -Nru google-auth-2.20.0.orig/tests/transport/test_mtls.py google-auth-2.20.0/tests/transport/test_mtls.py ---- google-auth-2.20.0.orig/tests/transport/test_mtls.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test_mtls.py 2023-06-20 15:13:30.037673486 +0200 +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 @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. @@ -370,10 +401,11 @@ diff -Nru google-auth-2.20.0.orig/tests/transport/test_mtls.py google-auth-2.20. import pytest # type: ignore from google.auth import exceptions -diff -Nru google-auth-2.20.0.orig/tests/transport/test_requests.py google-auth-2.20.0/tests/transport/test_requests.py ---- google-auth-2.20.0.orig/tests/transport/test_requests.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test_requests.py 2023-06-20 15:13:30.041673535 +0200 -@@ -18,7 +18,7 @@ +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 import sys import freezegun @@ -382,10 +414,11 @@ diff -Nru google-auth-2.20.0.orig/tests/transport/test_requests.py google-auth-2 import OpenSSL import pytest # type: ignore import requests -diff -Nru google-auth-2.20.0.orig/tests/transport/test_urllib3.py google-auth-2.20.0/tests/transport/test_urllib3.py ---- google-auth-2.20.0.orig/tests/transport/test_urllib3.py 2023-06-13 19:48:05.000000000 +0200 -+++ google-auth-2.20.0/tests/transport/test_urllib3.py 2023-06-20 15:13:30.025673341 +0200 -@@ -15,7 +15,7 @@ +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 import os import sys @@ -393,4 +426,4 @@ diff -Nru google-auth-2.20.0.orig/tests/transport/test_urllib3.py google-auth-2. +from unittest import mock import OpenSSL import pytest # type: ignore - from six.moves import http_client + import urllib3 # type: ignore diff --git a/python-google-auth.changes b/python-google-auth.changes index 21a38f4..9ff60c3 100644 --- a/python-google-auth.changes +++ b/python-google-auth.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Oct 3 12:48:18 UTC 2023 - Markéta Machová + +- update to 2.23.2 + * Less restrictive content-type header check for google authentication + * Trust boundary meta header renaming + * Support urllib3 2.0 + +------------------------------------------------------------------- +Thu Sep 21 12:09:25 UTC 2023 - Ondřej Súkup + +- refresh python-google-auth-no-mock.patch +- update to 2.23.0 + * Expose universe domain in credentials + * Make external_account resistant to string type 'expires_in' responses from non-compliant services + * Missing ssj for impersonate cred () + * Skip checking projectid on cred if env var is set + * Add get_bq_config_path() to _cloud_sdk.py + ------------------------------------------------------------------- Mon Aug 14 09:05:07 UTC 2023 - Dirk Müller diff --git a/python-google-auth.spec b/python-google-auth.spec index 5d474d3..55e81e7 100644 --- a/python-google-auth.spec +++ b/python-google-auth.spec @@ -16,10 +16,9 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-google-auth -Version: 2.22.0 +Version: 2.23.2 Release: 0 Summary: Google Authentication Library License: Apache-2.0 @@ -28,11 +27,11 @@ Source: https://files.pythonhosted.org/packages/source/g/google-auth/goo # https://github.com/googleapis/google-auth-library-python/issues/1055 Patch1: python-google-auth-no-mock.patch BuildRequires: %{python_module Flask} -# START TESTING SECTION BuildRequires: %{python_module aiohttp >= 3.6.2} BuildRequires: %{python_module cachetools >= 2.0.0} +BuildRequires: %{python_module cryptography} BuildRequires: %{python_module freezegun} -BuildRequires: %{python_module pyOpenSSL >= 20.0.0} +BuildRequires: %{python_module pyOpenSSL >= 22.0.0} BuildRequires: %{python_module pyasn1-modules >= 0.2.1} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest} @@ -41,21 +40,18 @@ BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module responses} BuildRequires: %{python_module rsa >= 3.1.4} BuildRequires: %{python_module setuptools >= 40.3.0} -BuildRequires: %{python_module six >= 1.9.0} -# END TESTING SECTION +BuildRequires: %{python_module urllib3} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cachetools >= 2.0.0 -Requires: python-cryptography >= 38.0.3 Requires: python-pyasn1-modules >= 0.2.1 Requires: python-rsa >= 3.1.4 -Requires: python-setuptools >= 40.3.0 -Requires: python-six >= 1.9.0 +Requires: python-urllib3 Recommends: python-aiohttp >= 3.6.2 -Recommends: python-pyOpenSSL >= 20.0.0 +Recommends: python-cryptography >= 38.0.3 +Recommends: python-pyOpenSSL >= 22.0.0 Recommends: python-pyu2f >= 0.1.5 Recommends: python-requests >= 2.20.0 -Recommends: python-urllib3 BuildArch: noarch %python_subpackages