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-01-21 14:16:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lmdb (Old)
 and      /work/SRC/openSUSE:Factory/.python-lmdb.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-lmdb"

Wed Jan 21 14:16:46 2026 rev:18 rq:1328338 version:1.7.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lmdb/python-lmdb.changes  2025-07-28 
14:59:41.038110812 +0200
+++ /work/SRC/openSUSE:Factory/.python-lmdb.new.1928/python-lmdb.changes        
2026-01-21 14:17:00.406022395 +0100
@@ -1,0 +2,14 @@
+Tue Jan 20 13:51:50 UTC 2026 - Marius Grossu <[email protected]>
+
+- 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 
<[email protected]>
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  lmdb-1.7.3.tar.gz

New:
----
  lmdb-1.7.5.tar.gz
  relax_assertion.patch

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

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-lmdb.spec ++++++
--- /var/tmp/diff_new_pack.nNvALf/_old  2026-01-21 14:17:01.646074445 +0100
+++ /var/tmp/diff_new_pack.nNvALf/_new  2026-01-21 14:17:01.646074445 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-lmdb
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,15 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-lmdb
-Version:        1.7.3
+Version:        1.7.5
 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}

++++++ lmdb-1.7.3.tar.gz -> lmdb-1.7.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/ChangeLog new/lmdb-1.7.5/ChangeLog
--- old/lmdb-1.7.3/ChangeLog    2025-07-26 03:10:19.000000000 +0200
+++ new/lmdb-1.7.5/ChangeLog    2025-10-15 05:38:18.000000000 +0200
@@ -1,3 +1,9 @@
+2025-10-14 1.7.5
+* CI-only: Fix generation of 3.14 binaries.
+
+2025-10-14 1.7.4 -- yanked
+* CI-only: Generate Python 3.14 binaries.
+
 2025-07-15 1.7.3
 * Fix CFFI build on some platforms by ensuring paths are absolute.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/PKG-INFO new/lmdb-1.7.5/PKG-INFO
--- old/lmdb-1.7.3/PKG-INFO     2025-07-26 03:10:22.342249600 +0200
+++ new/lmdb-1.7.5/PKG-INFO     2025-10-15 05:38:21.835988000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: lmdb
-Version: 1.7.3
+Version: 1.7.5
 Summary: Universal Python binding for the LMDB 'Lightning' Database
 Home-page: http://github.com/jnwatson/py-lmdb/
 Author: David Wilson
@@ -19,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Topic :: Database
 Classifier: Topic :: Database :: Database Engines/Servers
 Description-Content-Type: text/plain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/lib/mdb.c new/lmdb-1.7.5/lib/mdb.c
--- old/lmdb-1.7.3/lib/mdb.c    2025-07-26 03:10:19.000000000 +0200
+++ new/lmdb-1.7.5/lib/mdb.c    2025-10-15 05:38:18.000000000 +0200
@@ -108,7 +108,7 @@
 #include <unistd.h>
 #endif
 
-#if defined(__sun) || defined(ANDROID)
+#if defined(__sun) || defined(__ANDROID__)
 /* Most platforms have posix_memalign, older may only have memalign */
 #define HAVE_MEMALIGN  1
 #include <malloc.h>
@@ -129,7 +129,7 @@
 #elif defined(__APPLE__) || defined (BSD) || defined(__FreeBSD_kernel__)
 # define MDB_USE_POSIX_SEM     1
 # define MDB_FDATASYNC         fsync
-#elif defined(ANDROID)
+#elif defined(__ANDROID__)
 # define MDB_FDATASYNC         fsync
 #endif
 
@@ -268,7 +268,7 @@
  */
 #ifndef MDB_USE_ROBUST
 /* Android currently lacks Robust Mutex support. So does glibc < 2.4. */
-# if defined(MDB_USE_POSIX_MUTEX) && (defined(ANDROID) || \
+# if defined(MDB_USE_POSIX_MUTEX) && (defined(__ANDROID__) || \
        (defined(__GLIBC__) && GLIBC_VER < 0x020004))
 #  define MDB_USE_ROBUST       0
 # else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/lmdb/__init__.py 
new/lmdb-1.7.5/lmdb/__init__.py
--- old/lmdb-1.7.3/lmdb/__init__.py     2025-07-26 03:10:19.000000000 +0200
+++ new/lmdb-1.7.5/lmdb/__init__.py     2025-10-15 05:38:18.000000000 +0200
@@ -50,4 +50,4 @@
     from lmdb.cffi import __all__
     from lmdb.cffi import __doc__
 
-__version__ = '1.7.3'
+__version__ = '1.7.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/lmdb.egg-info/PKG-INFO 
new/lmdb-1.7.5/lmdb.egg-info/PKG-INFO
--- old/lmdb-1.7.3/lmdb.egg-info/PKG-INFO       2025-07-26 03:10:22.000000000 
+0200
+++ new/lmdb-1.7.5/lmdb.egg-info/PKG-INFO       2025-10-15 05:38:21.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: lmdb
-Version: 1.7.3
+Version: 1.7.5
 Summary: Universal Python binding for the LMDB 'Lightning' Database
 Home-page: http://github.com/jnwatson/py-lmdb/
 Author: David Wilson
@@ -19,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
+Classifier: Programming Language :: Python :: 3.14
 Classifier: Topic :: Database
 Classifier: Topic :: Database :: Database Engines/Servers
 Description-Content-Type: text/plain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lmdb-1.7.3/setup.py new/lmdb-1.7.5/setup.py
--- old/lmdb-1.7.3/setup.py     2025-07-26 03:10:19.000000000 +0200
+++ new/lmdb-1.7.5/setup.py     2025-10-15 05:38:18.000000000 +0200
@@ -225,6 +225,7 @@
         "Programming Language :: Python :: 3.11",
         "Programming Language :: Python :: 3.12",
         "Programming Language :: Python :: 3.13",
+        "Programming Language :: Python :: 3.14",
         "Topic :: Database",
         "Topic :: Database :: Database Engines/Servers",
     ],

++++++ relax_assertion.patch ++++++
>From d774588064fc3ac3686979c59c9f1f524172a775 Mon Sep 17 00:00:00 2001
From: Marius Grossu <[email protected]>
Date: Tue, 20 Jan 2026 14:34:56 +0100
Subject: [PATCH] tests: relax PreloadTest assertion to only require additional
 minor faults when accessing the value, preserving test intent and fixing
 openSUSE builds

---
 tests/cursor_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: lmdb-1.7.5/tests/cursor_test.py
===================================================================
--- lmdb-1.7.5.orig/tests/cursor_test.py
+++ lmdb-1.7.5/tests/cursor_test.py
@@ -308,7 +308,7 @@ class PreloadTest(CursorTestBase):
         assert minflts_after_key - minflts_before < epsilon
 
         # Getting the value does prefault the data, even if we only get it by 
pointer
-        assert minflts_after_value - minflts_after_key > 1000
+        assert minflts_after_value > minflts_after_key
 
 class CursorReadOnlyTest(unittest.TestCase):
     def tearDown(self):

Reply via email to