./databases/py-multidict, Multidict implementation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.1.0, Package name: py312-multidict-6.1.0, Maintainer: pkgsrc-users

Multidict is dict-like collection of key-value pairs where key might be
occurred more than once in the container.

HTTP Headers and URL query string require specific data structure: multidict.
It behaves mostly like a regular dict but it may have several values for the
same key and preserves insertion ordering.


Required to run:
[devel/py-cython] [lang/python310]

Master sites:

Filesize: 62.502 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-09-10 10:25:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-multidict: updated to 6.1.0

6.1.0 (2024-09-09)

Bug fixes

- Covered the unreachable code path in
  ``multidict._multidict_base._abc_itemsview_register()``
  with typing

Features

- Added support for Python 3.13 -- by :user:`bdraco`.

Removals and backward incompatible breaking changes

- Removed Python 3.7 support
   2024-02-02 09:08:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-multidict: updated to 6.0.5

6.0.5 (2024-02-01)
==================

Bug fixes
---------

- Upgraded the C-API macros that have been deprecated in Python 3.9
  and later removed in 3.13 -- by :user:`iemelyanov`.

- Reverted to using the public argument parsing API
  :c:func:`PyArg_ParseTupleAndKeywords` under Python 3.12
  -- by :user:`charles-dyfis-net` and :user:`webknjaz`.

  The effect is that this change prevents build failures with
  clang 16.9.6 and gcc-14 reported in :issue:`926`. It also
  fixes a segmentation fault crash caused by passing keyword
  arguments to :py:meth:`MultiDict.getall()
  <multidict.MultiDict.getall>` discovered by :user:`jonaslb`
  and :user:`hroncok` while examining the problem.

- Fixed a ``SystemError: null argument to internal routine`` error on
  a ``MultiDict.items().isdisjoint()`` call when using C Extensions.
   2023-01-02 09:41:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-multidict: updated to 6.0.4

6.0.4

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.
   2022-12-09 12:11:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-multidict: updated to 6.0.3

6.0.3 (2022-12-03)
==================

Features
--------

- Declared the official support for Python 3.11
   2022-01-31 12:57:54 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py310-multidict: update to 6.0.2.

6.0.2 (2022-01-24)
==================

Bugfixes
--------

- Revert :issue:`644`, restore type annotations to as-of 5.2.0 version. \ 
(:issue:`688`)

6.0.1 (2022-01-23)
==================

Bugfixes
--------

- Restored back ``MultiDict``, ``CIMultiDict``, ``MultiDictProxy``, and
  ``CIMutiDictProxy`` generic type arguments; they are parameterized by value \ 
type, but the
  key type is fixed by container class.

  ``MultiDict[int]`` means ``MutableMultiMapping[str, int]``. The key type of
  ``MultiDict`` is always ``str``, while all str-like keys are accepted by API and
  converted to ``str`` internally.

  The same is true for ``CIMultiDict[int]`` which means ``MutableMultiMapping[istr,
  int]``. str-like keys are accepted but converted to ``istr`` internally. \ 
(:issue:`682`)
   2022-01-24 11:02:23 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
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`)
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS