From 9bcf386c1886f09f3414b77f63cec2487c6723b279a445573825a90c1e078511 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 6 Oct 2023 12:49:04 +0000 Subject: [PATCH] Accepting request 1115988 from home:ecsos:python - Update to 3.43.1.0 - All C code calling into Python and all C code called by Python uses vectorcall / fastcall (see PEP 590) which reduces the overhead of passing and receiving positional and keyword arguments. (APSW issue 477 APSW issue 446): * Conversion of arguments from Python values to C values drops generic PyArg_ParseTupleAndKeywords in favour of direct processing which is more efficient and allows better exception messages. * Running speedtest with a VFS that inherits all methods went from being 17% slower than pure SQLite to 2% slower. * A virtual table benchmark takes 35% less time. (Remember that benchmarks are best case!) - The shell JSON output modes have been fixed. Mode 'json' outputs a json array, while mode 'jsonl' does newline delimited json objects, aka json lines. (APSW issue 483) - Changes from 3.43.1.0 - This is the last version that supports Python 3.6 and Python 3.7 (both end of life). The policy as stated in the about page is that there will be one more APSW release after a Python version goes end of life supporting that Python version. (APSW issue 471) - Added best practice module (APSW issue 460) - apsw.ext.log_sqlite() outputs SQLite warnings at warning level. (APSW issue 472) - sqlite3_stmt_explain is wrapped available as a explain keyword parameter on execute/executemany methods. (APSW issue 474) - Added documentation and helper class for implementing custom pragmas in your own Virtual File System (VFS) (APSW issue 464) - Reduced overhead of the Column method when using apsw.ext.make_virtual_module() (APSW issue 465) OBS-URL: https://build.opensuse.org/request/show/1115988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=41 --- apsw-3.42.0.1.tar.gz | 3 --- apsw-3.43.1.0.tar.gz | 3 +++ python-apsw.changes | 35 +++++++++++++++++++++++++++++++++++ python-apsw.spec | 6 +++--- 4 files changed, 41 insertions(+), 6 deletions(-) delete mode 100644 apsw-3.42.0.1.tar.gz create mode 100644 apsw-3.43.1.0.tar.gz diff --git a/apsw-3.42.0.1.tar.gz b/apsw-3.42.0.1.tar.gz deleted file mode 100644 index 9047d67..0000000 --- a/apsw-3.42.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13250e0b6d6d008dcd8c93cdd2291a19a9ad086622a68e00ce409a5df0a45917 -size 881270 diff --git a/apsw-3.43.1.0.tar.gz b/apsw-3.43.1.0.tar.gz new file mode 100644 index 0000000..5cbd629 --- /dev/null +++ b/apsw-3.43.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cadd0485dbfb3f79f9179f7c5a40000d3d354ed6450073a5e206d93e30710ba4 +size 901289 diff --git a/python-apsw.changes b/python-apsw.changes index c56852a..34f58c7 100644 --- a/python-apsw.changes +++ b/python-apsw.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Fri Oct 6 06:51:24 UTC 2023 - ecsos + +- Update to 3.43.1.0 + - All C code calling into Python and all C code called by Python + uses vectorcall / fastcall (see PEP 590) which reduces the + overhead of passing and receiving positional and keyword + arguments. (APSW issue 477 APSW issue 446): + * Conversion of arguments from Python values to C values drops + generic PyArg_ParseTupleAndKeywords in favour of direct + processing which is more efficient and allows better + exception messages. + * Running speedtest with a VFS that inherits all methods went + from being 17% slower than pure SQLite to 2% slower. + * A virtual table benchmark takes 35% less time. (Remember that + benchmarks are best case!) + - The shell JSON output modes have been fixed. Mode 'json' + outputs a json array, while mode 'jsonl' does newline delimited + json objects, aka json lines. (APSW issue 483) +- Changes from 3.43.1.0 + - This is the last version that supports Python 3.6 and + Python 3.7 (both end of life). The policy as stated in the + about page is that there will be one more APSW release after + a Python version goes end of life supporting that Python + version. (APSW issue 471) + - Added best practice module (APSW issue 460) + - apsw.ext.log_sqlite() outputs SQLite warnings at warning level. + (APSW issue 472) + - sqlite3_stmt_explain is wrapped available as a explain keyword + parameter on execute/executemany methods. (APSW issue 474) + - Added documentation and helper class for implementing custom + pragmas in your own Virtual File System (VFS) (APSW issue 464) + - Reduced overhead of the Column method when using + apsw.ext.make_virtual_module() (APSW issue 465) + ------------------------------------------------------------------- Wed Jul 26 14:57:47 UTC 2023 - Matej Cepl diff --git a/python-apsw.spec b/python-apsw.spec index 4d4a8b9..424e947 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -18,20 +18,20 @@ %{?sle15_python_module_pythons} Name: python-apsw -Version: 3.42.0.1 +Version: 3.43.1.0 Release: 0 Summary: Another Python SQLite Wrapper License: Zlib Group: Development/Libraries/Python URL: https://github.com/rogerbinns/apsw/ Source: https://github.com/rogerbinns/apsw/archive/refs/tags/%{version}.tar.gz#/apsw-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(sqlite3) >= 3.42 +BuildRequires: pkgconfig(sqlite3) >= 3.43.1 %python_subpackages %description