Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nbxmpp for openSUSE:Factory checked in at 2023-09-04 22:53:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbxmpp (Old) and /work/SRC/openSUSE:Factory/.python-nbxmpp.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbxmpp" Mon Sep 4 22:53:39 2023 rev:44 rq:1108853 version:4.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbxmpp/python-nbxmpp.changes 2023-08-13 19:17:52.896077391 +0200 +++ /work/SRC/openSUSE:Factory/.python-nbxmpp.new.1766/python-nbxmpp.changes 2023-09-04 22:54:19.913357480 +0200 @@ -1,0 +2,9 @@ +Fri Sep 1 14:18:08 UTC 2023 - Alexei Sorokin <sor.ale...@meowr.ru> + +- Update to version 4.3.3: + * JID: Allow comparisons against any object. + * DiscoInfo: Improve discovery if subject is allowed to be + modified. + * Donât expect localpart for bare JIDs. + +------------------------------------------------------------------- Old: ---- python-nbxmpp-4.3.2.tar.bz2 New: ---- python-nbxmpp-4.3.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbxmpp.spec ++++++ --- /var/tmp/diff_new_pack.RqDWV0/_old 2023-09-04 22:54:20.897392264 +0200 +++ /var/tmp/diff_new_pack.RqDWV0/_new 2023-09-04 22:54:20.901392406 +0200 @@ -24,7 +24,7 @@ %endif %define _name nbxmpp Name: python-nbxmpp -Version: 4.3.2 +Version: 4.3.3 Release: 0 Summary: XMPP library by Gajim team License: GPL-3.0-or-later ++++++ python-nbxmpp-4.3.2.tar.bz2 -> python-nbxmpp-4.3.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-nbxmpp-4.3.2/ChangeLog new/python-nbxmpp-4.3.3/ChangeLog --- old/python-nbxmpp-4.3.2/ChangeLog 2023-08-07 22:57:16.000000000 +0200 +++ new/python-nbxmpp-4.3.3/ChangeLog 2023-08-29 17:26:17.000000000 +0200 @@ -1,3 +1,14 @@ +nbxmpp 4.3.3 (28 Aug 2023) + + Improvements + + * JID: Allow comparisons against any object + * DiscoInfo: Improve discovery if subject is allowed to be modified + + Bug Fixes + + * Donât expect localpart for bare JIDs + nbxmpp 4.3.2 (04 Jul 2023) New diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-nbxmpp-4.3.2/nbxmpp/__init__.py new/python-nbxmpp-4.3.3/nbxmpp/__init__.py --- old/python-nbxmpp-4.3.2/nbxmpp/__init__.py 2023-08-07 22:57:16.000000000 +0200 +++ new/python-nbxmpp-4.3.3/nbxmpp/__init__.py 2023-08-29 17:26:17.000000000 +0200 @@ -3,4 +3,4 @@ from .protocol import * # pylint: disable=wrong-import-position -__version__: str = '4.3.2' +__version__: str = '4.3.3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-nbxmpp-4.3.2/nbxmpp/protocol.py new/python-nbxmpp-4.3.3/nbxmpp/protocol.py --- old/python-nbxmpp-4.3.2/nbxmpp/protocol.py 2023-08-07 22:57:16.000000000 +0200 +++ new/python-nbxmpp-4.3.3/nbxmpp/protocol.py 2023-08-29 17:26:17.000000000 +0200 @@ -654,8 +654,6 @@ localpart, domainpart = None, rest if force_bare: - if localpart is None: - raise LocalpartByteLimit resourcepart = None return cls(localpart=localpart, @@ -713,18 +711,21 @@ def __hash__(self): return hash(str(self)) - def __eq__(self, other: Union[str, JID]) -> bool: + def __eq__(self, other: object) -> bool: if isinstance(other, str): try: return JID.from_string(other) == self except Exception: return False - return (self.localpart == other.localpart and - self.domain == other.domain and - self.resource == other.resource) + if isinstance(other, JID): + return (self.localpart == other.localpart and + self.domain == other.domain and + self.resource == other.resource) - def __ne__(self, other: Union[str, JID]) -> bool: + return False + + def __ne__(self, other: object) -> bool: return not self.__eq__(other) def domain_to_ascii(self) -> str: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-nbxmpp-4.3.2/nbxmpp/structs.py new/python-nbxmpp-4.3.3/nbxmpp/structs.py --- old/python-nbxmpp-4.3.2/nbxmpp/structs.py 2023-08-07 22:57:16.000000000 +0200 +++ new/python-nbxmpp-4.3.3/nbxmpp/structs.py 2023-08-29 17:26:17.000000000 +0200 @@ -566,7 +566,9 @@ def muc_subjectmod(self) -> Optional[Any]: # muc#roominfo_changesubject stems from a wrong example in the MUC XEP # Ejabberd and Prosody use this value + # muc#roomconfig_changesubject is also used by Prosody return (self.get_field_value(Namespace.MUC_INFO, 'muc#roominfo_subjectmod') or + self.get_field_value(Namespace.MUC_INFO, 'muc#roomconfig_changesubject') or self.get_field_value(Namespace.MUC_INFO, 'muc#roominfo_changesubject')) @property