CVS commit: pkgsrc/databases/py-tinydb

"Adam Ciarcinski" <[email protected]> Fri, 7 Aug 2026 09:14:19 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	adam
Date:		Fri Aug  7 09:14:19 UTC 2026

Modified Files:
	pkgsrc/databases/py-tinydb: Makefile distinfo

Log Message:
py-tinydb: updated to 4.9.0

4.9.0

Drop official support for Python 3.8 and 3.9. Both versions have reached their official End of Life (Python 3.8 in October 2024, Python 3.9 in October 2025). TinyDB now requires Python 3.10 or later.
Fix: Make Table.update(doc_ids=...) and Table.remove(doc_ids=...) behave consistently with Table.get(doc_id=...) when given document IDs that don't exist: missing IDs are now silently skipped and the returned list only contains IDs that were actually updated/removed. Previously both methods raised KeyError, and update could leave the table in a partially-updated state when a mix of existing and missing IDs was passed
Fix: Prevent TypeError when passing unhashable extra arguments (like lists or dicts) to Query.test()
Fix: Prevent FileNotFoundError when creating a database file in the current directory without an explicit path prefix
Fix: Correctly handle falsy values (like 0 or None) stored in LRUCache
Improvement: More precise type hints for Table.get
Improvement: Correct the type hints for Table.update and tinydb.operations to use MutableMapping, so transform functions that modify documents in place type-check correctl


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/py-tinydb/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/py-tinydb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.6 KB)
Modified files:

Index: pkgsrc/databases/py-tinydb/Makefile
diff -u pkgsrc/databases/py-tinydb/Makefile:1.8 pkgsrc/databases/py-tinydb/Makefile:1.9
--- pkgsrc/databases/py-tinydb/Makefile:1.8	Sun Jun 28 15:41:12 2026
+++ pkgsrc/databases/py-tinydb/Makefile	Fri Aug  7 09:14:19 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2026/06/28 15:41:12 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2026/08/07 09:14:19 adam Exp $
 
-DISTNAME=	tinydb-4.8.2
+DISTNAME=	tinydb-4.9.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	${MASTER_SITE_PYPI:=t/tinydb/}
 

Index: pkgsrc/databases/py-tinydb/distinfo
diff -u pkgsrc/databases/py-tinydb/distinfo:1.2 pkgsrc/databases/py-tinydb/distinfo:1.3
--- pkgsrc/databases/py-tinydb/distinfo:1.2	Mon Oct 14 17:19:56 2024
+++ pkgsrc/databases/py-tinydb/distinfo	Fri Aug  7 09:14:19 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2024/10/14 17:19:56 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/08/07 09:14:19 adam Exp $
 
-BLAKE2s (tinydb-4.8.2.tar.gz) = 8af9e1ac926e45b5f5439c1821c9cc854fd840d4fcc1ccae8400dde7df1dac68
-SHA512 (tinydb-4.8.2.tar.gz) = d54fea5899c333d44d189e67c0ed63737f8f5c4cce46c20a260ea73f546e03807610a4d65baad2887715032ce5d81f3fa3a5599d673ebb4e037b34b8e1f26e4a
-Size (tinydb-4.8.2.tar.gz) = 32566 bytes
+BLAKE2s (tinydb-4.9.0.tar.gz) = 76b59496e4c24e4f4a37fe1524526efddbbb47565a2ef3dcd0ad8c6be83a4ead
+SHA512 (tinydb-4.9.0.tar.gz) = da5c245b231cf851ce04415466fc73925e51d2a8cd3c08c1969e5f40ebc74ed050cf50a571ebe5d837659cd509c24488b3d64e04aa94dccdf3fc9f61eb406891
+Size (tinydb-4.9.0.tar.gz) = 31987 bytes