Hello community, here is the log from the commit of package python-multidict for openSUSE:Factory checked in at 2018-08-31 10:45:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-multidict (Old) and /work/SRC/openSUSE:Factory/.python-multidict.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-multidict" Fri Aug 31 10:45:46 2018 rev:8 rq:632133 version:4.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-multidict/python-multidict.changes 2018-04-19 15:29:32.358930674 +0200 +++ /work/SRC/openSUSE:Factory/.python-multidict.new/python-multidict.changes 2018-08-31 10:45:56.035310231 +0200 @@ -1,0 +2,6 @@ +Wed Aug 29 10:48:21 UTC 2018 - [email protected] + +- Update to 4.3.1: + * No obvious changelog + +------------------------------------------------------------------- Old: ---- multidict-4.2.0.tar.gz New: ---- multidict-4.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-multidict.spec ++++++ --- /var/tmp/diff_new_pack.T4n34t/_old 2018-08-31 10:45:57.639312177 +0200 +++ /var/tmp/diff_new_pack.T4n34t/_new 2018-08-31 10:45:57.643312182 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-multidict -Version: 4.2.0 +Version: 4.3.1 Release: 0 Summary: Multidict implementation License: Apache-2.0 @@ -27,7 +27,7 @@ URL: https://github.com/aio-libs/multidict Source: https://files.pythonhosted.org/packages/source/m/multidict/multidict-%{version}.tar.gz BuildRequires: %{python_module Cython} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.4.1} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} ++++++ multidict-4.2.0.tar.gz -> multidict-4.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/PKG-INFO new/multidict-4.3.1/PKG-INFO --- old/multidict-4.2.0/PKG-INFO 2018-04-15 12:09:13.000000000 +0200 +++ new/multidict-4.3.1/PKG-INFO 2018-05-06 20:39:52.000000000 +0200 @@ -1,20 +1,20 @@ Metadata-Version: 1.2 Name: multidict -Version: 4.2.0 +Version: 4.3.1 Summary: multidict implementation Home-page: https://github.com/aio-libs/multidict Author: Andrew Svetlov Author-email: [email protected] License: Apache 2 +Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict +Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby +Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues Project-URL: CI: Circle, https://circleci.com/gh/aio-libs/multidict -Project-URL: CI: Shippable, https://app.shippable.com/github/aio-libs/multidict Project-URL: GitHub: repo, https://github.com/aio-libs/multidict -Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict Project-URL: CI: AppVeyor, https://ci.appveyor.com/project/asvetlov/multidict Project-URL: CI: Travis, https://travis-ci.org/aio-libs/multidict Project-URL: Docs: RTD, https://multidict.readthedocs.io -Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby -Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues +Project-URL: CI: Shippable, https://app.shippable.com/github/aio-libs/multidict Description: ========= multidict ========= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/docs/changes.rst new/multidict-4.3.1/docs/changes.rst --- old/multidict-4.2.0/docs/changes.rst 2018-04-15 12:08:28.000000000 +0200 +++ new/multidict-4.3.1/docs/changes.rst 2018-05-06 20:39:05.000000000 +0200 @@ -1,6 +1,16 @@ .. _changes: -4.2.0 (2018-01-15) +4.3.1 (2018-05-06) +------------------ + +* Fix a typo in multidict stub file. + +4.3.0 (2018-05-06) +------------------ + +* Polish type hints, make multidict type definitions generic. + +4.2.0 (2018-04-15) ------------------ * Publish ``py.typed`` flag for type hinting analyzers (``mypy`` etc). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/multidict/__init__.py new/multidict-4.3.1/multidict/__init__.py --- old/multidict-4.2.0/multidict/__init__.py 2018-04-15 12:08:28.000000000 +0200 +++ new/multidict-4.3.1/multidict/__init__.py 2018-05-06 20:39:05.000000000 +0200 @@ -12,7 +12,7 @@ 'MultiDictProxy', 'CIMultiDictProxy', 'MultiDict', 'CIMultiDict', 'upstr', 'istr') -__version__ = '4.2.0' +__version__ = '4.3.1' from ._abc import MultiMapping, MutableMultiMapping diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/multidict/__init__.pyi new/multidict-4.3.1/multidict/__init__.pyi --- old/multidict-4.2.0/multidict/__init__.pyi 2018-04-15 12:08:28.000000000 +0200 +++ new/multidict-4.3.1/multidict/__init__.pyi 2018-05-06 20:39:05.000000000 +0200 @@ -1,9 +1,10 @@ -from typing import Any, Mapping, MutableMapping, List, Union, Iterable -from typing import KeysView, ValuesView, ItemsView, Iterator, Tuple -from typing import overload, TypeVar, Generic, Optional +from typing import (Mapping, MutableMapping, List, Union, Iterable, + Iterator, TypeVar, Generic, Tuple, Dict) -class istr(str): ... +class istr(str): + pass + upstr = istr @@ -12,87 +13,86 @@ _T = TypeVar('_T') -class MultiMapping(Mapping[_S, _T]): - def getall(self, key: _S, default: _T=...) -> List[_T]: ... - def getone(self, key: _S, default: _T=...) -> _T: ... +class MultiMapping(Mapping[_S, _T], Generic[_T]): + def getall(self, key: _S, default: _T = ...) -> List[_T]: ... + + def getone(self, key: _S, default: _T = ...) -> _T: ... + + +_Arg = Union[Mapping[_S, _T], + Dict[_S, _T], + MultiMapping[_T], + Iterable[Tuple[_S, _T]]] class MutableMultiMapping(MultiMapping[_T], - MutableMapping[_S, _T]): + MutableMapping[_S, _T], + Generic[_T]): def add(self, key: _S, value: _T) -> None: ... - @overload - def extend(self, dct: MultiDict[_T]) -> None: ... - @overload - def extend(self, map: Mapping[_S, _T]) -> None: ... - @overload - def extend(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ... - - @overload - def popone(self, key: _S) -> _T: ... - @overload - def popone(self, key: _S, default: _T=...) -> _T: ... - - @overload - def popall(self, key: _S) -> List[_T]: ... - @overload - def popall(self, key: _S, default: _T=...) -> List[_T]: ... - - -class MultiDict(MutableMultiMapping[_T]): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, map: Mapping[_S, _T]) -> None: ... - @overload - def __init__(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ... + def extend(self, arg: _Arg = ..., **kwargs: _T) -> None: ... - def copy(self) -> MultiDict[_T]: ... + def popone(self, key: _S, default: _T = ...) -> _T: ... + + def popall(self, key: _S, default: _T = ...) -> List[_T]: ... +class MultiDict(MutableMultiMapping[_T], Generic[_T]): + def __init__(self, arg: _Arg = ..., **kwargs: _T) -> None: ... + + def copy(self) -> MultiDict[_T]: ... + def __getitem__(self, k: _S) -> _T: ... + def __setitem__(self, k: _S, v: _T) -> None: ... + def __delitem__(self, v: _S) -> None: ... + def __iter__(self) -> Iterator[_S]: ... + def __len__(self) -> int: ... -class CIMultiDict(MutableMultiMapping[_T]): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, map: Mapping[_S, _T]) -> None: ... - @overload - def __init__(self, iterable: Iterable[Tuple[_S, _T]]) -> None: ... +class CIMultiDict(MutableMultiMapping[_T], Generic[_T]): + def __init__(self, arg: _Arg = ..., **kwargs: _T) -> None: ... def copy(self) -> CIMultiDict[_T]: ... def __getitem__(self, k: _S) -> _T: ... + def __setitem__(self, k: _S, v: _T) -> None: ... + def __delitem__(self, v: _S) -> None: ... + def __iter__(self) -> Iterator[_S]: ... + def __len__(self) -> int: ... -class MultiDictProxy(MultiMapping[_T]): +class MultiDictProxy(MultiMapping[_T], Generic[_T]): def __init__(self, arg: Union[MultiMapping[_T], MutableMultiMapping[_T]]) -> None: ... def copy(self) -> MultiDictProxy[_T]: ... def __getitem__(self, k: _S) -> _T: ... + def __iter__(self) -> Iterator[_S]: ... + def __len__(self) -> int: ... -class CIMultiDictProxy(MultiMapping[_T]): +class CIMultiDictProxy(MultiMapping[_T], Generic[_T]): def __init__(self, arg: Union[MultiMapping[_T], MutableMultiMapping[_T]]) -> None: ... + def copy(self) -> CIMultiDictProxy[_T]: ... def __getitem__(self, k: _S) -> _T: ... + def __iter__(self) -> Iterator[_S]: ... + def __len__(self) -> int: ... Binary files old/multidict-4.2.0/multidict/_istr.pyd and new/multidict-4.3.1/multidict/_istr.pyd differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/multidict/_multidict.c new/multidict-4.3.1/multidict/_multidict.c --- old/multidict-4.2.0/multidict/_multidict.c 2018-04-15 12:09:09.000000000 +0200 +++ new/multidict-4.3.1/multidict/_multidict.c 2018-05-06 20:39:46.000000000 +0200 @@ -1,4 +1,4 @@ -/* Generated by Cython 0.28.1 */ +/* Generated by Cython 0.28.2 */ /* BEGIN: Cython Metadata { @@ -20,7 +20,7 @@ #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython requires Python 2.6+ or Python 3.3+. #else -#define CYTHON_ABI "0_28_1" +#define CYTHON_ABI "0_28_2" #define CYTHON_FUTURE_DIVISION 0 #include <stddef.h> #ifndef offsetof @@ -20070,7 +20070,7 @@ __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0); /*--- Type import code ---*/ __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", - #if CYTHON_COMPILING_IN_PYPY + #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 sizeof(PyTypeObject), #else sizeof(PyHeapTypeObject), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/multidict.egg-info/PKG-INFO new/multidict-4.3.1/multidict.egg-info/PKG-INFO --- old/multidict-4.2.0/multidict.egg-info/PKG-INFO 2018-04-15 12:09:12.000000000 +0200 +++ new/multidict-4.3.1/multidict.egg-info/PKG-INFO 2018-05-06 20:39:52.000000000 +0200 @@ -1,20 +1,20 @@ Metadata-Version: 1.2 Name: multidict -Version: 4.2.0 +Version: 4.3.1 Summary: multidict implementation Home-page: https://github.com/aio-libs/multidict Author: Andrew Svetlov Author-email: [email protected] License: Apache 2 +Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict +Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby +Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues Project-URL: CI: Circle, https://circleci.com/gh/aio-libs/multidict -Project-URL: CI: Shippable, https://app.shippable.com/github/aio-libs/multidict Project-URL: GitHub: repo, https://github.com/aio-libs/multidict -Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/multidict Project-URL: CI: AppVeyor, https://ci.appveyor.com/project/asvetlov/multidict Project-URL: CI: Travis, https://travis-ci.org/aio-libs/multidict Project-URL: Docs: RTD, https://multidict.readthedocs.io -Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby -Project-URL: GitHub: issues, https://github.com/aio-libs/multidict/issues +Project-URL: CI: Shippable, https://app.shippable.com/github/aio-libs/multidict Description: ========= multidict ========= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multidict-4.2.0/tests/test_mypy.py new/multidict-4.3.1/tests/test_mypy.py --- old/multidict-4.2.0/tests/test_mypy.py 2018-04-15 12:08:28.000000000 +0200 +++ new/multidict-4.3.1/tests/test_mypy.py 2018-05-06 20:39:05.000000000 +0200 @@ -2,8 +2,8 @@ def test_classes_not_abstract() -> None: - d1 = multidict.MultiDict({'a': 'b'}) - d2 = multidict.CIMultiDict({'a': 'b'}) + d1 = multidict.MultiDict({'a': 'b'}) # type: multidict.MultiDict[str] + d2 = multidict.CIMultiDict({'a': 'b'}) # type: multidict.CIMultiDict[str] d3 = multidict.MultiDictProxy(d1) d4 = multidict.CIMultiDictProxy(d2)
