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 2022-06-06 11:10:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old) and /work/SRC/openSUSE:Factory/.python-google-auth.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-auth" Mon Jun 6 11:10:08 2022 rev:19 rq:980908 version:2.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes 2022-04-17 23:49:56.830315844 +0200 +++ /work/SRC/openSUSE:Factory/.python-google-auth.new.1548/python-google-auth.changes 2022-06-06 11:10:15.771285073 +0200 @@ -1,0 +2,8 @@ +Fri Jun 3 16:02:30 UTC 2022 - Mark??ta Machov?? <mmach...@suse.com> + +- Update to 2.6.6 + * fix missing import in _default.py + * add additional missing import in _default.py + * silence TypeError during tear down stage + +------------------------------------------------------------------- Old: ---- google-auth-2.6.3.tar.gz New: ---- google-auth-2.6.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-auth.spec ++++++ --- /var/tmp/diff_new_pack.nD0Ary/_old 2022-06-06 11:10:16.423286016 +0200 +++ /var/tmp/diff_new_pack.nD0Ary/_new 2022-06-06 11:10:16.431286028 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-auth -Version: 2.6.3 +Version: 2.6.6 Release: 0 Summary: Google Authentication Library License: Apache-2.0 ++++++ google-auth-2.6.3.tar.gz -> google-auth-2.6.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.6.3/PKG-INFO new/google-auth-2.6.6/PKG-INFO --- old/google-auth-2.6.3/PKG-INFO 2022-04-07 21:29:05.977379800 +0200 +++ new/google-auth-2.6.6/PKG-INFO 2022-04-22 01:30:09.619063000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.6.3 +Version: 2.6.6 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.6.3/google/auth/_default.py new/google-auth-2.6.6/google/auth/_default.py --- old/google-auth-2.6.3/google/auth/_default.py 2022-04-07 21:26:25.000000000 +0200 +++ new/google-auth-2.6.6/google/auth/_default.py 2022-04-22 01:27:38.000000000 +0200 @@ -340,6 +340,8 @@ "Failed to load external account credentials from {}".format(filename) ) if request is None: + import google.auth.transport.requests + request = google.auth.transport.requests.Request() return credentials, credentials.get_project_id(request=request) @@ -554,6 +556,8 @@ getattr(credentials, "get_project_id", None) ): if request is None: + import google.auth.transport.requests + request = google.auth.transport.requests.Request() project_id = credentials.get_project_id(request=request) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.6.3/google/auth/transport/requests.py new/google-auth-2.6.6/google/auth/transport/requests.py --- old/google-auth-2.6.3/google/auth/transport/requests.py 2022-04-07 21:26:25.000000000 +0200 +++ new/google-auth-2.6.6/google/auth/transport/requests.py 2022-04-22 01:27:38.000000000 +0200 @@ -150,8 +150,14 @@ self.session = session def __del__(self): - if hasattr(self, "session") and self.session is not None: - self.session.close() + try: + if hasattr(self, "session") and self.session is not None: + self.session.close() + except TypeError: + # NOTE: For certain Python binary built, the queue.Empty exception + # might not be considered a normal Python exception causing + # TypeError. + pass def __call__( self, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.6.3/google/auth/version.py new/google-auth-2.6.6/google/auth/version.py --- old/google-auth-2.6.3/google/auth/version.py 2022-04-07 21:26:25.000000000 +0200 +++ new/google-auth-2.6.6/google/auth/version.py 2022-04-22 01:27:38.000000000 +0200 @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.6.3" +__version__ = "2.6.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.6.3/google_auth.egg-info/PKG-INFO new/google-auth-2.6.6/google_auth.egg-info/PKG-INFO --- old/google-auth-2.6.3/google_auth.egg-info/PKG-INFO 2022-04-07 21:29:05.000000000 +0200 +++ new/google-auth-2.6.6/google_auth.egg-info/PKG-INFO 2022-04-22 01:30:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.6.3 +Version: 2.6.6 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.6.3/tests/transport/test_requests.py new/google-auth-2.6.6/tests/transport/test_requests.py --- old/google-auth-2.6.3/tests/transport/test_requests.py 2022-04-07 21:26:25.000000000 +0200 +++ new/google-auth-2.6.6/tests/transport/test_requests.py 2022-04-22 01:27:38.000000000 +0200 @@ -57,6 +57,12 @@ request.__del__() http.close.assert_called_with() + http = mock.create_autospec(requests.Session, instance=True) + http.close.side_effect = TypeError("test injected TypeError") + request = google.auth.transport.requests.Request(http) + request.__del__() + http.close.assert_called_with() + class TestTimeoutGuard(object): def make_guard(self, *args, **kwargs):