pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-apsw py-apsw: updated to 3.39.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/414f49e2821f
branches:  trunk
changeset: 386567:414f49e2821f
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 10 08:06:33 2022 +0000

description:
py-apsw: updated to 3.39.4.0

3.39.4.0

Added Connection.cache_stats() to provide more information about the statement cache.

Cursor.execute() now uses sqlite_prepare_v3 which allows supplying flags.

Cursor.execute() has a new can_cache parameter to control whether the query can use the statement cache. One example use is with authorizers because they only run during prepare, which doesn’t happen 
with already cached statements.

(The Cursor.execute() additional parameters are keyword only and also present in Cursor.executemany(), and the corresponding Connection.execute() and Connection.executemany() methods.)

Added Cursor.is_readonly, Cursor.is_explain, and Cursor.expanded_sql.

Updated processing named bindings so that types registered with collections.abc.Mapping (such as collections.UserDict) will also be treated as dictionaries. (APSW issue 373)

diffstat:

 databases/py-apsw/Makefile |  4 ++--
 databases/py-apsw/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 9e4b1b71eb85 -r 414f49e2821f databases/py-apsw/Makefile
--- a/databases/py-apsw/Makefile        Mon Oct 10 07:57:40 2022 +0000
+++ b/databases/py-apsw/Makefile        Mon Oct 10 08:06:33 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2022/09/12 08:22:18 adam Exp $
+# $NetBSD: Makefile,v 1.47 2022/10/10 08:06:33 adam Exp $
 
-DISTNAME=      apsw-3.39.3.0
+DISTNAME=      apsw-3.39.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-r1//}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rogerbinns/}
diff -r 9e4b1b71eb85 -r 414f49e2821f databases/py-apsw/distinfo
--- a/databases/py-apsw/distinfo        Mon Oct 10 07:57:40 2022 +0000
+++ b/databases/py-apsw/distinfo        Mon Oct 10 08:06:33 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2022/09/12 08:22:18 adam Exp $
+$NetBSD: distinfo,v 1.26 2022/10/10 08:06:33 adam Exp $
 
-BLAKE2s (apsw-3.39.3.0.zip) = d96bc9b91294c1cddb6bf8fbb898543f22bc3401e0b05de10f038e97a063544c
-SHA512 (apsw-3.39.3.0.zip) = f366a10d8a991ddc9a43c9af73f89da24ce5d9993a6e9a0253c1143e85b4fb4bff911085609576230a5bd5d22204decda589062c2e95e708b392b07c250e8570
-Size (apsw-3.39.3.0.zip) = 752861 bytes
+BLAKE2s (apsw-3.39.4.0.zip) = aa31b77265787cee6e0cd45cbe83c22e26f2c3472cae969a328bc3df46d4afd5
+SHA512 (apsw-3.39.4.0.zip) = f4100f65ae2eea98f1ae23e6e9ecc7beb8e7632a056f3ba0bd6818414fdb01e61452c5abb7d808a7893f6348ab244622f1c38c8994a4d63008cefe932040611e
+Size (apsw-3.39.4.0.zip) = 866238 bytes


Home | Main Index | Thread Index | Old Index