File python-lmdb.changes of Package python-lmdb

-------------------------------------------------------------------
Wed Mar 18 04:46:35 UTC 2026 - Mia Herkt <mia@0x0.st>

- Update to 2.0.0:
  * Environment.close(), Transaction.abort(), Transaction.commit(),
    and cursor operations are now serialized with locks to prevent
    use-after-free and double-free crashes when called concurrently
    gh#jnwatson/py-lmdb#180
  * Opening the same LMDB path twice in one process now raises
    lmdb.Error instead of silently proceeding to a likely segfault.
    This will surface latent bugs in code that accidentally opened
    the same environment twice.
    gh#jnwatson/py-lmdb#230
  * Minimum Python version is now 3.9
  * PEP 561 type stubs (py.typed) are now shipped.
    IDEs and type checkers will pick up lmdb's types automatically.
    gh#jnwatson/py-lmdb#257
  * Cache getpid() result to avoid a syscall on every transaction
    dealloc. Since glibc 2.25, getpid() is no longer cached in
    userspace; this showed up in profiles for workloads with many
    short-lived transactions.
    gh#jnwatson/py-lmdb#421
  * Fix CPython and CFFI memory safety issues
    gh#jnwatson/py-lmdb#420
    gh#jnwatson/py-lmdb#372
  * Fix cmd_copyfd fd validation to use os.fstat() instead of
    os.fdopen(), which consumed the fd.
  * Add fork detection to CFFI implementation. Previously,
    Transaction.__del__ and Environment.__del__ would call
    mdb_txn_abort / mdb_env_close in forked child processes,
    risking corruption of the parent's environment.
  * Release GIL during mdb_env_close so the event loop isn't
    blocked while msync/fsync runs on large writemap databases.
    gh#jnwatson/py-lmdb#418
  * Comprehensive test suite for lmdb.tool
    gh#jnwatson/py-lmdb#148

-------------------------------------------------------------------
Sun Mar 15 17:33:56 UTC 2026 - Mia Herkt <mia@0x0.st>

- Update to 1.8.1:
  * Fix infinite loop with next_nodup/prev_nodup on the sole key in
    a dupsort database after delete+put.
    gh#jnwatson/py-lmdb#388
  * Fix METH_NOARGS function signatures to include the required
    second parameter (CPython 3.14 compatibility).
    gh#jnwatson/py-lmdb#182
  * Fix installing and running on PyPy.
    gh#jnwatson/py-lmdb#403
  * Fix PreloadTest on openSUSE
    Drop relax_assertion.patch
    gh#jnwatson/py-lmdb#400

-------------------------------------------------------------------
Tue Jan 20 13:51:50 UTC 2026 - Marius Grossu <marius.grossu@suse.com>

- Add the relax_assertion.patch: relax PreloadTest assertion, preserving test intent and fixing openSUSE builds  
  (gh#jnwatson/py-lmdb#400) 

-------------------------------------------------------------------
Fri Nov 21 12:30:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 1.7.5
  * CI-only: Fix generation of 3.14 binaries.
- from version 1.7.4
  * CI-only: Generate Python 3.14 binaries.

-------------------------------------------------------------------
Mon Jul 28 08:42:04 UTC 2025 - Mia Herkt <mia@0x0.st>

- Update to 1.7.3:
  * Fix: CFFI build now uses relative paths
    gh#jnwatson/py-lmdb#386

-------------------------------------------------------------------
Mon Jul 14 12:26:32 UTC 2025 - Dirk Müller <dmueller@suse.com>

- update to 1.7.2:
  * CI-only fix
  * Update bundled LMDB to 0.9.33, plus a patch to fix ITS#10346.
  * Prevent some accidental use of LMDB objects by child
    processes.

-------------------------------------------------------------------
Tue Jan 14 10:22:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

- Update to 1.6.2
  * CI-only fix.
- from version 1.6.1
  * CI-only fix.
- from version 1.6.0
  * Support for Python 3.13.  Contributed by Miro Hrončok and Adam Williamson.
  * CI:  Publish 3.13 binaries and Linux aarch64 wheels for multiple versions.
- Drop py313-support.patch, merged upstream
- Use Python 3.11 on SLE-15 by default

-------------------------------------------------------------------
Wed Nov 20 16:01:02 UTC 2024 - Ben Greiner <code@bnavigator.de>

- Modernize specfile

-------------------------------------------------------------------
Tue Nov 19 10:20:27 UTC 2024 - Dirk Müller <dmueller@suse.com>

- add py313-support.patch to fix build with py313

-------------------------------------------------------------------
Mon Jul  1 16:53:38 UTC 2024 - Mia Herkt <mia@0x0.st>

- Update to 1.5.1 (no changes for openSUSE)

-------------------------------------------------------------------
Thu Apr  6 16:05:15 UTC 2023 - Mia Herkt <mia@0x0.st>

- Update to v1.4.1
  * Fix a documentation typo

-------------------------------------------------------------------
Tue Dec 13 15:43:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to v1.4.0
  * Update manifest and a copyright

-------------------------------------------------------------------
Mon Jan 31 06:49:57 UTC 2022 - Mia Herkt <mia@0x0.st>

- Update to v1.3.0
* Add Python 3.10 support.
* Fix crash relating to caching of transactions.
  The 'max_spare_txns' parameter to Environment/open is currently
  ignored.

-------------------------------------------------------------------
Tue Apr 20 02:10:56 UTC 2021 - Mia Herkt <mia@0x0.st>

- Update to v1.2.1 (no changes)

-------------------------------------------------------------------
Sun Apr 18 21:58:00 UTC 2021 - Mia Herkt <mia@0x0.st>

- Update to v1.2.0
  * 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.

-------------------------------------------------------------------
Fri Feb  5 03:09:49 UTC 2021 - Mia Herkt <mia@0x0.st>

- Update to v1.1.0
  * Prevent invalid flag combinations when creating a database.
  * Add a Cursor.getmulti method with optional buffer support.

-------------------------------------------------------------------
Sun Oct 11 17:00:51 UTC 2020 - Mia Herkt <mia@0x0.st>

- Update to 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.

-------------------------------------------------------------------
Mon Aug 17 16:04:47 UTC 2020 - Michael Ströder <michael@stroeder.com>

- Update to 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.

-------------------------------------------------------------------
Tue Nov 26 00:43:19 UTC 2019 - Martin Herkt <9+suse@cirno.systems>

- Update to v0.98
  * Fix that a duplicate argument to a lmdb method would cause
    an assert.
  * Fix crash under debug cpython when mdb_cursor_open failed

-------------------------------------------------------------------
Mon Aug 12 05:24:44 UTC 2019 - Martin Herkt <9+suse@cirno.systems>

- Update to v0.97
  * Fix a missed GIL unlock sequence.
  * Fix argv check in JEP (cpython under Java) environment.

-------------------------------------------------------------------
Wed Jul 24 13:54:02 UTC 2019 - Martin Herkt <9+suse@cirno.systems>

- Update to v0.96
  * 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.

-------------------------------------------------------------------
Sun Jun  9 01:40:08 UTC 2019 - Martin Herkt <9+suse@cirno.systems>

- Update to v0.95
  * Handling of the Environment(create=True) flag was improved.
  * Database names may be reused after they are dropped on CFFI,
    without reopening the environment.

-------------------------------------------------------------------
Mon May 21 17:37:59 UTC 2018 - 9+suse@cirno.systems

- Update to 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.
  * Fixed several 2.7/3 bugs in command line tool.

-------------------------------------------------------------------
Mon May 21 16:25:54 UTC 2018 - 9+suse@cirno.systems

- Use system liblmdb

-------------------------------------------------------------------
Fri Aug 11 10:08:42 UTC 2017 - 9@cirno.systems

- Add doc files

-------------------------------------------------------------------
Fri Aug  4 09:41:00 UTC 2017 - 9@cirno.systems

- Init package, v0.93
openSUSE Build Service is sponsored by