pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-lmdb



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jun 10 13:05:50 UTC 2026

Modified Files:
        pkgsrc/databases/py-lmdb: Makefile PLIST distinfo

Log Message:
py-lmdb: updated to 2.2.1

2.2.1

Improvements

- ``lmdb.aio`` async wrapper methods (on ``AsyncEnvironment``,
    ``AsyncTransaction``, and ``AsyncCursor``) are now real class
    attributes rather than synthesized by ``__getattr__``, making them
    visible to ``dir()``, ``inspect.signature()``, ``help()``, IPython,
    and stubtest. Non-callable attributes still proxy through.

- Added type stubs for the ``lmdb.aio`` module.

Fixes

- Fix a segmentation fault on Linux/aarch64 when an ``Environment`` is
    closed from a different thread than the one holding an active write
    transaction. ``Environment.close()`` now waits for the owning thread
    to release the write transaction before unmapping the lock file.

- Reject adversarial on-disk values that could overflow size arithmetic
    or cause implementation-defined narrowing of ``mv_size`` when reading
    crafted databases.

- Fix crashes on out-of-memory conditions in the CPython extension's
    error paths.

- Fix and modernize the type stubs, including ``__all__`` exports and the
    ``Cursor.iter*`` parameter defaults in ``__init__.pyi``.

Other

- Remove remaining Python 2 compatibility code.

- Run the test suite natively on Linux/aarch64 in CI; previously aarch64
    wheels were built but never tested.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/py-lmdb/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/py-lmdb/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/databases/py-lmdb/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-lmdb/Makefile
diff -u pkgsrc/databases/py-lmdb/Makefile:1.12 pkgsrc/databases/py-lmdb/Makefile:1.13
--- pkgsrc/databases/py-lmdb/Makefile:1.12      Fri May 29 12:36:36 2026
+++ pkgsrc/databases/py-lmdb/Makefile   Wed Jun 10 13:05:50 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2026/05/29 12:36:36 adam Exp $
+# $NetBSD: Makefile,v 1.13 2026/06/10 13:05:50 adam Exp $
 
-DISTNAME=      lmdb-2.2.0
+DISTNAME=      lmdb-2.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lmdb/}

Index: pkgsrc/databases/py-lmdb/PLIST
diff -u pkgsrc/databases/py-lmdb/PLIST:1.5 pkgsrc/databases/py-lmdb/PLIST:1.6
--- pkgsrc/databases/py-lmdb/PLIST:1.5  Fri May 29 12:36:36 2026
+++ pkgsrc/databases/py-lmdb/PLIST      Wed Jun 10 13:05:50 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2026/05/29 12:36:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/06/10 13:05:50 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -16,6 +16,7 @@ ${PYSITELIB}/lmdb/_config.pyc
 ${PYSITELIB}/lmdb/_config.pyo
 ${PYSITELIB}/lmdb/aio.py
 ${PYSITELIB}/lmdb/aio.pyc
+${PYSITELIB}/lmdb/aio.pyi
 ${PYSITELIB}/lmdb/aio.pyo
 ${PYSITELIB}/lmdb/cffi.py
 ${PYSITELIB}/lmdb/cffi.pyc

Index: pkgsrc/databases/py-lmdb/distinfo
diff -u pkgsrc/databases/py-lmdb/distinfo:1.10 pkgsrc/databases/py-lmdb/distinfo:1.11
--- pkgsrc/databases/py-lmdb/distinfo:1.10      Fri May 29 12:36:36 2026
+++ pkgsrc/databases/py-lmdb/distinfo   Wed Jun 10 13:05:50 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2026/05/29 12:36:36 adam Exp $
+$NetBSD: distinfo,v 1.11 2026/06/10 13:05:50 adam Exp $
 
-BLAKE2s (lmdb-2.2.0.tar.gz) = 496e1e149bc58c9155442951d250df7db1713f95292a90614923d2053b7cdea8
-SHA512 (lmdb-2.2.0.tar.gz) = 7f0767e938ed9dd447e1e7a84385e51bb680f993f10b0a7b7f6fe2c811ec5f97ada9cad688127bd0cff68279b527c49ac13730d12a692ba89a476afa5852aac5
-Size (lmdb-2.2.0.tar.gz) = 933189 bytes
+BLAKE2s (lmdb-2.2.1.tar.gz) = 230d8d78c29a3e576baea547054821893328cdc17ef6fb8908eaaf20e7323d71
+SHA512 (lmdb-2.2.1.tar.gz) = 3a20a20e0efbf8dd242a7a76c3966595c33b98d6af53f5bd38ad7c39dcbba9ab87333ae09b50ae31cd7098d3eecdce23736f000a08097a4ce345a8aa272d000d
+Size (lmdb-2.2.1.tar.gz) = 938665 bytes



Home | Main Index | Thread Index | Old Index