1
0

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

- Update to 2.21.0
  * Add framework for BYOID metrics headers (#1332)
  * Pypy unit test build (#1335)
- from version 2.20.0
  * Add public API load_credentials_from_dict (#1326)
  * Expiry in compute_engine.IDTokenCredentials (#1327), closes (#1323)
  * Expiry in impersonated_credentials.IDTokenCredentials (#1330)
  * Invalid `dev` version identifiers in `setup.py` (#1322), closes (#1321)
- from version 2.19.1
  * Check id token error response (#1315)
  * Fix "AttributeError: 'str' object has no attribute 'get'" (dac7cc3)
  * Replacing abc.com with example.com (dac7cc3)
- from version 2.19.0
  * Add metrics (part 1) (#1298)
  * Add metrics (part 2) (#1303)
  * Add metrics (part 3) (#1305)
  * Expose `universe_domain` for external account creds (#1296)
  * Remove python 2.7 from setup.py and nox tests (#1301)
- from version 2.18.1
  * Self signed jwt token should be string type (#1294)
- from version 2.18.0
  * Add smbios check to detect GCE residency (#1276)
  * Universe domain support for service account (#1286)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1095583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=64
This commit is contained in:
Markéta Machová 2023-06-27 11:07:04 +00:00 committed by Git OBS Bridge
parent 06ef50339a
commit e119883536
5 changed files with 226 additions and 252 deletions

View File

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

View File

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

View File

@ -1,55 +1,6 @@
---
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
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
@@ -14,7 +14,7 @@
import base64
import datetime
@ -59,10 +10,21 @@ Index: google-auth-2.17.3/tests/compute_engine/test_credentials.py
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
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 @@
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
@@ -15,7 +15,7 @@
import os
import sys
@ -72,10 +34,9 @@ Index: google-auth-2.17.3/tests/conftest.py
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
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 @@
import json
import os
@ -85,23 +46,9 @@ Index: google-auth-2.17.3/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.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
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
@@ -17,7 +17,7 @@
import base64
import sys
@ -111,11 +58,22 @@ Index: google-auth-2.17.3/tests/oauth2/test_challenges.py
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
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
import os
-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 @@
import pickle
import sys
@ -124,11 +82,10 @@ Index: google-auth-2.17.3/tests/oauth2/test_credentials.py
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
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 @@
import json
import os
@ -137,10 +94,9 @@ Index: google-auth-2.17.3/tests/oauth2/test_gdch_credentials.py
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
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
@@ -15,7 +15,7 @@
import json
import os
@ -150,10 +106,9 @@ Index: google-auth-2.17.3/tests/oauth2/test_id_token.py
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
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
@@ -14,7 +14,7 @@
import copy
@ -163,23 +118,21 @@ Index: google-auth-2.17.3/tests/oauth2/test_reauth.py
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
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 @@
import json
import os
-import mock
+from unittest import mock
import pytest # type: ignore
import six
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
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 @@
import json
@ -189,62 +142,9 @@ Index: google-auth-2.17.3/tests/oauth2/test_sts.py
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
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
@@ -14,7 +14,7 @@
import datetime
@ -254,11 +154,10 @@ Index: google-auth-2.17.3/tests/test_app_engine.py
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
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
import os
@ -267,10 +166,33 @@ Index: google-auth-2.17.3/tests/test_aws.py
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
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 @@
import subprocess
import sys
-import mock
+from unittest import mock
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
@@ -15,7 +15,7 @@
import json
import os
-import mock
+from unittest import mock
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
import json
@ -280,10 +202,33 @@ Index: google-auth-2.17.3/tests/test_downscoped.py
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
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
@@ -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
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
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
import json
@ -293,11 +238,10 @@ Index: google-auth-2.17.3/tests/test_external_account.py
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 @@
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
@ -306,24 +250,10 @@ Index: google-auth-2.17.3/tests/test_external_account_authorized_user.py
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
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
import os
@ -332,11 +262,10 @@ Index: google-auth-2.17.3/tests/test_identity_pool.py
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
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
@ -345,11 +274,10 @@ Index: google-auth-2.17.3/tests/test_impersonated_credentials.py
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
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 @@
import json
import os
@ -358,11 +286,34 @@ Index: google-auth-2.17.3/tests/test_jwt.py
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
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
@@ -14,7 +14,7 @@
import platform
-import mock
+from unittest import mock
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 @@
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 @@
import os
import subprocess
@ -371,11 +322,10 @@ Index: google-auth-2.17.3/tests/test_pluggable.py
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
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 @@
import ctypes
import os
@ -384,10 +334,21 @@ Index: google-auth-2.17.3/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.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
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 @@
import os
import time
-import mock
+from unittest import mock
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
@@ -15,7 +15,7 @@
import os
import re
@ -397,23 +358,9 @@ Index: google-auth-2.17.3/tests/transport/test__mtls_helper.py
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
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
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
@ -423,11 +370,10 @@ Index: google-auth-2.17.3/tests/transport/test_mtls.py
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
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 @@
import sys
import freezegun
@ -436,10 +382,9 @@ Index: google-auth-2.17.3/tests/transport/test_requests.py
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
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 @@
import os
import sys

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Jun 27 10:51:30 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.21.0
* Add framework for BYOID metrics headers (#1332)
* Pypy unit test build (#1335)
- from version 2.20.0
* Add public API load_credentials_from_dict (#1326)
* Expiry in compute_engine.IDTokenCredentials (#1327), closes (#1323)
* Expiry in impersonated_credentials.IDTokenCredentials (#1330)
* Invalid `dev` version identifiers in `setup.py` (#1322), closes (#1321)
- from version 2.19.1
* Check id token error response (#1315)
* Fix "AttributeError: 'str' object has no attribute 'get'" (dac7cc3)
* Replacing abc.com with example.com (dac7cc3)
- from version 2.19.0
* Add metrics (part 1) (#1298)
* Add metrics (part 2) (#1303)
* Add metrics (part 3) (#1305)
* Expose `universe_domain` for external account creds (#1296)
* Remove python 2.7 from setup.py and nox tests (#1301)
- from version 2.18.1
* Self signed jwt token should be string type (#1294)
- from version 2.18.0
* Add smbios check to detect GCE residency (#1276)
* Universe domain support for service account (#1286)
- Refresh patches for new version
* python-google-auth-no-mock.patch
-------------------------------------------------------------------
Sat May 27 07:26:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -19,7 +19,7 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-google-auth
Version: 2.17.3
Version: 2.21.0
Release: 0
Summary: Google Authentication Library
License: Apache-2.0