update to py3-minidb-2.0.6

This commit is contained in:
sthen 2022-03-16 09:23:36 +00:00
parent 8fe63917a6
commit e471555927
3 changed files with 3 additions and 18 deletions

View File

@ -1,9 +1,8 @@
COMMENT = simple SQLite3 store for Python objects
MODPY_EGG_VERSION = 2.0.4
MODPY_EGG_VERSION = 2.0.6
DISTNAME = minidb-${MODPY_EGG_VERSION}
PKGNAME = py-minidb-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = databases

View File

@ -1,2 +1,2 @@
SHA256 (minidb-2.0.4.tar.gz) = wcYr4Hah5Lud2IBQTdgaPn4Ce3ZX6KVKg8Wicn8JUgo=
SIZE (minidb-2.0.4.tar.gz) = 14104
SHA256 (minidb-2.0.6.tar.gz) = i/Csqbicsei3v9iti1pyCL0vsEbjQ7PWVuoA+Lz9b14=
SIZE (minidb-2.0.6.tar.gz) = 12019

View File

@ -1,14 +0,0 @@
workaround https://bugs.python.org/issue28518
also see https://bugs.python.org/issue10740
--- minidb.py.orig Fri Jan 6 10:29:50 2017
+++ minidb.py Fri Jan 6 10:31:03 2017
@@ -131,7 +131,7 @@ class Store(object):
MINIDB_ATTR = '_minidb'
def __init__(self, filename=':memory:', debug=False, smartupdate=False):
- self.db = sqlite3.connect(filename, check_same_thread=False)
+ self.db = sqlite3.connect(filename, check_same_thread=False, isolation_level=None)
self.debug = debug
self.smartupdate = smartupdate
self.registered = {}