pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-multidict



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 30 20:43:19 UTC 2025

Modified Files:
        pkgsrc/databases/py-multidict: Makefile distinfo

Log Message:
py-multidict: updated to 6.6.2

6.6.2

Bug fixes

- Fixed a memory corruption issue in the C implementation of ``_md_shrink()`` that could lead to segmentation faults and data loss when items were deleted from a :class:`~multidict.MultiDict`. The 
issue was an edge case in the pointer arithmetic during the compaction phase
- Fixed format string compilation errors in debug builds on 32-bit platforms by using portable ``%zd`` format specifiers for ``Py_ssize_t`` values instead of ``%ld``

Packaging updates and notes for downstreams

- Re-enabled 32-bit Linux wheel builds that were disabled by default in cibuildwheel 3.0.0

6.6.1

Bug fixes

- If :meth:`multidict.MultiDict.extend`, :meth:`multidict.MultiDict.merge`, or :meth:`multidict.MultiDict.update` raises an exception, now the multidict internal state is correctly restored.

Contributor-facing changes

- Fixed ``setuptools`` deprecation warning about the license specification
- Fix compiler warnings and convert them to errors

6.6.0

Features

- Added :meth:`multidict.MultiDict.merge` which copies all items from arguments if its key
  not exist in the dictionary
- Stopped reallocating memory for the internal ``htkeys_t`` structure when inserting new items if the
  multidict has deleted items and it could be collapsed in-place.  Removal of
  ``malloc()``/``free()`` improves the performance slightly.
  The change affects C implementation only, pure Python code is not changed.
- C implementation of :class:`multidict.MultiDict.getall` now is slightly faster if it returns nothing

Improved documentation

- Replaced docstring for :meth:`multidict.MultiDict.update` to don't use RST/markdown markup.
- Improved documentation for :meth:`multidict.MultiDict.extend` and :meth:`multidict.MultiDict.update`

Contributor-facing changes

- When building wheels, the source distribution is now passed directly
  to the ``cibuildwheel`` invocation
- Set up ``PYTHONHASHSEED`` for benchmarks execution to make measured times stable


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/databases/py-multidict/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/databases/py-multidict/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-multidict/Makefile
diff -u pkgsrc/databases/py-multidict/Makefile:1.35 pkgsrc/databases/py-multidict/Makefile:1.36
--- pkgsrc/databases/py-multidict/Makefile:1.35 Tue May 20 05:45:54 2025
+++ pkgsrc/databases/py-multidict/Makefile      Mon Jun 30 20:43:18 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2025/05/20 05:45:54 adam Exp $
+# $NetBSD: Makefile,v 1.36 2025/06/30 20:43:18 adam Exp $
 
-DISTNAME=      multidict-6.4.4
+DISTNAME=      multidict-6.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/multidict/}

Index: pkgsrc/databases/py-multidict/distinfo
diff -u pkgsrc/databases/py-multidict/distinfo:1.34 pkgsrc/databases/py-multidict/distinfo:1.35
--- pkgsrc/databases/py-multidict/distinfo:1.34 Tue May 20 05:45:54 2025
+++ pkgsrc/databases/py-multidict/distinfo      Mon Jun 30 20:43:18 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2025/05/20 05:45:54 adam Exp $
+$NetBSD: distinfo,v 1.35 2025/06/30 20:43:18 adam Exp $
 
-BLAKE2s (multidict-6.4.4.tar.gz) = b5ac434f8181d04893f1e778009da0f05d821290d8a9efdddd57bff7959cc260
-SHA512 (multidict-6.4.4.tar.gz) = 93b4975ff310c78526c116f6ccc800d310e3df4e8981120975642476d6354653451c4cfa6034f627a58736bb683978ef3e1c8ddb4df3308293011a0c1c1f2557
-Size (multidict-6.4.4.tar.gz) = 90183 bytes
+BLAKE2s (multidict-6.6.2.tar.gz) = 12dd5646e8800886e51eda0ef683348b763193bf6a5ec364dd89ac01463fc7bf
+SHA512 (multidict-6.6.2.tar.gz) = f29a05997d8ed87b9b2fb55c7b973af50ef646f53029657db46fc16055294f99e6abb329c0a165a5767a1c7b0fffc17419b90461c33f728837b2969ba246d809
+Size (multidict-6.6.2.tar.gz) = 100939 bytes



Home | Main Index | Thread Index | Old Index