BSD Ports

databases/py-lmdb 2.3.0 NetBSD

Universal Python binding for the LMDB

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
1466502a63
License
modified-bsd
Categories
databases, python
Package size
140.9 KiB, 729.0 KiB installed

Description

Provides Python binding for the LMDB "Lightning" Database.

In the other systems

SystemPortVersion
NetBSDdatabases/py-lmdb2.3.0
FreeBSDdatabases/py-lmdb2.2.0_2
OpenBSDdatabases/py-lmdb2.2.1
DragonFlydatabases/py-lmdb0.97_1

Install

Binary package:

pkgin install py311-lmdb

From pkgsrc:

cd /usr/pkgsrc/databases/py-lmdb && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-lmdb-2.3.0, py313-lmdb-2.3.0, py314-lmdb-2.3.0

Commit history 1

DateCommitCreditsLog message
1466502a63 adam py-lmdb: updated to 2.3.0
2.3.0 Bug fixes - ``lmdb.aio``: an async write transaction is now pinned to a private single-thread executor, so its ``begin``, operations, and ``commit``/``abort`` all run on one OS thread. Previously they were dispatched across the shared, multi-threaded default executor, which could release LMDB's thread-bound robust write mutex on the wrong thread (the failure mode of 465). ``AsyncCursor``/``AsyncEnvironment`` close on context exit now also acquire the lock and run on the executor, so closing can no longer race an in-flight operation on the same transaction. - Fix committing values larger than ~2 GiB. A single LMDB value is written in one call, exceeding per-call platform write limits: on POSIX, …