From aefbda7eb66cce11d03130fe9f21b01192418b9ccc45ce04b3d7e9c9e5da6539 Mon Sep 17 00:00:00 2001 From: Alexei Podvalsky Date: Mon, 8 Oct 2018 20:12:50 +0000 Subject: [PATCH] Accepting request 640691 from home:awissu:branches:devel:languages:python - Update to 3.7.1: * Added table_settings model Meta option, which should be a list of strings specifying additional options for CREATE TABLE, which are placed after the closing parentheses. * Allow specification of on_update and on_delete behavior for many-to-many relationships when using ManyToManyField. * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause when the conflict_target is a named constraint (rather than an index expression). This introduces a new keyword-argument to the on_conflict() method: conflict_constraint, which is currently only supported by Postgresql. Refs issue #1737. * Fixed incorrect SQL for sub-selects used on the right side of IN expressions. Previously the query would be assigned an alias, even though an alias was not needed. * Fixed incorrect SQL generation for Model indexes which contain SQL functions as indexed columns. * Fixed bug in the generation of special queries used to perform operations on SQLite FTS5 virtual tables. * Allow frozenset to be correctly parameterized as a list of values. * Allow multi-value INSERT queries to specify columns as a list of strings. * Support CROSS JOIN for model select queries. OBS-URL: https://build.opensuse.org/request/show/640691 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=10 --- peewee-3.6.4.tar.gz | 3 --- peewee-3.7.1.tar.gz | 3 +++ python-peewee.changes | 26 ++++++++++++++++++++++++++ python-peewee.spec | 4 ++-- 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 peewee-3.6.4.tar.gz create mode 100644 peewee-3.7.1.tar.gz diff --git a/peewee-3.6.4.tar.gz b/peewee-3.6.4.tar.gz deleted file mode 100644 index 03d0758..0000000 --- a/peewee-3.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:538d7b7f892e59ecbef6eeefb867fd37f20ac77e602b4ee94b2766836cfa24ba -size 2083203 diff --git a/peewee-3.7.1.tar.gz b/peewee-3.7.1.tar.gz new file mode 100644 index 0000000..cef09e0 --- /dev/null +++ b/peewee-3.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a91c3ccff43ab71f08196aba1d17dd2548079744d54adc33d511db1c30b446ba +size 2167702 diff --git a/python-peewee.changes b/python-peewee.changes index fb181f8..3c9d251 100644 --- a/python-peewee.changes +++ b/python-peewee.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Oct 8 20:05:48 UTC 2018 - Alexei Podvalsky + +- Update to 3.7.1: + * Added table_settings model Meta option, which should be a list + of strings specifying additional options for CREATE TABLE, which + are placed after the closing parentheses. + * Allow specification of on_update and on_delete behavior for + many-to-many relationships when using ManyToManyField. + * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause + when the conflict_target is a named constraint (rather than an + index expression). This introduces a new keyword-argument to the + on_conflict() method: conflict_constraint, which is currently only + supported by Postgresql. Refs issue #1737. + * Fixed incorrect SQL for sub-selects used on the right side of IN + expressions. Previously the query would be assigned an alias, even + though an alias was not needed. + * Fixed incorrect SQL generation for Model indexes which contain SQL + functions as indexed columns. + * Fixed bug in the generation of special queries used to perform + operations on SQLite FTS5 virtual tables. + * Allow frozenset to be correctly parameterized as a list of values. + * Allow multi-value INSERT queries to specify columns as a list of + strings. + * Support CROSS JOIN for model select queries. + ------------------------------------------------------------------- Sat Jul 28 18:06:40 UTC 2018 - jengelh@inai.de diff --git a/python-peewee.spec b/python-peewee.spec index 4562f2b..dbea057 100644 --- a/python-peewee.spec +++ b/python-peewee.spec @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-peewee -Version: 3.6.4 +Version: 3.7.1 Release: 0 Summary: An expressive ORM that supports multiple SQL backends License: BSD-3-Clause