python-google-auth/python-google-auth-no-mock.patch
Daniel Garcia 2466116199 - Add urllib3-2.patch to support newer urllib3 -- gh#googleapis/google-auth-library-python#1290
- Remove no-python3.patch
- Update to 2.17.3:
  * Add useEmailAzp claim for id token iam flow (#1270) (7a9c6f2)
- 2.17.2:
  * Do not create new JWT credentials if they make the same claims as
    the existing. (#1267) (eebb7b6)
- 2.17.1:
  * Print out reauth plugin error and raise if challenge output is
    None (#1265) (08d22fe)
- 2.17.0:
  * Experimental service account iam endpoint flow for id token
    (#1258) (8ff0de5)
  * Python: Remove aws url validation (#1254) (20a966b)
- 2.16.3:
  * Read both applicationId and relyingPartyId. (#1246) (e125dfe)
- 2.16.2:
  * Call gcloud config get project to get project for user cred
    (#1243) (c078a13)
  * Do not use hardcoded string 'python', when you mean
    sys.executable. (#1233) (91ac8e6)
  * Don't retry if error or error_description is not string (#1241)
    (e2d263a)
  * Improve ADC related errors and warnings (#1237) (2dfa213)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=60
2023-05-10 07:33:05 +00:00

452 lines
15 KiB
Diff

---
tests/compute_engine/test__metadata.py | 2 +-
tests/compute_engine/test_credentials.py | 2 +-
tests/conftest.py | 2 +-
tests/crypt/test__python_rsa.py | 2 +-
tests/oauth2/test__client.py | 2 +-
tests/oauth2/test_challenges.py | 2 +-
tests/oauth2/test_credentials.py | 2 +-
tests/oauth2/test_gdch_credentials.py | 2 +-
tests/oauth2/test_id_token.py | 2 +-
tests/oauth2/test_reauth.py | 2 +-
tests/oauth2/test_service_account.py | 2 +-
tests/oauth2/test_sts.py | 2 +-
tests/test__cloud_sdk.py | 2 +-
tests/test__default.py | 2 +-
tests/test__exponential_backoff.py | 2 +-
tests/test__oauth2client.py | 2 +-
tests/test_app_engine.py | 2 +-
tests/test_aws.py | 2 +-
tests/test_downscoped.py | 2 +-
tests/test_external_account.py | 2 +-
tests/test_external_account_authorized_user.py | 2 +-
tests/test_iam.py | 2 +-
tests/test_identity_pool.py | 2 +-
tests/test_impersonated_credentials.py | 2 +-
tests/test_jwt.py | 2 +-
tests/test_pluggable.py | 2 +-
tests/transport/test__custom_tls_signer.py | 2 +-
tests/transport/test__mtls_helper.py | 2 +-
tests/transport/test_grpc.py | 2 +-
tests/transport/test_mtls.py | 2 +-
tests/transport/test_requests.py | 2 +-
tests/transport/test_urllib3.py | 2 +-
32 files changed, 32 insertions(+), 32 deletions(-)
Index: google-auth-2.17.3/tests/compute_engine/test__metadata.py
===================================================================
--- google-auth-2.17.3.orig/tests/compute_engine/test__metadata.py
+++ google-auth-2.17.3/tests/compute_engine/test__metadata.py
@@ -16,7 +16,7 @@ import datetime
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
Index: google-auth-2.17.3/tests/compute_engine/test_credentials.py
===================================================================
--- google-auth-2.17.3.orig/tests/compute_engine/test_credentials.py
+++ google-auth-2.17.3/tests/compute_engine/test_credentials.py
@@ -14,7 +14,7 @@
import base64
import datetime
-import mock
+from unittest import mock
import pytest # type: ignore
import responses # type: ignore
Index: google-auth-2.17.3/tests/conftest.py
===================================================================
--- google-auth-2.17.3.orig/tests/conftest.py
+++ google-auth-2.17.3/tests/conftest.py
@@ -15,7 +15,7 @@
import os
import sys
-import mock
+from unittest import mock
import pytest # type: ignore
Index: google-auth-2.17.3/tests/crypt/test__python_rsa.py
===================================================================
--- google-auth-2.17.3.orig/tests/crypt/test__python_rsa.py
+++ google-auth-2.17.3/tests/crypt/test__python_rsa.py
@@ -15,7 +15,7 @@
import json
import os
-import mock
+from unittest import mock
from pyasn1_modules import pem # type: ignore
import pytest # type: ignore
import rsa # type: ignore
Index: google-auth-2.17.3/tests/oauth2/test__client.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test__client.py
+++ google-auth-2.17.3/tests/oauth2/test__client.py
@@ -16,7 +16,7 @@ import datetime
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
import six
from six.moves import http_client
Index: google-auth-2.17.3/tests/oauth2/test_challenges.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_challenges.py
+++ google-auth-2.17.3/tests/oauth2/test_challenges.py
@@ -17,7 +17,7 @@
import base64
import sys
-import mock
+from unittest import mock
import pytest # type: ignore
import pyu2f # type: ignore
Index: google-auth-2.17.3/tests/oauth2/test_credentials.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_credentials.py
+++ google-auth-2.17.3/tests/oauth2/test_credentials.py
@@ -18,7 +18,7 @@ import os
import pickle
import sys
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.17.3/tests/oauth2/test_gdch_credentials.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_gdch_credentials.py
+++ google-auth-2.17.3/tests/oauth2/test_gdch_credentials.py
@@ -17,7 +17,7 @@ import datetime
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
import requests
import six
Index: google-auth-2.17.3/tests/oauth2/test_id_token.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_id_token.py
+++ google-auth-2.17.3/tests/oauth2/test_id_token.py
@@ -15,7 +15,7 @@
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import environment_vars
Index: google-auth-2.17.3/tests/oauth2/test_reauth.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_reauth.py
+++ google-auth-2.17.3/tests/oauth2/test_reauth.py
@@ -14,7 +14,7 @@
import copy
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import exceptions
Index: google-auth-2.17.3/tests/oauth2/test_service_account.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_service_account.py
+++ google-auth-2.17.3/tests/oauth2/test_service_account.py
@@ -16,7 +16,7 @@ import datetime
import json
import os
-import mock
+from unittest import mock
from google.auth import _helpers
from google.auth import crypt
Index: google-auth-2.17.3/tests/oauth2/test_sts.py
===================================================================
--- google-auth-2.17.3.orig/tests/oauth2/test_sts.py
+++ google-auth-2.17.3/tests/oauth2/test_sts.py
@@ -14,7 +14,7 @@
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
from six.moves import urllib
Index: google-auth-2.17.3/tests/test__cloud_sdk.py
===================================================================
--- google-auth-2.17.3.orig/tests/test__cloud_sdk.py
+++ google-auth-2.17.3/tests/test__cloud_sdk.py
@@ -18,7 +18,7 @@ import os
import subprocess
import sys
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _cloud_sdk
Index: google-auth-2.17.3/tests/test__default.py
===================================================================
--- google-auth-2.17.3.orig/tests/test__default.py
+++ google-auth-2.17.3/tests/test__default.py
@@ -15,7 +15,7 @@
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _default
Index: google-auth-2.17.3/tests/test__exponential_backoff.py
===================================================================
--- google-auth-2.17.3.orig/tests/test__exponential_backoff.py
+++ google-auth-2.17.3/tests/test__exponential_backoff.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
+from unittest import mock
from google.auth import _exponential_backoff
Index: google-auth-2.17.3/tests/test__oauth2client.py
===================================================================
--- google-auth-2.17.3.orig/tests/test__oauth2client.py
+++ google-auth-2.17.3/tests/test__oauth2client.py
@@ -16,7 +16,7 @@ import datetime
import os
import sys
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import reload_module
Index: google-auth-2.17.3/tests/test_app_engine.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_app_engine.py
+++ google-auth-2.17.3/tests/test_app_engine.py
@@ -14,7 +14,7 @@
import datetime
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import app_engine
Index: google-auth-2.17.3/tests/test_aws.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_aws.py
+++ google-auth-2.17.3/tests/test_aws.py
@@ -16,7 +16,7 @@ import datetime
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
from six.moves import urllib
Index: google-auth-2.17.3/tests/test_downscoped.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_downscoped.py
+++ google-auth-2.17.3/tests/test_downscoped.py
@@ -15,7 +15,7 @@
import datetime
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
from six.moves import urllib
Index: google-auth-2.17.3/tests/test_external_account.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_external_account.py
+++ google-auth-2.17.3/tests/test_external_account.py
@@ -15,7 +15,7 @@
import datetime
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
from six.moves import urllib
Index: google-auth-2.17.3/tests/test_external_account_authorized_user.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_external_account_authorized_user.py
+++ google-auth-2.17.3/tests/test_external_account_authorized_user.py
@@ -15,7 +15,7 @@
import datetime
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
Index: google-auth-2.17.3/tests/test_iam.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_iam.py
+++ google-auth-2.17.3/tests/test_iam.py
@@ -16,7 +16,7 @@ import base64
import datetime
import json
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
Index: google-auth-2.17.3/tests/test_identity_pool.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_identity_pool.py
+++ google-auth-2.17.3/tests/test_identity_pool.py
@@ -16,7 +16,7 @@ import datetime
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
from six.moves import urllib
Index: google-auth-2.17.3/tests/test_impersonated_credentials.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_impersonated_credentials.py
+++ google-auth-2.17.3/tests/test_impersonated_credentials.py
@@ -19,7 +19,7 @@ import os
# Because Python 2.7
# from typing import List
-import mock
+from unittest import mock
import pytest # type: ignore
from six.moves import http_client
Index: google-auth-2.17.3/tests/test_jwt.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_jwt.py
+++ google-auth-2.17.3/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.17.3/tests/test_pluggable.py
===================================================================
--- google-auth-2.17.3.orig/tests/test_pluggable.py
+++ google-auth-2.17.3/tests/test_pluggable.py
@@ -17,7 +17,7 @@ import json
import os
import subprocess
-import mock
+from unittest import mock
import pytest # type: ignore
# from six.moves import http_client
Index: google-auth-2.17.3/tests/transport/test__custom_tls_signer.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test__custom_tls_signer.py
+++ google-auth-2.17.3/tests/transport/test__custom_tls_signer.py
@@ -16,7 +16,7 @@ import base64
import ctypes
import os
-import mock
+from unittest import mock
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.17.3/tests/transport/test__mtls_helper.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test__mtls_helper.py
+++ google-auth-2.17.3/tests/transport/test__mtls_helper.py
@@ -15,7 +15,7 @@
import os
import re
-import mock
+from unittest import mock
from OpenSSL import crypto
import pytest # type: ignore
Index: google-auth-2.17.3/tests/transport/test_grpc.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test_grpc.py
+++ google-auth-2.17.3/tests/transport/test_grpc.py
@@ -16,7 +16,7 @@ import datetime
import os
import time
-import mock
+from unittest import mock
import pytest # type: ignore
from google.auth import _helpers
Index: google-auth-2.17.3/tests/transport/test_mtls.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test_mtls.py
+++ google-auth-2.17.3/tests/transport/test_mtls.py
@@ -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 exceptions
Index: google-auth-2.17.3/tests/transport/test_requests.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test_requests.py
+++ google-auth-2.17.3/tests/transport/test_requests.py
@@ -18,7 +18,7 @@ import os
import sys
import freezegun
-import mock
+from unittest import mock
import OpenSSL
import pytest # type: ignore
import requests
Index: google-auth-2.17.3/tests/transport/test_urllib3.py
===================================================================
--- google-auth-2.17.3.orig/tests/transport/test_urllib3.py
+++ google-auth-2.17.3/tests/transport/test_urllib3.py
@@ -15,7 +15,7 @@
import os
import sys
-import mock
+from unittest import mock
import OpenSSL
import pytest # type: ignore
from six.moves import http_client