15
0
forked from pool/python-apsw
Commit Graph

18 Commits

Author SHA256 Message Date
abd0edf52f - update to 3.40.1.0:
* Implemented `window functions
  * Function flags can be specified to
    Connection.createscalarfunction and
    Connection.createaggregatefunction
  * Added apsw.mapping_function_flags
  * Added Connection.trace_v2` with apsw.mapping_trace_codes
    and apsw.mapping_statement_status
  * Ensure all SQLite APIs are wrapped.
  * When an unraisable exception happens, sqlite3_log is
    now called so you will have context within SQLite's actions.
  * sys.unraisablehook now called first, and if it doesn't exist then
    sys.excepthook as before.
  * When the wrong type is given for a function argument, the
    error message now includes the parameter name and function
    signature.
  * Let SQLite do size checking instead of APSW for strings and
    blobs.
  * Added :meth:`apsw.ext.log_sqlite` which installs a handler
    that forwards SQLite messages to the logging module
  * Added set_default_vfs and unregister_vfs taking vfs
    names.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=29
2023-02-10 10:11:48 +00:00
23416d91ef - update to 3.40.0.0:
* Fixed regression in statement cache update (version 3.38.1-r1) where
    trailing whitespace in queries would be incorrectly treated as
    incomplete execution (APSW issue 376)
  * Added Various interesting and useful bits of functionality (APSW issue
    369)
  * Added more Pythonic attributes as an alternative to getters and setters,
    including Connection.in_transaction, Connection.exectrace,
    Connection.rowtrace, Cursor.exectrace, Cursor.rowtrace,
    Cursor.connection (APSW issue 371)
  * Completed: To the extent permitted by CPython APIs every item has the
    same docstring as this documentation. Every API can use named
    parameters. The type stubs cover everything including constants. The
    type stubs also include documentation for everything, which for example
    Visual Studio Code displays as you type or hover. There is a single
    source of documentation in the source code, which is then automatically
    extracted to make this documentation, docstrings, and docstrings in the
    type stubs.
  * Example/Tour updated and appearance improved (APSW issue 367).
  * 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.)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=27
2022-12-05 21:13:25 +00:00
25a3b98624 - update to 3.37.0-r1:
* Allow breaking of reference cycles between objects that contain a
    Connection or Cursor 
  * Fixed custom VFS extension loading failure could leave the error message
    unterminated
  * Updated size of mutex array used by the fork checker
  * Connections are opened with SQLITE_OPEN_EXRESCODE so open errors will also
    include extended result codes
  * Connection.changes() and Connection.totalchanges() use the new SQLite APIs
    that return 64 bit values
  * Added Connection.autovacuum_pages()
  * Implemented Connection.serialize() and Connection.deserialize().
  * Allow any subclass of VFS to implement WAL, not just direct subclasses

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=26
2022-01-17 20:43:05 +00:00
ec06ecf096 Accepting request 909410 from home:ecsos
- Update to 3.35.4-r1:
  - Updates for SQLite download url (the year is part of the urls).
  - Added enable flag for built-in SQL math functions, and enable
    it by default with –enable-all-extensions.
  - Use the newer buffer API for Python 3
    (old API removed in Python 3.10).
- Fix loadable extensions are missing, 
  so insert --enable-all-extensions and --enable=load_extension.
  See: https://rogerbinns.github.io/apsw/build.html#building

This version ist needed for calibre and also the build parameters " --enable-all-extensions and --enable=load_extension".
Without this parameters calibre find no sqlite-extension.

OBS-URL: https://build.opensuse.org/request/show/909410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=24
2021-07-30 14:45:21 +00:00
f6f640283a - udpate to 3.34.0-r1:
* Windows MSI installer files are now provided
  * Added Connection.txn_state()
  * Added constants: SQLITE_IOERR_CORRUPTFS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=22
2020-12-29 13:49:44 +00:00
Tomáš Chvátal
712bdff28f - Fix the source url to really match reality
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=20
2020-09-22 11:55:21 +00:00
Tomáš Chvátal
78c41c6ff7 Accepting request 836063 from home:frispete:python
- Update to 3.33.0-r1:
  * Small performance improvement in string handling
  * apsw module exposes Cursor, Blob, and Backup types (issue #273)
  * pkg-config is used to detect International Components for
    Unicode (ICU) sdk when the SQLite ICU extension is enabled. It
    falls back to icu-config as before. (issue #268).
- Update to 3.32.2-r2:
  * Added some constants
  * Minor documentation updates
- Fix source URL

OBS-URL: https://build.opensuse.org/request/show/836063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=19
2020-09-22 10:47:08 +00:00
Tomáš Chvátal
73b4c204c2 - Update the sqlite dependency
- Update to 3.31.1:
  * Fix deprecated universal newline use in shell (#283)
  * Shell now uses pragma function_list to get list of functions for tab completion

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=17
2020-03-03 09:51:19 +00:00
4004891b38 - update to 3.30.1-r1
- drop 0002-Skip-one-test-on-python3.8.patch
       0001-py3.8-avoid-invalid-escapes.patch
 * Updated hashing of SQL statements
 * Updated Connection.config() with all current SQLITE_DBCONFIG constants

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=15
2020-02-04 19:58:46 +00:00
Tomáš Chvátal
240ffd9795 - Add more py3.8 patches:
* 0001-py3.8-avoid-invalid-escapes.patch
  * 0002-Skip-one-test-on-python3.8.patch
- Remove patch obsoleted by above python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=13
2019-09-10 13:41:49 +00:00
Tomáš Chvátal
5f7d88c5e8 - Update to 3.28.0-r1:
* No changelog
- Add patch to build with python 3.8:
  * python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=11
2019-07-04 13:22:29 +00:00
Todd R
68ef39d040 Accepting request 519978 from devel:languages:python:singlespec-staging
- Update to version 3.9.2-r1
  * No changelog
- singlespec auto-conversion
- Downgrade to 3.7.17 so we build on 13.1 too.
- Fix file collision between doc and normal
- Version bump to 3.8.0.2-r1 to use latest sqlite queries.
- Drop the macroed commands in favor of normal ones
- Drop clean section
- Write fully what documents go where.
- Drop unused tarballs, defines and checks for obsolete openSUSE versions
- osc service localrun format_spec_file
  to add comments and such.
- build for all supported versions from a single spec
- link dynamically against the sqlite3 version that ships with each distro
  version, rather than using amalgamation: this is required by s3ql
- initial package (3.7.0.1-r1)

OBS-URL: https://build.opensuse.org/request/show/519978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=9
2017-08-31 16:47:02 +00:00
Denisart Benjamin
26d35c7f90 Accepting request 203390 from home:scarabeus_iv
- Downgrade to 3.7.17 so we build on 13.1 too.

- Fix file collision between doc and normal

OBS-URL: https://build.opensuse.org/request/show/203390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=7
2013-10-16 13:17:08 +00:00
Sascha Peilicke
45b08fd7bb Accepting request 203218 from home:scarabeus_iv
- Version bump to 3.8.0.2-r1 to use latest sqlite queries.
- Drop the macroed commands in favor of normal ones
- Drop clean section
- Write fully what documents go where.

OBS-URL: https://build.opensuse.org/request/show/203218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=6
2013-10-14 11:55:14 +00:00
Denisart Benjamin
0c4fd610c1 Accepting request 202727 from home:sumski:branches:devel:languages:python
Drop unused tarballs, defines and checks for obsolete openSUSE versions

OBS-URL: https://build.opensuse.org/request/show/202727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=5
2013-10-10 10:35:34 +00:00
Sascha Peilicke
b323dd2157 Accepting request 197257 from home:jnweiger:branches:devel:languages:python
- osc service localrun format_spec_file
  to add comments and such.
- sr#197112 just failed because of this.
  Sigh.

OBS-URL: https://build.opensuse.org/request/show/197257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=4
2013-09-03 10:59:03 +00:00
Pascal Bleser
2f31abbb65 dynamic linkage rather than amalgamation, required by s3ql
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=3
2011-12-12 19:58:01 +00:00
Pascal Bleser
371609c26c 3.7.0.1-r1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=1
2010-08-09 15:46:18 +00:00