commit python-google-auth for openSUSE:Factory
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 2023-12-17 21:28:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-google-auth (Old) and /work/SRC/openSUSE:Factory/.python-google-auth.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-google-auth" Sun Dec 17 21:28:59 2023 rev:37 rq:1133637 version:2.25.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-google-auth/python-google-auth.changes 2023-12-09 22:49:08.646612520 +0100 +++ /work/SRC/openSUSE:Factory/.python-google-auth.new.25432/python-google-auth.changes 2023-12-17 21:29:09.342678654 +0100 @@ -1,0 +2,6 @@ +Sat Dec 16 19:27:11 UTC 2023 - Dirk Müller <dmueller@suse.com> + +- update to 2.25.2: + * Fix user cred universe domain issue (#1436) + +------------------------------------------------------------------- Old: ---- google-auth-2.25.1.tar.gz New: ---- google-auth-2.25.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-google-auth.spec ++++++ --- /var/tmp/diff_new_pack.DtTbLw/_old 2023-12-17 21:29:10.042704073 +0100 +++ /var/tmp/diff_new_pack.DtTbLw/_new 2023-12-17 21:29:10.042704073 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-google-auth -Version: 2.25.1 +Version: 2.25.2 Release: 0 Summary: Google Authentication Library License: Apache-2.0 ++++++ google-auth-2.25.1.tar.gz -> google-auth-2.25.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.25.1/PKG-INFO new/google-auth-2.25.2/PKG-INFO --- old/google-auth-2.25.1/PKG-INFO 2023-12-06 02:45:01.775611400 +0100 +++ new/google-auth-2.25.2/PKG-INFO 2023-12-08 20:37:44.102259600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.25.1 +Version: 2.25.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.25.1/google/auth/version.py new/google-auth-2.25.2/google/auth/version.py --- old/google-auth-2.25.1/google/auth/version.py 2023-12-06 02:42:14.000000000 +0100 +++ new/google-auth-2.25.2/google/auth/version.py 2023-12-08 20:34:40.000000000 +0100 @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.25.1" +__version__ = "2.25.2" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.25.1/google/oauth2/credentials.py new/google-auth-2.25.2/google/oauth2/credentials.py --- old/google-auth-2.25.1/google/oauth2/credentials.py 2023-12-06 02:42:14.000000000 +0100 +++ new/google-auth-2.25.2/google/oauth2/credentials.py 2023-12-08 20:34:40.000000000 +0100 @@ -180,7 +180,7 @@ self._rapt_token = d.get("_rapt_token") self._enable_reauth_refresh = d.get("_enable_reauth_refresh") self._trust_boundary = d.get("_trust_boundary") - self._universe_domain = d.get("_universe_domain") + self._universe_domain = d.get("_universe_domain") or _DEFAULT_UNIVERSE_DOMAIN # The refresh_handler setter should be used to repopulate this. self._refresh_handler = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-auth-2.25.1/google_auth.egg-info/PKG-INFO new/google-auth-2.25.2/google_auth.egg-info/PKG-INFO --- old/google-auth-2.25.1/google_auth.egg-info/PKG-INFO 2023-12-06 02:45:01.000000000 +0100 +++ new/google-auth-2.25.2/google_auth.egg-info/PKG-INFO 2023-12-08 20:37:44.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: google-auth -Version: 2.25.1 +Version: 2.25.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.25.1/tests/oauth2/test_credentials.py new/google-auth-2.25.2/tests/oauth2/test_credentials.py --- old/google-auth-2.25.1/tests/oauth2/test_credentials.py 2023-12-06 02:42:14.000000000 +0100 +++ new/google-auth-2.25.2/tests/oauth2/test_credentials.py 2023-12-08 20:34:40.000000000 +0100 @@ -913,6 +913,17 @@ for attr in list(creds.__dict__): assert getattr(creds, attr) == getattr(unpickled, attr) + def test_pickle_and_unpickle_universe_domain(self): + # old version of auth lib doesn't have _universe_domain, so the pickled + # cred doesn't have such a field. + creds = self.make_credentials() + del creds._universe_domain + + unpickled = pickle.loads(pickle.dumps(creds)) + + # make sure the unpickled cred sets _universe_domain to default. + assert unpickled.universe_domain == "googleapis.com" + def test_pickle_and_unpickle_with_refresh_handler(self): expected_expiry = _helpers.utcnow() + datetime.timedelta(seconds=2800) refresh_handler = mock.Mock(return_value=("TOKEN", expected_expiry))
participants (1)
-
Source-Sync