1
0

Accepting request 1034434 from devel:languages:python

- Clean up SPEC file, make rpmlint happy.
- Update to 2.14.0
  * Add token_info_url to external account credentials (#1168)
  * Read Quota Project from Environment Variable (#1163)
  * Adding more properties to external_account_authorized_user (#1169)
- from version 2.13.0
  * Adds new external account authorized user credentials (#1160)
  * Implement pluggable auth interactive mode (#1131)
  * Introduce the functionality to override token_uri in credentials (#1159)
  * Adding one more pattern to relax the regex check for sts and
    impersonation url endpoints (#1158)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1034434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-11-09 11:56:14 +00:00 committed by Git OBS Bridge
commit f551033ae6
5 changed files with 131 additions and 101 deletions

View File

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

View File

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

View File

@ -1,6 +1,6 @@
diff -Nru google-auth-2.12.0.orig/tests/compute_engine/test_credentials.py google-auth-2.12.0/tests/compute_engine/test_credentials.py diff -Nru google-auth-2.14.0.orig/tests/compute_engine/test_credentials.py google-auth-2.14.0/tests/compute_engine/test_credentials.py
--- google-auth-2.12.0.orig/tests/compute_engine/test_credentials.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/compute_engine/test_credentials.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/compute_engine/test_credentials.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/compute_engine/test_credentials.py 2022-11-07 14:57:21.675761110 +0100
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import base64 import base64
import datetime import datetime
@ -10,9 +10,9 @@ diff -Nru google-auth-2.12.0.orig/tests/compute_engine/test_credentials.py googl
import pytest # type: ignore import pytest # type: ignore
import responses # type: ignore import responses # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/compute_engine/test__metadata.py google-auth-2.12.0/tests/compute_engine/test__metadata.py diff -Nru google-auth-2.14.0.orig/tests/compute_engine/test__metadata.py google-auth-2.14.0/tests/compute_engine/test__metadata.py
--- google-auth-2.12.0.orig/tests/compute_engine/test__metadata.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/compute_engine/test__metadata.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/compute_engine/test__metadata.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/compute_engine/test__metadata.py 2022-11-07 14:57:21.679761142 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import json import json
import os import os
@ -22,9 +22,9 @@ diff -Nru google-auth-2.12.0.orig/tests/compute_engine/test__metadata.py google-
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import reload_module from six.moves import reload_module
diff -Nru google-auth-2.12.0.orig/tests/conftest.py google-auth-2.12.0/tests/conftest.py diff -Nru google-auth-2.14.0.orig/tests/conftest.py google-auth-2.14.0/tests/conftest.py
--- google-auth-2.12.0.orig/tests/conftest.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/conftest.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/conftest.py 2022-10-14 11:30:25.620405922 +0200 +++ google-auth-2.14.0/tests/conftest.py 2022-11-07 14:57:21.603760535 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import os import os
import sys import sys
@ -34,9 +34,9 @@ diff -Nru google-auth-2.12.0.orig/tests/conftest.py google-auth-2.12.0/tests/con
import pytest # type: ignore import pytest # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/crypt/test__python_rsa.py google-auth-2.12.0/tests/crypt/test__python_rsa.py diff -Nru google-auth-2.14.0.orig/tests/crypt/test__python_rsa.py google-auth-2.14.0/tests/crypt/test__python_rsa.py
--- google-auth-2.12.0.orig/tests/crypt/test__python_rsa.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/crypt/test__python_rsa.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/crypt/test__python_rsa.py 2022-10-14 11:30:25.676406509 +0200 +++ google-auth-2.14.0/tests/crypt/test__python_rsa.py 2022-11-07 14:57:21.703761334 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import json import json
import os import os
@ -46,9 +46,9 @@ diff -Nru google-auth-2.12.0.orig/tests/crypt/test__python_rsa.py google-auth-2.
from pyasn1_modules import pem # type: ignore from pyasn1_modules import pem # type: ignore
import pytest # type: ignore import pytest # type: ignore
import rsa # type: ignore import rsa # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_challenges.py google-auth-2.12.0/tests/oauth2/test_challenges.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_challenges.py google-auth-2.14.0/tests/oauth2/test_challenges.py
--- google-auth-2.12.0.orig/tests/oauth2/test_challenges.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_challenges.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_challenges.py 2022-10-14 11:30:25.656406299 +0200 +++ google-auth-2.14.0/tests/oauth2/test_challenges.py 2022-11-07 14:57:21.659760982 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
import base64 import base64
import sys import sys
@ -58,9 +58,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_challenges.py google-auth-2.
import pytest # type: ignore import pytest # type: ignore
import pyu2f # type: ignore import pyu2f # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test__client.py google-auth-2.12.0/tests/oauth2/test__client.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test__client.py google-auth-2.14.0/tests/oauth2/test__client.py
--- google-auth-2.12.0.orig/tests/oauth2/test__client.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test__client.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test__client.py 2022-10-14 11:30:25.648406216 +0200 +++ google-auth-2.14.0/tests/oauth2/test__client.py 2022-11-07 14:57:21.643760854 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import json import json
import os import os
@ -70,9 +70,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test__client.py google-auth-2.12.
import pytest # type: ignore import pytest # type: ignore
import six import six
from six.moves import http_client from six.moves import http_client
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_credentials.py google-auth-2.12.0/tests/oauth2/test_credentials.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_credentials.py google-auth-2.14.0/tests/oauth2/test_credentials.py
--- google-auth-2.12.0.orig/tests/oauth2/test_credentials.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_credentials.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_credentials.py 2022-10-14 11:30:25.652406258 +0200 +++ google-auth-2.14.0/tests/oauth2/test_credentials.py 2022-11-07 14:57:21.651760918 +0100
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
import pickle import pickle
import sys import sys
@ -82,9 +82,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_credentials.py google-auth-2
import pytest # type: ignore import pytest # type: ignore
from google.auth import _helpers from google.auth import _helpers
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_gdch_credentials.py google-auth-2.12.0/tests/oauth2/test_gdch_credentials.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_gdch_credentials.py google-auth-2.14.0/tests/oauth2/test_gdch_credentials.py
--- google-auth-2.12.0.orig/tests/oauth2/test_gdch_credentials.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_gdch_credentials.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_gdch_credentials.py 2022-10-14 11:30:25.644406174 +0200 +++ google-auth-2.14.0/tests/oauth2/test_gdch_credentials.py 2022-11-07 14:57:21.639760822 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
import json import json
import os import os
@ -94,9 +94,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_gdch_credentials.py google-a
import pytest # type: ignore import pytest # type: ignore
import requests import requests
import six import six
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_id_token.py google-auth-2.12.0/tests/oauth2/test_id_token.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_id_token.py google-auth-2.14.0/tests/oauth2/test_id_token.py
--- google-auth-2.12.0.orig/tests/oauth2/test_id_token.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_id_token.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_id_token.py 2022-10-14 11:30:25.648406216 +0200 +++ google-auth-2.14.0/tests/oauth2/test_id_token.py 2022-11-07 14:57:21.643760854 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import json import json
import os import os
@ -106,9 +106,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_id_token.py google-auth-2.12
import pytest # type: ignore import pytest # type: ignore
from google.auth import environment_vars from google.auth import environment_vars
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_reauth.py google-auth-2.12.0/tests/oauth2/test_reauth.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_reauth.py google-auth-2.14.0/tests/oauth2/test_reauth.py
--- google-auth-2.12.0.orig/tests/oauth2/test_reauth.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_reauth.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_reauth.py 2022-10-14 11:30:25.652406258 +0200 +++ google-auth-2.14.0/tests/oauth2/test_reauth.py 2022-11-07 14:57:21.651760918 +0100
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import copy import copy
@ -118,9 +118,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_reauth.py google-auth-2.12.0
import pytest # type: ignore import pytest # type: ignore
from google.auth import exceptions from google.auth import exceptions
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_service_account.py google-auth-2.12.0/tests/oauth2/test_service_account.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_service_account.py google-auth-2.14.0/tests/oauth2/test_service_account.py
--- google-auth-2.12.0.orig/tests/oauth2/test_service_account.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_service_account.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_service_account.py 2022-10-14 11:30:25.648406216 +0200 +++ google-auth-2.14.0/tests/oauth2/test_service_account.py 2022-11-07 14:57:21.647760886 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import json import json
import os import os
@ -130,9 +130,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_service_account.py google-au
from google.auth import _helpers from google.auth import _helpers
from google.auth import crypt from google.auth import crypt
diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_sts.py google-auth-2.12.0/tests/oauth2/test_sts.py diff -Nru google-auth-2.14.0.orig/tests/oauth2/test_sts.py google-auth-2.14.0/tests/oauth2/test_sts.py
--- google-auth-2.12.0.orig/tests/oauth2/test_sts.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/oauth2/test_sts.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/oauth2/test_sts.py 2022-10-14 11:30:25.656406299 +0200 +++ google-auth-2.14.0/tests/oauth2/test_sts.py 2022-11-07 14:57:21.659760982 +0100
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import json import json
@ -142,9 +142,9 @@ diff -Nru google-auth-2.12.0.orig/tests/oauth2/test_sts.py google-auth-2.12.0/te
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import urllib from six.moves import urllib
diff -Nru google-auth-2.12.0.orig/tests/test_app_engine.py google-auth-2.12.0/tests/test_app_engine.py diff -Nru google-auth-2.14.0.orig/tests/test_app_engine.py google-auth-2.14.0/tests/test_app_engine.py
--- google-auth-2.12.0.orig/tests/test_app_engine.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_app_engine.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_app_engine.py 2022-10-14 11:30:25.640406132 +0200 +++ google-auth-2.14.0/tests/test_app_engine.py 2022-11-07 14:57:21.627760726 +0100
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
import datetime import datetime
@ -154,9 +154,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_app_engine.py google-auth-2.12.0/te
import pytest # type: ignore import pytest # type: ignore
from google.auth import app_engine from google.auth import app_engine
diff -Nru google-auth-2.12.0.orig/tests/test_aws.py google-auth-2.12.0/tests/test_aws.py diff -Nru google-auth-2.14.0.orig/tests/test_aws.py google-auth-2.14.0/tests/test_aws.py
--- google-auth-2.12.0.orig/tests/test_aws.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_aws.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_aws.py 2022-10-14 11:30:25.684406593 +0200 +++ google-auth-2.14.0/tests/test_aws.py 2022-11-07 14:57:21.715761429 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import datetime import datetime
import json import json
@ -166,9 +166,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_aws.py google-auth-2.12.0/tests/tes
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import urllib from six.moves import urllib
diff -Nru google-auth-2.12.0.orig/tests/test__cloud_sdk.py google-auth-2.12.0/tests/test__cloud_sdk.py diff -Nru google-auth-2.14.0.orig/tests/test__cloud_sdk.py google-auth-2.14.0/tests/test__cloud_sdk.py
--- google-auth-2.12.0.orig/tests/test__cloud_sdk.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test__cloud_sdk.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test__cloud_sdk.py 2022-10-14 11:30:25.644406174 +0200 +++ google-auth-2.14.0/tests/test__cloud_sdk.py 2022-11-07 14:57:21.635760790 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
import os import os
import subprocess import subprocess
@ -178,9 +178,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test__cloud_sdk.py google-auth-2.12.0/te
import pytest # type: ignore import pytest # type: ignore
from google.auth import _cloud_sdk from google.auth import _cloud_sdk
diff -Nru google-auth-2.12.0.orig/tests/test__default.py google-auth-2.12.0/tests/test__default.py diff -Nru google-auth-2.14.0.orig/tests/test__default.py google-auth-2.14.0/tests/test__default.py
--- google-auth-2.12.0.orig/tests/test__default.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test__default.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test__default.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/test__default.py 2022-11-07 14:57:21.667761046 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import json import json
import os import os
@ -190,9 +190,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test__default.py google-auth-2.12.0/test
import pytest # type: ignore import pytest # type: ignore
from google.auth import _default from google.auth import _default
diff -Nru google-auth-2.12.0.orig/tests/test_downscoped.py google-auth-2.12.0/tests/test_downscoped.py diff -Nru google-auth-2.14.0.orig/tests/test_downscoped.py google-auth-2.14.0/tests/test_downscoped.py
--- google-auth-2.12.0.orig/tests/test_downscoped.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_downscoped.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_downscoped.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/test_downscoped.py 2022-11-07 14:57:21.675761110 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import datetime import datetime
import json import json
@ -202,9 +202,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_downscoped.py google-auth-2.12.0/te
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import urllib from six.moves import urllib
diff -Nru google-auth-2.12.0.orig/tests/test__exponential_backoff.py google-auth-2.12.0/tests/test__exponential_backoff.py diff -Nru google-auth-2.14.0.orig/tests/test__exponential_backoff.py google-auth-2.14.0/tests/test__exponential_backoff.py
--- google-auth-2.12.0.orig/tests/test__exponential_backoff.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test__exponential_backoff.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test__exponential_backoff.py 2022-10-14 11:30:25.616405880 +0200 +++ google-auth-2.14.0/tests/test__exponential_backoff.py 2022-11-07 14:57:21.595760471 +0100
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
@ -214,9 +214,21 @@ diff -Nru google-auth-2.12.0.orig/tests/test__exponential_backoff.py google-auth
from google.auth import _exponential_backoff from google.auth import _exponential_backoff
diff -Nru google-auth-2.12.0.orig/tests/test_external_account.py google-auth-2.12.0/tests/test_external_account.py diff -Nru google-auth-2.14.0.orig/tests/test_external_account_authorized_user.py google-auth-2.14.0/tests/test_external_account_authorized_user.py
--- google-auth-2.12.0.orig/tests/test_external_account.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_external_account_authorized_user.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_external_account.py 2022-10-14 11:30:25.620405922 +0200 +++ google-auth-2.14.0/tests/test_external_account_authorized_user.py 2022-11-07 14:57:21.671761078 +0100
@@ -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.14.0.orig/tests/test_external_account.py google-auth-2.14.0/tests/test_external_account.py
--- google-auth-2.14.0.orig/tests/test_external_account.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.14.0/tests/test_external_account.py 2022-11-07 14:57:21.599760503 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import datetime import datetime
import json import json
@ -226,9 +238,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_external_account.py google-auth-2.1
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import urllib from six.moves import urllib
diff -Nru google-auth-2.12.0.orig/tests/test_iam.py google-auth-2.12.0/tests/test_iam.py diff -Nru google-auth-2.14.0.orig/tests/test_iam.py google-auth-2.14.0/tests/test_iam.py
--- google-auth-2.12.0.orig/tests/test_iam.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_iam.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_iam.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/test_iam.py 2022-11-07 14:57:21.683761174 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import datetime import datetime
import json import json
@ -238,9 +250,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_iam.py google-auth-2.12.0/tests/tes
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
diff -Nru google-auth-2.12.0.orig/tests/test_identity_pool.py google-auth-2.12.0/tests/test_identity_pool.py diff -Nru google-auth-2.14.0.orig/tests/test_identity_pool.py google-auth-2.14.0/tests/test_identity_pool.py
--- google-auth-2.12.0.orig/tests/test_identity_pool.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_identity_pool.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_identity_pool.py 2022-10-14 11:30:25.664406383 +0200 +++ google-auth-2.14.0/tests/test_identity_pool.py 2022-11-07 14:57:21.687761206 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import json import json
import os import os
@ -250,9 +262,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_identity_pool.py google-auth-2.12.0
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
from six.moves import urllib from six.moves import urllib
diff -Nru google-auth-2.12.0.orig/tests/test_impersonated_credentials.py google-auth-2.12.0/tests/test_impersonated_credentials.py diff -Nru google-auth-2.14.0.orig/tests/test_impersonated_credentials.py google-auth-2.14.0/tests/test_impersonated_credentials.py
--- google-auth-2.12.0.orig/tests/test_impersonated_credentials.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_impersonated_credentials.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_impersonated_credentials.py 2022-10-14 11:30:25.680406551 +0200 +++ google-auth-2.14.0/tests/test_impersonated_credentials.py 2022-11-07 14:57:21.707761366 +0100
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
# Because Python 2.7 # Because Python 2.7
# from typing import List # from typing import List
@ -262,9 +274,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_impersonated_credentials.py google-
import pytest # type: ignore import pytest # type: ignore
from six.moves import http_client from six.moves import http_client
diff -Nru google-auth-2.12.0.orig/tests/test_jwt.py google-auth-2.12.0/tests/test_jwt.py diff -Nru google-auth-2.14.0.orig/tests/test_jwt.py google-auth-2.14.0/tests/test_jwt.py
--- google-auth-2.12.0.orig/tests/test_jwt.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_jwt.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_jwt.py 2022-10-14 11:30:25.668406425 +0200 +++ google-auth-2.14.0/tests/test_jwt.py 2022-11-07 14:57:21.691761238 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
import json import json
import os import os
@ -274,9 +286,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_jwt.py google-auth-2.12.0/tests/tes
import pytest # type: ignore import pytest # type: ignore
from google.auth import _helpers from google.auth import _helpers
diff -Nru google-auth-2.12.0.orig/tests/test__oauth2client.py google-auth-2.12.0/tests/test__oauth2client.py diff -Nru google-auth-2.14.0.orig/tests/test__oauth2client.py google-auth-2.14.0/tests/test__oauth2client.py
--- google-auth-2.12.0.orig/tests/test__oauth2client.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test__oauth2client.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test__oauth2client.py 2022-10-14 11:30:25.640406132 +0200 +++ google-auth-2.14.0/tests/test__oauth2client.py 2022-11-07 14:57:21.631760758 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import os import os
import sys import sys
@ -286,9 +298,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test__oauth2client.py google-auth-2.12.0
import pytest # type: ignore import pytest # type: ignore
from six.moves import reload_module from six.moves import reload_module
diff -Nru google-auth-2.12.0.orig/tests/test_pluggable.py google-auth-2.12.0/tests/test_pluggable.py diff -Nru google-auth-2.14.0.orig/tests/test_pluggable.py google-auth-2.14.0/tests/test_pluggable.py
--- google-auth-2.12.0.orig/tests/test_pluggable.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/test_pluggable.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/test_pluggable.py 2022-10-14 11:30:25.684406593 +0200 +++ google-auth-2.14.0/tests/test_pluggable.py 2022-11-07 14:57:21.711761397 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
import os import os
import subprocess import subprocess
@ -298,9 +310,9 @@ diff -Nru google-auth-2.12.0.orig/tests/test_pluggable.py google-auth-2.12.0/tes
import pytest # type: ignore import pytest # type: ignore
# from six.moves import http_client # from six.moves import http_client
diff -Nru google-auth-2.12.0.orig/tests/transport/test__custom_tls_signer.py google-auth-2.12.0/tests/transport/test__custom_tls_signer.py diff -Nru google-auth-2.14.0.orig/tests/transport/test__custom_tls_signer.py google-auth-2.14.0/tests/transport/test__custom_tls_signer.py
--- google-auth-2.12.0.orig/tests/transport/test__custom_tls_signer.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test__custom_tls_signer.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test__custom_tls_signer.py 2022-10-14 11:30:25.624405964 +0200 +++ google-auth-2.14.0/tests/transport/test__custom_tls_signer.py 2022-11-07 14:57:21.607760567 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import ctypes import ctypes
import os import os
@ -310,9 +322,9 @@ diff -Nru google-auth-2.12.0.orig/tests/transport/test__custom_tls_signer.py goo
import pytest # type: ignore import pytest # type: ignore
from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
import urllib3.contrib.pyopenssl # type: ignore import urllib3.contrib.pyopenssl # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/transport/test_grpc.py google-auth-2.12.0/tests/transport/test_grpc.py diff -Nru google-auth-2.14.0.orig/tests/transport/test_grpc.py google-auth-2.14.0/tests/transport/test_grpc.py
--- google-auth-2.12.0.orig/tests/transport/test_grpc.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test_grpc.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test_grpc.py 2022-10-14 11:30:25.624405964 +0200 +++ google-auth-2.14.0/tests/transport/test_grpc.py 2022-11-07 14:57:21.611760599 +0100
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
import os import os
import time import time
@ -322,9 +334,9 @@ diff -Nru google-auth-2.12.0.orig/tests/transport/test_grpc.py google-auth-2.12.
import pytest # type: ignore import pytest # type: ignore
from google.auth import _helpers from google.auth import _helpers
diff -Nru google-auth-2.12.0.orig/tests/transport/test__mtls_helper.py google-auth-2.12.0/tests/transport/test__mtls_helper.py diff -Nru google-auth-2.14.0.orig/tests/transport/test__mtls_helper.py google-auth-2.14.0/tests/transport/test__mtls_helper.py
--- google-auth-2.12.0.orig/tests/transport/test__mtls_helper.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test__mtls_helper.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test__mtls_helper.py 2022-10-14 11:30:25.628406006 +0200 +++ google-auth-2.14.0/tests/transport/test__mtls_helper.py 2022-11-07 14:57:21.615760631 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import os import os
import re import re
@ -334,9 +346,9 @@ diff -Nru google-auth-2.12.0.orig/tests/transport/test__mtls_helper.py google-au
from OpenSSL import crypto from OpenSSL import crypto
import pytest # type: ignore import pytest # type: ignore
diff -Nru google-auth-2.12.0.orig/tests/transport/test_mtls.py google-auth-2.12.0/tests/transport/test_mtls.py diff -Nru google-auth-2.14.0.orig/tests/transport/test_mtls.py google-auth-2.14.0/tests/transport/test_mtls.py
--- google-auth-2.12.0.orig/tests/transport/test_mtls.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test_mtls.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test_mtls.py 2022-10-14 11:30:25.632406048 +0200 +++ google-auth-2.14.0/tests/transport/test_mtls.py 2022-11-07 14:57:21.619760663 +0100
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
@ -346,9 +358,9 @@ diff -Nru google-auth-2.12.0.orig/tests/transport/test_mtls.py google-auth-2.12.
import pytest # type: ignore import pytest # type: ignore
from google.auth import exceptions from google.auth import exceptions
diff -Nru google-auth-2.12.0.orig/tests/transport/test_requests.py google-auth-2.12.0/tests/transport/test_requests.py diff -Nru google-auth-2.14.0.orig/tests/transport/test_requests.py google-auth-2.14.0/tests/transport/test_requests.py
--- google-auth-2.12.0.orig/tests/transport/test_requests.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test_requests.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test_requests.py 2022-10-14 11:30:25.632406048 +0200 +++ google-auth-2.14.0/tests/transport/test_requests.py 2022-11-07 14:57:21.619760663 +0100
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
import sys import sys
@ -358,9 +370,9 @@ diff -Nru google-auth-2.12.0.orig/tests/transport/test_requests.py google-auth-2
import OpenSSL import OpenSSL
import pytest # type: ignore import pytest # type: ignore
import requests import requests
diff -Nru google-auth-2.12.0.orig/tests/transport/test_urllib3.py google-auth-2.12.0/tests/transport/test_urllib3.py diff -Nru google-auth-2.14.0.orig/tests/transport/test_urllib3.py google-auth-2.14.0/tests/transport/test_urllib3.py
--- google-auth-2.12.0.orig/tests/transport/test_urllib3.py 2022-09-27 22:38:30.000000000 +0200 --- google-auth-2.14.0.orig/tests/transport/test_urllib3.py 2022-10-31 22:49:50.000000000 +0100
+++ google-auth-2.12.0/tests/transport/test_urllib3.py 2022-10-14 11:30:25.620405922 +0200 +++ google-auth-2.14.0/tests/transport/test_urllib3.py 2022-11-07 14:57:21.603760535 +0100
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
import os import os
import sys import sys

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Nov 8 07:19:56 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Clean up SPEC file, make rpmlint happy.
-------------------------------------------------------------------
Mon Nov 7 13:59:22 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.14.0
* Add token_info_url to external account credentials (#1168)
* Read Quota Project from Environment Variable (#1163)
* Adding more properties to external_account_authorized_user (#1169)
- from version 2.13.0
* Adds new external account authorized user credentials (#1160)
* Implement pluggable auth interactive mode (#1131)
* Introduce the functionality to override token_uri in credentials (#1159)
* Adding one more pattern to relax the regex check for sts and
impersonation url endpoints (#1158)
- Refresh patches for new version
* python-google-auth-no-mock.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 14 09:30:55 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Fri Oct 14 09:30:55 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,9 +17,8 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-auth Name: python-google-auth
Version: 2.12.0 Version: 2.14.0
Release: 0 Release: 0
Summary: Google Authentication Library Summary: Google Authentication Library
License: Apache-2.0 License: Apache-2.0
@ -63,9 +62,7 @@ BuildArch: noarch
This library simplifies using Googles various server-to-server authentication mechanisms to access Google APIs. This library simplifies using Googles various server-to-server authentication mechanisms to access Google APIs.
%prep %prep
%setup -q -n google-auth-%{version} %autosetup -p1 -n google-auth-%{version}
%patch0 -p1
%patch1 -p1
%build %build
%python_build %python_build