Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-google-auth for openSUSE:Factory checked in at 2024-01-12 23:44:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old) and /work/SRC/openSUSE:Factory/.python-google-auth.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-auth" Fri Jan 12 23:44:42 2024 rev:39 rq:1138146 version:2.26.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes 2024-01-05 22:59:57.703094970 +0100 +++ /work/SRC/openSUSE:Factory/.python-google-auth.new.21961/python-google-auth.changes 2024-01-12 23:45:00.917694256 +0100 @@ -1,0 +2,6 @@ +Thu Jan 11 14:38:48 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 2.26.2 + * Read universe_domain for external account authorized user (#1450) + +------------------------------------------------------------------- Old: ---- google-auth-2.26.1.tar.gz New: ---- google-auth-2.26.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-auth.spec ++++++ --- /var/tmp/diff_new_pack.AprCme/_old 2024-01-12 23:45:01.461714168 +0100 +++ /var/tmp/diff_new_pack.AprCme/_new 2024-01-12 23:45:01.461714168 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-google-auth -Version: 2.26.1 +Version: 2.26.2 Release: 0 Summary: Google Authentication Library License: Apache-2.0 ++++++ google-auth-2.26.1.tar.gz -> google-auth-2.26.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/PKG-INFO new/google-auth-2.26.2/PKG-INFO --- old/google-auth-2.26.1/PKG-INFO 2024-01-03 23:52:08.752571800 +0100 +++ new/google-auth-2.26.2/PKG-INFO 2024-01-11 07:12:20.189150600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.26.1 +Version: 2.26.2 Summary: Google Authentication Library Home-page: https://github.com/googleapis/google-auth-library-python Author: Google Cloud Platform diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/google/auth/external_account_authorized_user.py new/google-auth-2.26.2/google/auth/external_account_authorized_user.py --- old/google-auth-2.26.1/google/auth/external_account_authorized_user.py 2024-01-03 23:49:22.000000000 +0100 +++ new/google-auth-2.26.2/google/auth/external_account_authorized_user.py 2024-01-11 07:09:11.000000000 +0100 @@ -342,6 +342,7 @@ revoke_url=info.get("revoke_url"), quota_project_id=info.get("quota_project_id"), scopes=info.get("scopes"), + universe_domain=info.get("universe_domain", _DEFAULT_UNIVERSE_DOMAIN), **kwargs ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/google/auth/version.py new/google-auth-2.26.2/google/auth/version.py --- old/google-auth-2.26.1/google/auth/version.py 2024-01-03 23:49:22.000000000 +0100 +++ new/google-auth-2.26.2/google/auth/version.py 2024-01-11 07:09:11.000000000 +0100 @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.26.1" +__version__ = "2.26.2" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/google_auth.egg-info/PKG-INFO new/google-auth-2.26.2/google_auth.egg-info/PKG-INFO --- old/google-auth-2.26.1/google_auth.egg-info/PKG-INFO 2024-01-03 23:52:08.000000000 +0100 +++ new/google-auth-2.26.2/google_auth.egg-info/PKG-INFO 2024-01-11 07:12:20.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.26.1 +Version: 2.26.2 Summary: Google Authentication Library Home-page: https://github.com/googleapis/google-auth-library-python Author: Google Cloud Platform diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/google_auth.egg-info/SOURCES.txt new/google-auth-2.26.2/google_auth.egg-info/SOURCES.txt --- old/google-auth-2.26.1/google_auth.egg-info/SOURCES.txt 2024-01-03 23:52:08.000000000 +0100 +++ new/google-auth-2.26.2/google_auth.egg-info/SOURCES.txt 2024-01-11 07:12:20.000000000 +0100 @@ -117,6 +117,7 @@ tests/data/es256_publickey.pem tests/data/es256_service_account.json tests/data/external_account_authorized_user.json +tests/data/external_account_authorized_user_non_gdu.json tests/data/external_subject_token.json tests/data/external_subject_token.txt tests/data/gdch_service_account.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/tests/data/external_account_authorized_user_non_gdu.json new/google-auth-2.26.2/tests/data/external_account_authorized_user_non_gdu.json --- old/google-auth-2.26.1/tests/data/external_account_authorized_user_non_gdu.json 1970-01-01 01:00:00.000000000 +0100 +++ new/google-auth-2.26.2/tests/data/external_account_authorized_user_non_gdu.json 2024-01-11 07:09:11.000000000 +0100 @@ -0,0 +1,10 @@ +{ + "type": "external_account_authorized_user", + "audience": "//iam.fake_universe_domain/locations/global/workforcePools/$WORKFORCE_POOL_ID/providers/$PROVIDER_ID", + "refresh_token": "refreshToken", + "token_url": "https://sts.fake_universe_domain/v1/oauth/token", + "token_info_url": "https://sts.fake_universe_domain/v1/instrospect", + "client_id": "clientId", + "client_secret": "clientSecret", + "universe_domain": "fake_universe_domain" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.26.1/tests/test__default.py new/google-auth-2.26.2/tests/test__default.py --- old/google-auth-2.26.1/tests/test__default.py 2024-01-03 23:49:22.000000000 +0100 +++ new/google-auth-2.26.2/tests/test__default.py 2024-01-11 07:09:11.000000000 +0100 @@ -157,6 +157,10 @@ DATA_DIR, "external_account_authorized_user.json" ) +EXTERNAL_ACCOUNT_AUTHORIZED_USER_NON_GDU_FILE = os.path.join( + DATA_DIR, "external_account_authorized_user_non_gdu.json" +) + MOCK_CREDENTIALS = mock.Mock(spec=credentials.CredentialsWithQuotaProject) MOCK_CREDENTIALS.with_quota_project.return_value = MOCK_CREDENTIALS @@ -576,6 +580,15 @@ assert project_id is None +def test_load_credentials_from_file_external_account_authorized_user_non_gdu(): + credentials, _ = _default.load_credentials_from_file( + EXTERNAL_ACCOUNT_AUTHORIZED_USER_NON_GDU_FILE, request=mock.sentinel.request + ) + + assert isinstance(credentials, external_account_authorized_user.Credentials) + assert credentials.universe_domain == "fake_universe_domain" + + def test_load_credentials_from_file_external_account_authorized_user_bad_format(tmpdir): filename = tmpdir.join("external_account_authorized_user_bad.json") filename.write(json.dumps({"type": "external_account_authorized_user"}))