Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-uamqp for openSUSE:Factory checked in at 2021-07-01 07:05:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uamqp (Old) and /work/SRC/openSUSE:Factory/.python-uamqp.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-uamqp" Thu Jul 1 07:05:40 2021 rev:13 rq:903197 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uamqp/python-uamqp.changes 2021-05-07 17:15:15.248970767 +0200 +++ /work/SRC/openSUSE:Factory/.python-uamqp.new.2625/python-uamqp.changes 2021-07-01 07:05:53.739354654 +0200 @@ -1,0 +2,8 @@ +Tue Jun 29 12:15:05 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- New upstream release + + Version 1.4.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- Old: ---- uamqp-1.4.0.tar.gz New: ---- uamqp-1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uamqp.spec ++++++ --- /var/tmp/diff_new_pack.LhYlDZ/_old 2021-07-01 07:05:54.335349999 +0200 +++ /var/tmp/diff_new_pack.LhYlDZ/_new 2021-07-01 07:05:54.339349968 +0200 @@ -21,7 +21,7 @@ %define skip_python2 1 %endif Name: python-uamqp -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: AMQP 10 Client Library for Python License: MIT ++++++ uamqp-1.4.0.tar.gz -> uamqp-1.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/HISTORY.rst new/uamqp-1.4.1/HISTORY.rst --- old/uamqp-1.4.0/HISTORY.rst 2021-05-03 15:12:29.000000000 +0200 +++ new/uamqp-1.4.1/HISTORY.rst 2021-06-28 18:25:08.000000000 +0200 @@ -3,6 +3,12 @@ Release History =============== +1.4.1 (2021-06-28) ++++++++++++++++++++ + +- Fixed bug that JWTTokenAuth and JWTTokenAsync do not initialize token for token types other than b'jwt'. +- Fixed bug that attibutes `creation_time`, `absolute_expiry_time` and `group_sequence` on `MessageProperties` should be compatible with integer types on Python 2.7. + 1.4.0 (2021-05-03) +++++++++++++++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/PKG-INFO new/uamqp-1.4.1/PKG-INFO --- old/uamqp-1.4.0/PKG-INFO 2021-05-03 15:12:50.000000000 +0200 +++ new/uamqp-1.4.1/PKG-INFO 2021-06-28 18:25:29.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: uamqp -Version: 1.4.0 +Version: 1.4.1 Summary: AMQP 1.0 Client Library for Python Home-page: https://github.com/Azure/azure-uamqp-python Author: Microsoft Corporation @@ -127,6 +127,12 @@ Release History =============== + 1.4.1 (2021-06-28) + +++++++++++++++++++ + + - Fixed bug that JWTTokenAuth and JWTTokenAsync do not initialize token for token types other than b'jwt'. + - Fixed bug that attibutes `creation_time`, `absolute_expiry_time` and `group_sequence` on `MessageProperties` should be compatible with integer types on Python 2.7. + 1.4.0 (2021-05-03) +++++++++++++++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/uamqp/__init__.py new/uamqp-1.4.1/uamqp/__init__.py --- old/uamqp-1.4.0/uamqp/__init__.py 2021-05-03 15:12:29.000000000 +0200 +++ new/uamqp-1.4.1/uamqp/__init__.py 2021-06-28 18:25:09.000000000 +0200 @@ -35,7 +35,7 @@ pass # Async not supported. -__version__ = "1.4.0" +__version__ = "1.4.1" _logger = logging.getLogger(__name__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/uamqp/authentication/cbs_auth.py new/uamqp-1.4.1/uamqp/authentication/cbs_auth.py --- old/uamqp-1.4.0/uamqp/authentication/cbs_auth.py 2021-05-03 15:12:29.000000000 +0200 +++ new/uamqp-1.4.1/uamqp/authentication/cbs_auth.py 2021-06-28 18:25:09.000000000 +0200 @@ -62,9 +62,6 @@ self._connection = connection self._session = Session(connection, **kwargs) - if self.token_type == b'jwt': # Initialize the jwt token - self.update_token() - try: self._cbs_auth = c_uamqp.CBSTokenAuth( self.audience, @@ -421,6 +418,10 @@ self.sasl = _SASL() self.set_io(self.hostname, port, http_proxy, transport_type) + def create_authenticator(self, connection, debug=False, **kwargs): + self.update_token() + return super(JWTTokenAuth, self).create_authenticator(connection, debug, **kwargs) + def update_token(self): access_token = self.get_token() self.expires_at = access_token.expires_on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/uamqp/authentication/cbs_auth_async.py new/uamqp-1.4.1/uamqp/authentication/cbs_auth_async.py --- old/uamqp-1.4.0/uamqp/authentication/cbs_auth_async.py 2021-05-03 15:12:29.000000000 +0200 +++ new/uamqp-1.4.1/uamqp/authentication/cbs_auth_async.py 2021-06-28 18:25:09.000000000 +0200 @@ -54,9 +54,6 @@ self._connection = connection self._session = SessionAsync(connection, loop=self.loop, **kwargs) - if self.token_type == b'jwt': # Async initialize the jwt token - await self.update_token() - try: self._cbs_auth = c_uamqp.CBSTokenAuth( self.audience, @@ -278,6 +275,10 @@ self.sasl = _SASL() self.set_io(self.hostname, port, http_proxy, transport_type) + async def create_authenticator_async(self, connection, debug=False, loop=None, **kwargs): + await self.update_token() + return await super(JWTTokenAsync, self).create_authenticator_async(connection, debug, loop, **kwargs) + async def update_token(self): access_token = await self.get_token() self.expires_at = access_token.expires_on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/uamqp/message.py new/uamqp-1.4.1/uamqp/message.py --- old/uamqp-1.4.0/uamqp/message.py 2021-05-03 15:12:29.000000000 +0200 +++ new/uamqp-1.4.1/uamqp/message.py 2021-06-28 18:25:09.000000000 +0200 @@ -1003,7 +1003,7 @@ @absolute_expiry_time.setter def absolute_expiry_time(self, value): - if value is not None and not isinstance(value, int): + if value is not None and not isinstance(value, six.integer_types): raise TypeError("absolute_expiry_time must be an integer.") self._absolute_expiry_time = value @@ -1013,7 +1013,7 @@ @creation_time.setter def creation_time(self, value): - if value is not None and not isinstance(value, int): + if value is not None and not isinstance(value, six.integer_types): raise TypeError("creation_time must be an integer.") self._creation_time = value @@ -1035,7 +1035,7 @@ @group_sequence.setter def group_sequence(self, value): - if value is not None and not isinstance(value, int): + if value is not None and not isinstance(value, six.integer_types): raise TypeError("group_sequence must be an integer.") self._group_sequence = value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uamqp-1.4.0/uamqp.egg-info/PKG-INFO new/uamqp-1.4.1/uamqp.egg-info/PKG-INFO --- old/uamqp-1.4.0/uamqp.egg-info/PKG-INFO 2021-05-03 15:12:50.000000000 +0200 +++ new/uamqp-1.4.1/uamqp.egg-info/PKG-INFO 2021-06-28 18:25:29.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: uamqp -Version: 1.4.0 +Version: 1.4.1 Summary: AMQP 1.0 Client Library for Python Home-page: https://github.com/Azure/azure-uamqp-python Author: Microsoft Corporation @@ -127,6 +127,12 @@ Release History =============== + 1.4.1 (2021-06-28) + +++++++++++++++++++ + + - Fixed bug that JWTTokenAuth and JWTTokenAsync do not initialize token for token types other than b'jwt'. + - Fixed bug that attibutes `creation_time`, `absolute_expiry_time` and `group_sequence` on `MessageProperties` should be compatible with integer types on Python 2.7. + 1.4.0 (2021-05-03) +++++++++++++++++++