15
0
forked from pool/python-apsw

Accepting request 1116041 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1116041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apsw?expand=0&rev=18
This commit is contained in:
2023-10-22 19:01:33 +00:00
committed by Git OBS Bridge
4 changed files with 41 additions and 6 deletions

Binary file not shown.

3
apsw-3.43.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cadd0485dbfb3f79f9179f7c5a40000d3d354ed6450073a5e206d93e30710ba4
size 901289

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Fri Oct 6 06:51:24 UTC 2023 - ecsos <ecsos@opensuse.org>
- 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 <mcepl@suse.com>

View File

@@ -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