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 2025-06-14 16:17:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old) and /work/SRC/openSUSE:Factory/.python-google-auth.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-auth" Sat Jun 14 16:17:18 2025 rev:56 rq:1285541 version:2.40.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes 2025-05-31 19:14:44.049470015 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-auth.new.19631/python-google-auth.changes 2025-06-14 16:17:34.485884908 +0200 @@ -1,0 +2,13 @@ +Fri Jun 13 15:25:25 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- +Wed Jun 11 08:59:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 2.40.3 + * Auth fetch token from default endpoint (#1779) + * Remove unnecessary call to mds service (#1769) + * Retry 504 errors (#1767) + +------------------------------------------------------------------- Old: ---- google_auth-2.40.2.tar.gz New: ---- google_auth-2.40.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-auth.spec ++++++ --- /var/tmp/diff_new_pack.sgGhyf/_old 2025-06-14 16:17:35.073909168 +0200 +++ /var/tmp/diff_new_pack.sgGhyf/_new 2025-06-14 16:17:35.073909168 +0200 @@ -18,12 +18,12 @@ %{?sle15_python_module_pythons} Name: python-google-auth -Version: 2.40.2 +Version: 2.40.3 Release: 0 Summary: Google Authentication Library License: Apache-2.0 URL: https://github.com/googleapis/google-auth-library-python -Source: https://files.pythonhosted.org/packages/source/g/google-auth/google_auth-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/g/google_auth/google_auth-%{version}.tar.gz # https://github.com/googleapis/google-auth-library-python/issues/1055 Patch1: python-google-auth-no-mock.patch BuildRequires: %{python_module Flask} @@ -33,6 +33,7 @@ BuildRequires: %{python_module cachetools >= 2.0.0} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module freezegun} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyOpenSSL >= 22.0.0} BuildRequires: %{python_module pyasn1-modules >= 0.2.1} BuildRequires: %{python_module pytest-asyncio} @@ -44,6 +45,7 @@ BuildRequires: %{python_module rsa >= 3.1.4} BuildRequires: %{python_module setuptools >= 40.3.0} BuildRequires: %{python_module urllib3} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cachetools >= 2.0.0 @@ -66,10 +68,10 @@ %autosetup -p1 -n google_auth-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check ++++++ google_auth-2.40.2.tar.gz -> google_auth-2.40.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google_auth-2.40.2/PKG-INFO new/google_auth-2.40.3/PKG-INFO --- old/google_auth-2.40.2/PKG-INFO 2025-05-21 20:04:56.007751500 +0200 +++ new/google_auth-2.40.3/PKG-INFO 2025-06-04 20:04:54.079877000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.40.2 +Version: 2.40.3 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.40.2/google/auth/compute_engine/credentials.py new/google_auth-2.40.3/google/auth/compute_engine/credentials.py --- old/google_auth-2.40.2/google/auth/compute_engine/credentials.py 2025-05-21 20:00:57.000000000 +0200 +++ new/google_auth-2.40.3/google/auth/compute_engine/credentials.py 2025-06-04 20:00:50.000000000 +0200 @@ -124,8 +124,9 @@ scopes = self._scopes if self._scopes is not None else self._default_scopes try: self._retrieve_info(request) + # Always fetch token with default service account email. self.token, self.expiry = _metadata.get_service_account_token( - request, service_account=self._service_account_email, scopes=scopes + request, service_account="default", scopes=scopes ) except exceptions.TransportError as caught_exc: new_exc = exceptions.RefreshError(caught_exc) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google_auth-2.40.2/google/auth/transport/__init__.py new/google_auth-2.40.3/google/auth/transport/__init__.py --- old/google_auth-2.40.2/google/auth/transport/__init__.py 2025-05-21 20:00:57.000000000 +0200 +++ new/google_auth-2.40.3/google/auth/transport/__init__.py 2025-06-04 20:00:50.000000000 +0200 @@ -30,6 +30,7 @@ DEFAULT_RETRYABLE_STATUS_CODES = ( http_client.INTERNAL_SERVER_ERROR, http_client.SERVICE_UNAVAILABLE, + http_client.GATEWAY_TIMEOUT, http_client.REQUEST_TIMEOUT, http_client.TOO_MANY_REQUESTS, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google_auth-2.40.2/google/auth/version.py new/google_auth-2.40.3/google/auth/version.py --- old/google_auth-2.40.2/google/auth/version.py 2025-05-21 20:00:57.000000000 +0200 +++ new/google_auth-2.40.3/google/auth/version.py 2025-06-04 20:00:50.000000000 +0200 @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.40.2" +__version__ = "2.40.3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google_auth-2.40.2/google_auth.egg-info/PKG-INFO new/google_auth-2.40.3/google_auth.egg-info/PKG-INFO --- old/google_auth-2.40.2/google_auth.egg-info/PKG-INFO 2025-05-21 20:04:55.000000000 +0200 +++ new/google_auth-2.40.3/google_auth.egg-info/PKG-INFO 2025-06-04 20:04:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.40.2 +Version: 2.40.3 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.40.2/tests/compute_engine/test_credentials.py new/google_auth-2.40.3/tests/compute_engine/test_credentials.py --- old/google_auth-2.40.2/tests/compute_engine/test_credentials.py 2025-05-21 20:00:57.000000000 +0200 +++ new/google_auth-2.40.3/tests/compute_engine/test_credentials.py 2025-06-04 20:00:50.000000000 +0200 @@ -501,7 +501,7 @@ responses.add( responses.GET, "http://metadata.google.internal/computeMetadata/v1/instance/" - "service-accounts/service-acco...@example.com/token", + "service-accounts/default/token", status=200, content_type="application/json", json={ @@ -659,7 +659,7 @@ responses.add( responses.GET, "http://metadata.google.internal/computeMetadata/v1/instance/" - "service-accounts/service-acco...@example.com/token", + "service-accounts/default/token", status=200, content_type="application/json", json={