commit python-python-debian for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-debian for openSUSE:Factory checked in at 2022-10-31 12:15:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-debian (Old) and /work/SRC/openSUSE:Factory/.python-python-debian.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-python-debian" Mon Oct 31 12:15:18 2022 rev:3 rq:1032448 version:0.1.48 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-debian/python-python-debian.changes 2022-10-08 01:25:55.118325109 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-debian.new.2275/python-python-debian.changes 2022-10-31 12:15:20.238395221 +0100 @@ -1,0 +2,7 @@ +Fri Oct 28 20:31:05 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> + +- Update to 0.1.48 + * Fix version bound for subscripting abc.Iterator, abc.MutableMapping + * Don't raise AmbiguousDeb822FieldKeyError in __contains__. + +------------------------------------------------------------------- Old: ---- python-debian-0.1.47.tar.gz New: ---- python-debian-0.1.48.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-debian.spec ++++++ --- /var/tmp/diff_new_pack.FEWhDD/_old 2022-10-31 12:15:20.794397830 +0100 +++ /var/tmp/diff_new_pack.FEWhDD/_new 2022-10-31 12:15:20.802397868 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-debian -Version: 0.1.47 +Version: 0.1.48 Release: 0 Summary: Debian package related modules License: GPL-3.0-or-later ++++++ python-debian-0.1.47.tar.gz -> python-debian-0.1.48.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/PKG-INFO new/python-debian-0.1.48/PKG-INFO --- old/python-debian-0.1.47/PKG-INFO 2022-08-28 10:29:25.833675000 +0200 +++ new/python-debian-0.1.48/PKG-INFO 2022-10-15 07:04:02.387403700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: python-debian -Version: 0.1.47 +Version: 0.1.48 Summary: Debian package related modules Home-page: https://salsa.debian.org/python-debian-team/python-debian Maintainer: Debian python-debian Maintainers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/lib/debian/_deb822_repro/_util.py new/python-debian-0.1.48/lib/debian/_deb822_repro/_util.py --- old/python-debian-0.1.47/lib/debian/_deb822_repro/_util.py 2022-08-28 10:20:30.000000000 +0200 +++ new/python-debian-0.1.48/lib/debian/_deb822_repro/_util.py 2022-09-11 03:35:03.000000000 +0200 @@ -116,10 +116,10 @@ return _impl -if sys.version_info >= (3, 8) or TYPE_CHECKING: +if sys.version_info >= (3, 9) or TYPE_CHECKING: _bufferingIterator_Base = collections.abc.Iterator[T] else: - # Python 3.5 - 3.7 compat - we are not allowed to subscript the abc.Iterator + # Python 3.5 - 3.8 compat - we are not allowed to subscript the abc.Iterator # - use this little hack to work around it class _bufferingIterator_Base(collections.abc.Iterator, Generic[T], ABC): pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/lib/debian/_deb822_repro/parsing.py new/python-debian-0.1.48/lib/debian/_deb822_repro/parsing.py --- old/python-debian-0.1.47/lib/debian/_deb822_repro/parsing.py 2022-08-28 10:20:36.000000000 +0200 +++ new/python-debian-0.1.48/lib/debian/_deb822_repro/parsing.py 2022-10-15 07:03:08.000000000 +0200 @@ -133,10 +133,10 @@ self._node = None -if sys.version_info >= (3, 8) or TYPE_CHECKING: +if sys.version_info >= (3, 9) or TYPE_CHECKING: _Deb822ParsedTokenList_ContextManager = contextlib.AbstractContextManager[T] else: - # Python 3.5 - 3.7 compat - we are not allowed to subscript the abc.Iterator + # Python 3.5 - 3.8 compat - we are not allowed to subscript the abc.Iterator # - use this little hack to work around it # Note that Python 3.5 is so old that it does not have AbstractContextManager, # so we re-implement it here. @@ -1305,10 +1305,10 @@ if not x.is_comment) -if sys.version_info >= (3, 8) or TYPE_CHECKING: +if sys.version_info >= (3, 9) or TYPE_CHECKING: _ParagraphMapping_Base = collections.abc.Mapping[ParagraphKey, T] else: - # Python 3.5 - 3.7 compat - we are not allowed to subscript the abc.Iterator + # Python 3.5 - 3.8 compat - we are not allowed to subscript the abc.Iterator # - use this little hack to work around it class _ParagraphMapping_Base(collections.abc.Mapping, Generic[T], ABC): pass @@ -2480,7 +2480,10 @@ if not isinstance(item, (str, tuple, Deb822FieldNameToken)): return False item = cast('ParagraphKey', item) - return self.get_kvpair_element(item, use_get=True) is not None + try: + return self.get_kvpair_element(item, use_get=True) is not None + except AmbiguousDeb822FieldKeyError: + return True def set_kvpair_element(self, key, value): # type: (ParagraphKey, Deb822KeyValuePairElement) -> None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/lib/debian/_version.py new/python-debian-0.1.48/lib/debian/_version.py --- old/python-debian-0.1.47/lib/debian/_version.py 2022-08-28 10:29:23.000000000 +0200 +++ new/python-debian-0.1.48/lib/debian/_version.py 2022-10-15 07:04:00.000000000 +0200 @@ -1,3 +1,3 @@ """ Version of the package """ -__version__ = '0.1.47' +__version__ = '0.1.48' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/lib/debian/substvars.py new/python-debian-0.1.48/lib/debian/substvars.py --- old/python-debian-0.1.47/lib/debian/substvars.py 2022-07-07 02:41:07.000000000 +0200 +++ new/python-debian-0.1.48/lib/debian/substvars.py 2022-09-11 03:35:03.000000000 +0200 @@ -116,11 +116,11 @@ return self.resolve() == other.resolve() -if sys.version_info >= (3, 8) or TYPE_CHECKING: +if sys.version_info >= (3, 9) or TYPE_CHECKING: class _Substvars_Base(contextlib.AbstractContextManager[T], MutableMapping[str, str], ABC): pass else: - # Python 3.5 - 3.7 compat - we are not allowed to subscript the abc.MutableMapping + # Python 3.5 - 3.8 compat - we are not allowed to subscript the abc.MutableMapping # - use this little hack to work around it # Note that Python 3.5 is so old that it does not have AbstractContextManager, # so we re-implement it here as well. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-debian-0.1.47/lib/python_debian.egg-info/PKG-INFO new/python-debian-0.1.48/lib/python_debian.egg-info/PKG-INFO --- old/python-debian-0.1.47/lib/python_debian.egg-info/PKG-INFO 2022-08-28 10:29:25.000000000 +0200 +++ new/python-debian-0.1.48/lib/python_debian.egg-info/PKG-INFO 2022-10-15 07:04:01.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: python-debian -Version: 0.1.47 +Version: 0.1.48 Summary: Debian package related modules Home-page: https://salsa.debian.org/python-debian-team/python-debian Maintainer: Debian python-debian Maintainers
participants (1)
-
Source-Sync