From 6a5b22753210e3b45e0f8fbdcc1f9e7c9653a4a86d7adb28eb14842a2846cb34 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 24 Feb 2022 11:19:59 +0000 Subject: [PATCH] Accepting request 957229 from system:homeautomation:home-assistant:unstable - update to 6.0.2: - Use ``METH_FASTCALL`` where it makes sense. ``MultiDict.add()`` is 2.2 times faster now, ``CIMultiDict.add()`` is 1.5 times faster. The same boost is applied to ``get*()``, ``setdefault()``, and ``pop*()`` methods. (:issue:`681`) - Fixed type annotations for keys of multidict mapping classes. (:issue:`644`) - Support Multidict[int] for pure-python version. ``__class_getitem__`` is already provided by C Extension, making it work with the pure-extension too. (:issue:`678`) - Dropped Python 3.6 support (:issue:`680`) OBS-URL: https://build.opensuse.org/request/show/957229 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multidict?expand=0&rev=36 --- multidict-5.1.0.tar.gz | 3 --- multidict-6.0.2.tar.gz | 3 +++ python-multidict.changes | 12 ++++++++++++ python-multidict.spec | 6 +++--- 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 multidict-5.1.0.tar.gz create mode 100644 multidict-6.0.2.tar.gz diff --git a/multidict-5.1.0.tar.gz b/multidict-5.1.0.tar.gz deleted file mode 100644 index 8ef755b..0000000 --- a/multidict-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5 -size 53685 diff --git a/multidict-6.0.2.tar.gz b/multidict-6.0.2.tar.gz new file mode 100644 index 0000000..5bf286f --- /dev/null +++ b/multidict-6.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013 +size 50334 diff --git a/python-multidict.changes b/python-multidict.changes index 19d12d0..711666e 100644 --- a/python-multidict.changes +++ b/python-multidict.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Feb 24 08:14:48 UTC 2022 - Adrian Schröter + +- update to 6.0.2: + - Use ``METH_FASTCALL`` where it makes sense. + ``MultiDict.add()`` is 2.2 times faster now, ``CIMultiDict.add()`` is 1.5 times faster. + The same boost is applied to ``get*()``, ``setdefault()``, and ``pop*()`` methods. (:issue:`681`) + - Fixed type annotations for keys of multidict mapping classes. (:issue:`644`) + - Support Multidict[int] for pure-python version. + ``__class_getitem__`` is already provided by C Extension, making it work with the pure-extension too. (:issue:`678`) + - Dropped Python 3.6 support (:issue:`680`) + ------------------------------------------------------------------- Sun Dec 20 09:35:53 UTC 2020 - Dirk Müller diff --git a/python-multidict.spec b/python-multidict.spec index e7673f4..8d3dc9c 100644 --- a/python-multidict.spec +++ b/python-multidict.spec @@ -1,7 +1,7 @@ # # spec file for package python-multidict # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 Name: python-multidict -Version: 5.1.0 +Version: 6.0.2 Release: 0 Summary: Multidict implementation License: Apache-2.0 @@ -47,7 +48,6 @@ export CFLAGS="%{optflags}" %install %python_install -%python_expand rm %{buildroot}%{$python_sitearch}/multidict/*.c %{buildroot}%{$python_sitearch}/multidict/_multilib/*.h %python_expand %fdupes %{buildroot}%{$python_sitearch} %check