Commit graph

30 commits

Author SHA1 Message Date
wiz
95032d4391 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-31 11:57:54 +00:00
wiz
8a383e952c 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-24 10:02:23 +00:00
wiz
8a9cb53cf6 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:52:30 +00:00
nia
acde260c8b databases: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
2021-10-26 10:09:13 +00:00
adam
b25a9a0337 py-multidict: updated to 5.2.0
5.2.0 (2021-10-03)
=====================

Features
- 1. Added support Python 3.10
  2. Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes.
  3. Started shipping platform-specific arm64 wheels for Apple Silicon.

Bugfixes
- Fixed pure-python implementation that used to raise "Dictionary changed during iteration" error when iterated view (``.keys()``, ``.values()`` or ``.items()``) was created before the dictionary's content change.
2021-10-09 19:22:45 +00:00
nia
2946ea15ca databases: Remove SHA1 distfile hashes 2021-10-07 13:35:05 +00:00
adam
a49e655aaa py-multidict: updated to 5.1.0
5.1.0 (2020-12-03)
==================

Features
--------
- Support ``GenericAliases`` (``MultiDict[str]``) for Python 3.9+

Bugfixes
--------
- Synchronize the declared supported Python versions in ``setup.py`` with actually supported and tested ones.
2020-12-07 15:49:30 +00:00
adam
533aac7c05 py-multidict: updated to 5.0.2
multidict 5.0.2 release

Fox a bug in release process, upload x86 Windows wheels


multidict 5.0.1 release

Bugfixes
Provide x86 Windows wheels
2020-11-16 13:13:37 +00:00
wen
3b363a8e11 Update to 5.0.0
Upstream changes:
5.0.0 (2020-10-12)
Features
    Provide wheels for aarch64, i686, ppc64le, s390x architectures on Linux as well as x86_64. #500
    Provide wheels for Python 3.9. #534
Removal
    Drop Python 3.5 support; Python 3.6 is the minimal supported Python version.
2020-10-25 15:45:36 +00:00
adam
944053b668 py-multidict: updated to 4.7.6
4.7.6:
Bugfixes
- Fixed an issue with some versions of the ``wheel`` dist
  failing because of being unable to detect the license file.
2020-05-15 08:30:03 +00:00
adam
2da45c9c4c py-multidict: updated to 4.7.5
4.7.5:

Bugfixes
- Fixed creating and updating of MultiDict from a sequence of pairs and keyword arguments. Previously passing a list argument modified it inplace, and other sequences caused an error.
- Fixed comparing with mapping: an exception raised in the `__len__` method caused raising a SyntaxError.
- Fixed comparing with mapping: all exceptions raised in the `__getitem__` method were silenced.
2020-02-22 06:51:45 +00:00
adam
b2619cb398 py-multidict: updated to 4.7.4
4.7.4:
Bugfixes
- ``MultiDict.iter`` fix memory leak when used iterator over `multidict` instance.
2020-01-13 11:03:25 +00:00
adam
906018e8fd py-multidict: updated to 4.7.3
4.7.3:
Features
- Implement ``__sizeof__`` function to correctly calculate all internal structures size.
- Expose ``getversion()`` function.

Bugfixes
- Fix crashes in ``popone``/``popall`` when default is returned.

Improved Documentation
- Corrected the documentation for ``MultiDict.extend()``


4.7.2:
Bugfixes
- Fix crashing when multidict is used pyinstaller
- Fix typing for `CIMultiDict.copy`
- Fix memory leak in ``MultiDict.copy()``
2020-01-03 08:32:02 +00:00
adam
24e29dbe37 py-multidict: updated to 4.7.1
4.7.1:

Bugfixes
- `CIMultiDictProxy.copy` return object type `multidict._multidict.CIMultiDict`
- Make `CIMultiDict` subclassable again
- Fix regression, multidict can be constructed from arbitrary iterable of pairs again.
- `CIMultiDict.add` may be called with keyword arguments

Improved Documentation
- Mention ``MULTIDICT_NO_EXTENSIONS`` environment variable in docs.
- Document the fact that ``istr`` preserves the casing of argument untouched but uses internal lower-cased copy for keys comparison.
2019-12-15 11:16:06 +00:00
adam
d5d3c32675 py-multidict: updated to 4.7.0
4.7.0:

Features
- Replace Cython optimization with pure C
- Implement ``__length_hint__()`` for iterators
- Support the MultiDict[str] generic specialization in the runtime.
- Embed pair_list_t structure into MultiDict Python object
- Embed multidict pairs for small dictionaries to amortize the memory usage.
- Support weak references to C Extension classes.
- Add docstrings to provided classes.
- Merge ``multidict._istr`` back with ``multidict._multidict``.

Bugfixes
- Explicitly call ``tp_free`` slot on deallocation.
- Return class from __class_getitem__ to simplify subclassing
2019-12-11 08:58:35 +00:00
adam
415beca862 py-multidict: updated to 4.6.1
4.6.1:
Bugfixes
- Fix PyPI link for GitHub Issues badge.

4.6.0:
Bugfixes
- Fix GC object tracking.
- Preserve the case of `istr` strings.
- Generate binary wheels for Python 3.8.
2019-11-22 09:22:42 +00:00
adam
e0fa89a8c6 py-multidict: updated to 4.5.2
4.5.2:
* Fix another memory leak introduced by 4.5.0 release
2018-11-28 14:37:50 +00:00
adam
7e6e755f97 py-multidict: updated to 4.5.1
4.5.1:
* Fix a memory leak introduced by 4.5.0 release
2018-11-23 12:14:48 +00:00
adam
934ba9306c py-multidict: updated to 4.5.0
4.5.0:
Multidict views ported from Cython to C extension
2018-11-20 10:52:40 +00:00
adam
c73a84d9f2 py-multidict: updated to 4.4.2
Changes 4.4.2:
Restore Python 3.4 support

Changes 4.4.1:
Fix type annotations
Allow to install the library on systems without compilation toolset
2018-09-21 10:36:14 +00:00
adam
4ffe231c8a py-multidict: updated to 4.4.0
4.4.0:
Rewrite C implementation to use C pair list.
Fix update order when both arg and kwargs are used.
2018-09-06 14:04:16 +00:00
sevan
1986b5d001 Unbreak scan stage.
PYTHON_VERSIONS_INCOMPATIBLE is handled by lang/python/pyversion.mk
2018-08-28 13:44:00 +00:00
adam
4147949670 py-multidict: updated to 4.3.1
4.3.1:
Fix a typo in multidict stub file.

4.3.0:
Polish type hints, make multidict type definitions generic.
2018-05-08 04:20:31 +00:00
adam
29dbd14805 py-multidict: updated to 4.2.0
4.2.0:
Publish py.typed flag for type hinting analyzers (mypy etc).
2018-04-18 04:25:08 +00:00
adam
b28413961e py-multidict: updated to 4.1.0
4.1.0:
* Fix key casing in Pure Python implementation of CIMultiDict
2018-01-28 08:46:26 +00:00
adam
a05895629a py-multidict: updated to 4.0.0
4.0.0:
Accept multiple keys in MultiDict.update() and CIMultiDict.update()
2018-01-19 09:19:56 +00:00
adam
eeb5f6d2f8 py-multidict: updated to 3.3.2
3.3.2:
* Fix tarball (again)

3.3.1:
* Include .c files in tarball
2017-11-02 12:55:31 +00:00
adam
e3d584f546 py-multidict: update to 3.3.0
3.3.0:
* Introduce abstract base classes
* Publish OSX binary wheels
2017-10-16 06:37:08 +00:00
adam
43d167ffe3 databases/py-multidict: update to 3.2.0
3.2.0:
* Fix pickling
* Fix equality check when other contains more keys
2017-09-17 10:28:54 +00:00
adam
20cc8a5800 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.
2017-07-16 09:37:09 +00:00