The NetBSD Project

CVS log for pkgsrc/databases/py-lmdb/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-lmdb

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jun 10 13:05:50 2026 UTC (5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 29 12:36:36 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
py-lmdb: updated to 2.2.0

2.2.0

New features

- New ``lmdb.aio`` module providing asyncio support with
    ``AsyncEnvironment`` and ``AsyncTransaction``.

- ``Environment.dbs()`` lists all named databases in an environment.


- ``Cursor.getmulti()`` accepts ``values=False`` for batch key-existence
    checks without fetching values.

- ``Transaction.stat()`` now defaults to the main database when no ``db``
    argument is given.

- ``Environment.set_mapsize()`` now safely invalidates open transactions
    and cursors before remapping, preventing use-after-free crashes.

- Enable sparse files on Windows so NTFS does not preallocate the full
    ``map_size`` on disk.

Bug fixes

- Fix type stubs: return types now use ``Union[bytes, memoryview]`` to
    reflect the ``buffers=`` parameter, and ``dbs()`` is included.

- Declare ``python_requires='>=3.9'`` so pip skips this package on
    Python 2.

Documentation

- Modernize documentation for Python 3 and current project state.

- Add API reference for ``lmdb.aio`` module.

- Document fork safety and multiprocessing guidance.

- Document duplicate-sort (dupsort) databases.

- Document cursor iteration and navigation patterns.

- Add "When to use py-lmdb" comparison section.

- Render ChangeLog as native HTML instead of a code block.

Other

- Add LMDB data layout validation tests and patched/pure equivalence
    checks.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 14 11:31:11 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 1 07:43:30 2024 UTC (2 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -5 lines
py-lmdb: updated to 1.5.1

1.5.1
* CI-only fix.

1.5.0
* Add Python 3.12 binaries.
* Update bundled LMDB to 0.9.31.
* Remove Python 2.7 support.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 10:53:17 2021 UTC (4 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +10 -11 lines
py-lmdb: updated to 1.2.1

2021-04-19 v1.2.1
* Resolve CI bug where non-Linux wheels were not being published to PyPI.

2021-04-15 v1.2.0
* Update bundled LMDB to 0.9.29.

* Add non-bundled testing to CI.

* Remove wheel generation for 2.7 because the manylinux images no longer
  support it.

* Allow passing None as a value to transaction.del in CFFI implementation
  for parity with cpython implementation.

* Fix Cursor.put behavior on a dupsort DB with append=True.

* Add warning to docs about use of Environment.set_mapsize.  This is currently
an unresolved issue with upstream LMDB.

* CFFI implementation:  fix a seg fault when open_db returns map full.

* CFFI implementation:  fix a bug in open_db in a read-only environment.


2021-02-05 v1.1.1
* Dowgrade underlying LMDB to 0.9.26.  0.9.27 has a minor defect that will
  need to get resolved.


2021-02-04 v1.1.0
* Migrate CI pipeline from Travis and AppVeyor to Github Actions.  Now
  includes comprehensive testing across 4 dimensions (OS, Python version,
  cpython/CFFI, pure/with mods).  Also includes publishing to PyPI.

* Prevent invalid flag combinations when creating a database.

* Add a Cursor.getmulti method with optional buffer support.  Contributed by
  Will Thompson <willsthompson@gmail.com>.

* Upgrade underlying LMDB to 0.9.27.


2020-08-28 v1.0.0
* Start of new semantic versioning scheme.  This would be a minor version
  bump from the 0.99 release if it were semantically versioned.

* Allow environment copy to take a passed-in transaction.  This is the
  first released feature that requires a (very small) patch to the
  underlying C library.  By default, the patch will be applied unless
  this module is built with LMDB_PURE environment variable set.


2020-08-13 v0.99
* Fix lmdb.tool encoding issues.

* Fix -l lmdb invocation issue.

* Minor documentation improvements.

* Update LMDB to version 0.9.24.

* Update for Python 3.9 (current release candidate) support.

* Resolve a bug when using cursor.putmulti and append=True on dupsort DBs.

* Allow _Database.flags method to take no arguments since the one argument
  wasn't being used.


2019-11-06 v0.98
* Fix that a duplicate argument to a lmdb method would cause an assert.

* Solaris needs ```#include "python.h"``` as soon as possible.  Fix
  contributed by Jesús Cea.

* Fix crash under debug cpython when mdb_cursor_open failed


2019-08-11 v0.97

* Fix a missed GIL unlock sequence.  Reported by ajschorr.

* Fix argv check in JEP (cpython under Java) environment.  Contributed by
  de-code.


2019-07-14 v0.96

* First release under new maintainer, Nic Watson.

* Doc updates.

* More removal of code for now-unsupported Python versions.

* Only preload the value with the GIL unlocked when the value is actually
  requested. This significantly improves read performance to retrieve keys
  with large values when the value isn't retrieved. Reported by Dan Patton.


2019-06-08 v0.95

* The minimum supported version of Python is now 2.7.

* The library is no longer tested on Python 3.2.

* The address-book.py example was updated for Python 3. Contributed by Jamie
  Bliss.

* Development-related files were removed from the distribution tarball.

* Handling of the Environment(create=True) flag was improved. Fix contributed
  by Nir Soffer.

* Database names may be reused after they are dropped on CFFI, without
  reopening the environment. Fix contributed by Gareth Bult.


2018-04-09 v0.94

* CPython argument parsing now matches the behaviour of CFFI, and most sane
  Python APIs: a bool parameter is considered to be true if it is any truthy
  value, not just if it is exactly True. Reported by Nic Watson.

* Removed Python 2.6 support due to urllib3 warnings and pytest dropping it.

* Updared LMDB to version 0.9.22.

* Fixed several 2.7/3 bugs in command line tool.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 4 05:18:06 2018 UTC (8 years, 4 months ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
databases/py-lmdb: Import version 0.94

Provides Python binding for the LMDB "Lightning" Database.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>