Accepting request 1124001 from devel:languages:python

- update to 3.17.0:
  * Only roll-back in the outermost `@db.transaction`
    decorator/ctx manager if an unhandled exception occurs.
  * Cover transaction `BEGIN` in the reconnect-mixin. Given that
    no transaction has been started, reconnecting when beginning
    a new transaction ensures that a reconnect will occur if it
    is safe to do so.
  * Add support for setting `isolation_level` in `db.atomic()`
    and `db.transaction()` when using Postgres and MySQL/MariaDB,
    which will apply to the wrapped transaction.
  * Add support for the Sqlite `SQLITE_DETERMINISTIC` function
    flag. This allows user-defined Sqlite functions to be used
    in indexes and may be used by the query planner.
  * Fix unreported bug in dataset import when inferred field name
    differs from column name.
- disable apsw from tests for sle15 - can't be build anymore

- unbind to cython < 3
- bind to cython < 3
- Update to 3.15.4
  Fix bug in test_utils.count_queres() which could erroneously include pool events such as connect/disconnect, etc.
    set to `None`.
- switch to PyMSQL instead of mysql-connector-python, which is the
  * This will be a notable release as it adds support for CockroachDB,
  * Fix non-deterministic join ordering issue when using the filter()
  * Bulk insert (insert_many() and insert_from()) will now return
  * Migration extension now supports altering a column's data-type,
  * Added BloomFilter.from_buffer() method for populating a bloom-filter
  * Fix for issue #1991 regarding setting intervening models to None.

OBS-URL: https://build.opensuse.org/request/show/1124001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2023-11-07 20:28:37 +00:00 committed by Git OBS Bridge
commit a42c4d7567
4 changed files with 38 additions and 16 deletions

BIN
peewee-3.16.3.tar.gz (Stored with Git LFS)

Binary file not shown.

3
peewee-3.17.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Nov 7 14:21:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.17.0:
* Only roll-back in the outermost `@db.transaction`
decorator/ctx manager if an unhandled exception occurs.
* Cover transaction `BEGIN` in the reconnect-mixin. Given that
no transaction has been started, reconnecting when beginning
a new transaction ensures that a reconnect will occur if it
is safe to do so.
* Add support for setting `isolation_level` in `db.atomic()`
and `db.transaction()` when using Postgres and MySQL/MariaDB,
which will apply to the wrapped transaction.
* Add support for the Sqlite `SQLITE_DETERMINISTIC` function
flag. This allows user-defined Sqlite functions to be used
in indexes and may be used by the query planner.
* Fix unreported bug in dataset import when inferred field name
differs from column name.
- disable apsw from tests for sle15 - can't be build anymore
-------------------------------------------------------------------
Wed Aug 16 14:40:36 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-peewee
Version: 3.16.3
Version: 3.17.0
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause
@ -27,7 +27,9 @@ Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module PyMySQL}
%if 0%{?suse_version} > 1500
BuildRequires: %{python_module apsw}
%endif
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psycopg2}