Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-lmdb for openSUSE:Factory checked in at 2026-03-18 16:50:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lmdb (Old) and /work/SRC/openSUSE:Factory/.python-lmdb.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lmdb" Wed Mar 18 16:50:25 2026 rev:19 rq:1340815 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lmdb/python-lmdb.changes 2026-01-21 14:17:00.406022395 +0100 +++ /work/SRC/openSUSE:Factory/.python-lmdb.new.8177/python-lmdb.changes 2026-03-18 16:52:00.352786869 +0100 @@ -1,0 +2,53 @@ +Wed Mar 18 04:46:35 UTC 2026 - Mia Herkt <[email protected]> + +- 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 <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- lmdb-1.7.5.tar.gz relax_assertion.patch New: ---- lmdb-2.0.0.tar.gz ----------(Old B)---------- Old: * Fix PreloadTest on openSUSE Drop relax_assertion.patch gh#jnwatson/py-lmdb#400 ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lmdb.spec ++++++ --- /var/tmp/diff_new_pack.51jl3Z/_old 2026-03-18 16:52:00.940811105 +0100 +++ /var/tmp/diff_new_pack.51jl3Z/_new 2026-03-18 16:52:00.964812094 +0100 @@ -18,15 +18,13 @@ %{?sle15_python_module_pythons} Name: python-lmdb -Version: 1.7.5 +Version: 2.0.0 Release: 0 Summary: Universal Python binding for the LMDB 'Lightning' Database License: OLDAP-2.8 Group: Development/Languages/Python URL: https://github.com/dw/py-lmdb/ Source: https://files.pythonhosted.org/packages/source/l/lmdb/lmdb-%{version}.tar.gz -# PATCH-FIX-UPSTREAM relax_assertion.patch -- based on PR 400 -Patch0: relax_assertion.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} @@ -68,6 +66,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check +export LMDB_PURE=1 %pytest_arch %files %{python_files} ++++++ lmdb-1.7.5.tar.gz -> lmdb-2.0.0.tar.gz ++++++ ++++ 6243 lines of diff (skipped)
