py-multidict: update to 6.0.0.

Features
--------

- 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`)


Bugfixes
--------

- 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`)


Deprecations and Removals
-------------------------

- Dropped Python 3.6 support (:issue:`680`)
This commit is contained in:
wiz 2022-01-24 10:02:23 +00:00
parent eb69c14db0
commit 8a383e952c
3 changed files with 7 additions and 15 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.26 2022/01/04 20:52:43 wiz Exp $
# $NetBSD: Makefile,v 1.27 2022/01/24 10:02:23 wiz Exp $
DISTNAME= multidict-5.2.0
DISTNAME= multidict-6.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/multidict/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.10 2020/01/03 08:32:02 adam Exp $
@comment $NetBSD: PLIST,v 1.11 2022/01/24 10:02:23 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -13,7 +13,6 @@ ${PYSITELIB}/multidict/_abc.pyo
${PYSITELIB}/multidict/_compat.py
${PYSITELIB}/multidict/_compat.pyc
${PYSITELIB}/multidict/_compat.pyo
${PYSITELIB}/multidict/_multidict.c
${PYSITELIB}/multidict/_multidict.so
${PYSITELIB}/multidict/_multidict_base.py
${PYSITELIB}/multidict/_multidict_base.pyc
@ -21,10 +20,4 @@ ${PYSITELIB}/multidict/_multidict_base.pyo
${PYSITELIB}/multidict/_multidict_py.py
${PYSITELIB}/multidict/_multidict_py.pyc
${PYSITELIB}/multidict/_multidict_py.pyo
${PYSITELIB}/multidict/_multilib/defs.h
${PYSITELIB}/multidict/_multilib/dict.h
${PYSITELIB}/multidict/_multilib/istr.h
${PYSITELIB}/multidict/_multilib/iter.h
${PYSITELIB}/multidict/_multilib/pair_list.h
${PYSITELIB}/multidict/_multilib/views.h
${PYSITELIB}/multidict/py.typed

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.26 2021/10/26 10:09:51 nia Exp $
$NetBSD: distinfo,v 1.27 2022/01/24 10:02:23 wiz Exp $
BLAKE2s (multidict-5.2.0.tar.gz) = 1ac9ed47dd2d1b1235dbcfb02b235b16a06af098d63ca8458f1f26703f7adcf1
SHA512 (multidict-5.2.0.tar.gz) = d775a208f03ca99cb21bf35411c2f8405ef062ef48c91267e77d0d7c052d0c761f241b1e0a178882aca68ea153ff449214cf0d15a206a7949385d1b9cc87ab4d
Size (multidict-5.2.0.tar.gz) = 49004 bytes
BLAKE2s (multidict-6.0.0.tar.gz) = c14c567d98ed4277aa2ac3e591d0ca816a0e5ef149a975327fbe459659f83680
SHA512 (multidict-6.0.0.tar.gz) = 6c1f12b0e0621a24dbdc142b9016354a5235dd171e558d09fce1a107cd76305a9c76675016113f8a7b8456dc4c33f849a543037ede68482e0f927b3e2a0449a7
Size (multidict-6.0.0.tar.gz) = 49475 bytes