Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-multidict for openSUSE:Factory checked in at 2023-01-03 15:04:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-multidict (Old) and /work/SRC/openSUSE:Factory/.python-multidict.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-multidict" Tue Jan 3 15:04:21 2023 rev:19 rq:1046222 version:6.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-multidict/python-multidict.changes 2022-12-08 16:50:12.791184518 +0100 +++ /work/SRC/openSUSE:Factory/.python-multidict.new.1563/python-multidict.changes 2023-01-03 15:04:27.114189974 +0100 @@ -1,0 +2,8 @@ +Mon Jan 2 15:34:00 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 6.0.4: + * Fixed a type annotations regression introduced in v6.0.2 under Python + versions <3.10. It was caused by importing certain types only available + in newer versions. (:issue:`798`) + +------------------------------------------------------------------- Old: ---- multidict-6.0.3.tar.gz New: ---- multidict-6.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-multidict.spec ++++++ --- /var/tmp/diff_new_pack.dNS24K/_old 2023-01-03 15:04:27.714193476 +0100 +++ /var/tmp/diff_new_pack.dNS24K/_new 2023-01-03 15:04:27.718193499 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-multidict # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-multidict -Version: 6.0.3 +Version: 6.0.4 Release: 0 Summary: Multidict implementation License: Apache-2.0 ++++++ multidict-6.0.3.tar.gz -> multidict-6.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/CHANGES.rst new/multidict-6.0.4/CHANGES.rst --- old/multidict-6.0.3/CHANGES.rst 2022-12-03 03:30:31.000000000 +0100 +++ new/multidict-6.0.4/CHANGES.rst 2022-12-24 02:28:03.000000000 +0100 @@ -14,6 +14,15 @@ .. towncrier release notes start +6.0.4 (2022-12-24) +================== + +Bugfixes +-------- + +- Fixed a type annotations regression introduced in v6.0.2 under Python versions <3.10. It was caused by importing certain types only available in newer versions. (:issue:`798`) + + 6.0.3 (2022-12-03) ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/Makefile new/multidict-6.0.4/Makefile --- old/multidict-6.0.3/Makefile 2022-12-03 03:30:31.000000000 +0100 +++ new/multidict-6.0.4/Makefile 2022-12-24 02:28:03.000000000 +0100 @@ -42,7 +42,7 @@ mypy: mypy -lint: flake8 black-check mypy isort-check check_changes +lint: mypy flake8 black-check isort-check check_changes fmt: black -t py35 $(SRC) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/PKG-INFO new/multidict-6.0.4/PKG-INFO --- old/multidict-6.0.3/PKG-INFO 2022-12-03 03:30:33.947507600 +0100 +++ new/multidict-6.0.4/PKG-INFO 2022-12-24 02:28:05.042532200 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: multidict -Version: 6.0.3 +Version: 6.0.4 Summary: multidict implementation Home-page: https://github.com/aio-libs/multidict Author: Andrew Svetlov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/docs/multidict.rst new/multidict-6.0.4/docs/multidict.rst --- old/multidict-6.0.3/docs/multidict.rst 2022-12-03 03:30:31.000000000 +0100 +++ new/multidict-6.0.4/docs/multidict.rst 2022-12-24 02:28:03.000000000 +0100 @@ -324,7 +324,7 @@ Case insensitive version of :class:`MultiDictProxy`. - Raises :exc:`TypeError` is *multidict* is not :class:`CIMultiDict` instance. + Raises :exc:`TypeError` if *multidict* is not :class:`CIMultiDict` instance. The class is inherited from :class:`MultiDict`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/multidict/__init__.py new/multidict-6.0.4/multidict/__init__.py --- old/multidict-6.0.3/multidict/__init__.py 2022-12-03 03:30:31.000000000 +0100 +++ new/multidict-6.0.4/multidict/__init__.py 2022-12-24 02:28:03.000000000 +0100 @@ -20,7 +20,7 @@ "getversion", ) -__version__ = "6.0.3" +__version__ = "6.0.4" try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/multidict/__init__.pyi new/multidict-6.0.4/multidict/__init__.pyi --- old/multidict-6.0.3/multidict/__init__.pyi 2022-12-03 03:30:31.000000000 +0100 +++ new/multidict-6.0.4/multidict/__init__.pyi 2022-12-24 02:28:03.000000000 +0100 @@ -1,12 +1,19 @@ import abc -from collections.abc import Iterable, Iterator, Mapping, MutableMapping -from typing import Generic, TypeAlias, TypeVar, overload +from typing import ( + Generic, + Iterable, + Iterator, + Mapping, + MutableMapping, + TypeVar, + overload, +) class istr(str): ... upstr = istr -_S: TypeAlias = str | istr +_S = str | istr _T = TypeVar("_T") @@ -28,9 +35,9 @@ @abc.abstractmethod def getone(self, key: _S, default: _D) -> _T_co | _D: ... -_Arg: TypeAlias = (Mapping[str, _T] | Mapping[istr, _T] | dict[str, _T] - | dict[istr, _T] | MultiMapping[_T] - | Iterable[tuple[str, _T]] | Iterable[tuple[istr, _T]]) +_Arg = (Mapping[str, _T] | Mapping[istr, _T] | dict[str, _T] + | dict[istr, _T] | MultiMapping[_T] + | Iterable[tuple[str, _T]] | Iterable[tuple[istr, _T]]) class MutableMultiMapping(MultiMapping[_T], MutableMapping[_S, _T], Generic[_T]): @abc.abstractmethod diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/multidict.egg-info/PKG-INFO new/multidict-6.0.4/multidict.egg-info/PKG-INFO --- old/multidict-6.0.3/multidict.egg-info/PKG-INFO 2022-12-03 03:30:33.000000000 +0100 +++ new/multidict-6.0.4/multidict.egg-info/PKG-INFO 2022-12-24 02:28:04.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: multidict -Version: 6.0.3 +Version: 6.0.4 Summary: multidict implementation Home-page: https://github.com/aio-libs/multidict Author: Andrew Svetlov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-6.0.3/setup.cfg new/multidict-6.0.4/setup.cfg --- old/multidict-6.0.3/setup.cfg 2022-12-03 03:30:33.947507600 +0100 +++ new/multidict-6.0.4/setup.cfg 2022-12-24 02:28:05.042532200 +0100 @@ -7,7 +7,7 @@ long_description = file: README.rst [flake8] -ignore = E302,E701,E305,E704,F811,N811, W503 +ignore = E302,E701,E305,E704,F811,N811,W503,Y026,Y027 max-line-length = 88 [isort]