15
0
forked from pool/python-apsw

6 Commits

Author SHA256 Message Date
b31313f477 Accepting request 1323655 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1323655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apsw?expand=0&rev=29
2025-12-19 15:45:57 +00:00
9b633c6a33 - update to 3.51.1.0:
* All objects that can be closed implement __bool__() which
    returns True while open and False when closed - Connection,
    Cursor, Backup, Blob, Session, ChangesetBuilder, Rebaser.
- update to 3.51.0.0:
  * JSON can be used as though it is a native type of SQLite,
    with automatic conversion of Python objects on writing and
    reading. (example)
  * Connection.convert_binding (and Cursor.convert_binding)
    callback to allow conversion of bindings when executing SQL.
  * Connection.convert_jsonb (and Cursor.convert_jsonb) callback
    to allow conversion of JSONB when reading query results.
    (JSONB is SQLite’s binary internal parsed format for quick
    operations on JSON.)
  * 3 functions for working directly with JSONB allowing direct
    conversion between Python objects and JSONB, without having
    to go through the intermediate JSON text format.
  * Added apsw.ext.Function() for calling SQL functions directly
    from Python.
  * When using with (Connection context manager) you can set the
    outer transaction mode to DEFERRED (default) / IMMEDIATE /
    EXCLUSIVE. (APSW issue 578)
  * Changeset.apply() now takes filter_change parameter for
    allowing filtering on individual change level, taking
    advantage of sqlite3changeset_apply_v3
  * Updated Connection.status() to use 64 bit API, and
    apsw.ext.ShowResourceUsage() to show TEMPBUF_SPILL. (pragma
    cache_size controls the amount of temp/cache memory
    available.)
  * The percentile extension is enabled when enabling all

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=63
2025-12-12 10:56:31 +00:00
211c31518d Accepting request 1297684 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apsw?expand=0&rev=28
2025-08-06 12:33:07 +00:00
f84e2e7679 - Update to 3.50.4.0
* PyPI binary builds are available for:
    * Python 3.14
    * Windows ARM
    * Python 3.14 `free threaded`__ (no GIL).  The GIL will be
      enabled when APSW is loaded.  APSW will be free threaded
      in the future (#568)
- from version 3.50.3.0
  * preupdate_hook` is available. The `commit` and `rollback`
    hooks let you provide multiple callbacks, multiplex by APSW.
    `apsw.ext.Trace` can now show updates, and transaction begin,
    commit, and rollback.
- from version 3.50.2.0
  * PyPi builds now use `cibuildwheel version 3` which advances
    the minimum supported Linux distribution.  It is configured
    to continue building both 32 and 64 bit binaries.
- from version 3.50.1.0
  * No user visible changes.
- from version 3.50.0.0
  * Full support for the `session`
  * Added `Connection.setlk_timeout`, `apsw.mapping_setlk_timeout_flags`,
    and enabled the timeout for amalgamation builds such as PyPI.
  * Shell `open command <shell-cmd-open>` allows specifying flags to
    open a connection, and `connection command <shell-cmd-connection>`
    shows flags used for each open. (#557)
  * Type stubs updated to `collections.abc.Buffer` (Python 3.12+)
    wherever some bytes are taken.  `Buffers `__ have always been used,
    but Python 3.12 added typing.
- from version 3.49.2.0
  * Shell dump command handles generated columns correctly. (#556)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=61
2025-08-05 10:44:08 +00:00
bbd7f0346c Accepting request 1204392 from devel:languages:python
- update to 3.46.1.0:
  * The shell dump command outputs the application_id in addition
    to the user_version.

OBS-URL: https://build.opensuse.org/request/show/1204392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apsw?expand=0&rev=27
2024-09-30 13:38:11 +00:00
176412f1ba - update to 3.46.1.0:
* The shell dump command outputs the application_id in addition
    to the user_version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=59
2024-09-28 19:16:51 +00:00
4 changed files with 58 additions and 5 deletions

View File

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

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

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

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Fri Dec 12 10:55:57 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.51.1.0:
* All objects that can be closed implement __bool__() which
returns True while open and False when closed - Connection,
Cursor, Backup, Blob, Session, ChangesetBuilder, Rebaser.
- update to 3.51.0.0:
* JSON can be used as though it is a native type of SQLite,
with automatic conversion of Python objects on writing and
reading. (example)
* Connection.convert_binding (and Cursor.convert_binding)
callback to allow conversion of bindings when executing SQL.
* Connection.convert_jsonb (and Cursor.convert_jsonb) callback
to allow conversion of JSONB when reading query results.
(JSONB is SQLites binary internal parsed format for quick
operations on JSON.)
* 3 functions for working directly with JSONB allowing direct
conversion between Python objects and JSONB, without having
to go through the intermediate JSON text format.
* Added apsw.ext.Function() for calling SQL functions directly
from Python.
* When using with (Connection context manager) you can set the
outer transaction mode to DEFERRED (default) / IMMEDIATE /
EXCLUSIVE. (APSW issue 578)
* Changeset.apply() now takes filter_change parameter for
allowing filtering on individual change level, taking
advantage of sqlite3changeset_apply_v3
* Updated Connection.status() to use 64 bit API, and
apsw.ext.ShowResourceUsage() to show TEMPBUF_SPILL. (pragma
cache_size controls the amount of temp/cache memory
available.)
* The percentile extension is enabled when enabling all
extensions, which is standard for pypi downloads. It enables
several percentile, median, and related SQL functions.
* The carray extension is enabled when enabling all extensions,
which is standard for pypi downloads. apsw.carray() allows
binding bulk numbers, strings, and blobs to a query. See the
example.
* SQLITE_SCM_ constants (BRANCH, TAGS, DATETIME) are available
on the module if built with the amalgamation.
* apsw.ext.generate_series_sqlite() updated to exactly match
SQLites behaviour. apsw.ext.generate_series() is recommended
as it matches other databases.
* Updated apsw.unicode to support Unicode 17.0 which adds 4,803
new codepoints, and updated line breaking, along with other
small tweaks.
* The Geopoly extension (GeoJSON access to RTree) is enabled
when --enable-all-extensions is used with setup.py. This
includes pypi builds.
* This is the final release supporting Python 3.9.
-------------------------------------------------------------------
Tue Aug 5 08:38:22 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
@@ -23,7 +24,7 @@
%{?sle15_python_module_pythons}
Name: python-apsw
Version: 3.50.4.0
Version: 3.51.1.0
Release: 0
Summary: Another Python SQLite Wrapper
License: Zlib