Accepting request 667064 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/667064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-01-21 10:00:50 +00:00 committed by Git OBS Bridge
commit b360b2615a
4 changed files with 42 additions and 27 deletions

View File

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

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

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

View File

@ -1,26 +1,42 @@
-------------------------------------------------------------------
Fri Jan 18 22:09:07 UTC 2019 - Alexei Podvalsky <avvissu@yandex.by>
- Update to 3.8.2:
* The default row-type for INSERT queries executed with a non-default
RETURNING clause has changed from tuple to Model instances. This
makes INSERT behavior consistent with UPDATE and DELETE queries
that specify a RETURNING clause.
* Removing support for the table_alias model Meta option.
* Added playhouse.shortcuts.ReconnectMixin, which can be used to
implement automatic reconnect under certain error conditions.
* Fix SQL generation bug when using an inline window function in
the ORDER BY clause of a query.
* Fix possible zero-division in user-defined implementation of
BM25 ranking algorithm for SQLite full-text search.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 8 20:05:48 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by> Mon Oct 8 20:05:48 UTC 2018 - Alexei Podvalsky <avvissu@yandex.by>
- Update to 3.7.1: - Update to 3.7.1:
* Added table_settings model Meta option, which should be a list * Added table_settings model Meta option, which should be a list
of strings specifying additional options for CREATE TABLE, which of strings specifying additional options for CREATE TABLE, which
are placed after the closing parentheses. are placed after the closing parentheses.
* Allow specification of on_update and on_delete behavior for * Allow specification of on_update and on_delete behavior for
many-to-many relationships when using ManyToManyField. many-to-many relationships when using ManyToManyField.
* Fixed incorrect SQL generation for Postgresql ON CONFLICT clause * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause
when the conflict_target is a named constraint (rather than an when the conflict_target is a named constraint (rather than an
index expression). This introduces a new keyword-argument to the index expression). This introduces a new keyword-argument to the
on_conflict() method: conflict_constraint, which is currently only on_conflict() method: conflict_constraint, which is currently only
supported by Postgresql. Refs issue #1737. supported by Postgresql. Refs issue #1737.
* Fixed incorrect SQL for sub-selects used on the right side of IN * Fixed incorrect SQL for sub-selects used on the right side of IN
expressions. Previously the query would be assigned an alias, even expressions. Previously the query would be assigned an alias, even
though an alias was not needed. though an alias was not needed.
* Fixed incorrect SQL generation for Model indexes which contain SQL * Fixed incorrect SQL generation for Model indexes which contain SQL
functions as indexed columns. functions as indexed columns.
* Fixed bug in the generation of special queries used to perform * Fixed bug in the generation of special queries used to perform
operations on SQLite FTS5 virtual tables. operations on SQLite FTS5 virtual tables.
* Allow frozenset to be correctly parameterized as a list of values. * Allow frozenset to be correctly parameterized as a list of values.
* Allow multi-value INSERT queries to specify columns as a list of * Allow multi-value INSERT queries to specify columns as a list of
strings. strings.
* Support CROSS JOIN for model select queries. * Support CROSS JOIN for model select queries.
@ -32,7 +48,7 @@ Sat Jul 28 18:06:40 UTC 2018 - jengelh@inai.de
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 19 15:38:58 UTC 2018 - mcepl@suse.com Thu Jul 19 15:38:58 UTC 2018 - mcepl@suse.com
- Update to 3.6.4: - Update to 3.6.4:
- bugfixes - bugfixes
- works with python 3.7.0 - works with python 3.7.0
- Support for specifying ROWS or RANGE window frame types. - Support for specifying ROWS or RANGE window frame types.
@ -52,27 +68,27 @@ Thu Jul 19 15:38:58 UTC 2018 - mcepl@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 4 13:37:37 UTC 2018 - avvissu@yandex.by Wed Jul 4 13:37:37 UTC 2018 - avvissu@yandex.by
- Update to 3.5.2: - Update to 3.5.2:
* New guide to using window functions in Peewee. * New guide to using window functions in Peewee.
* New and improved table name auto-generation. * New and improved table name auto-generation.
* Allow passing single fields/columns to window function * Allow passing single fields/columns to window function
order_by and partition_by arguments. order_by and partition_by arguments.
* Support for FILTER (WHERE...) clauses with window functions * Support for FILTER (WHERE...) clauses with window functions
and aggregates. and aggregates.
* Added IdentityField class suitable for use with Postgres 10's * Added IdentityField class suitable for use with Postgres 10's
new identity column type. new identity column type.
* Fixed bug creating indexes on tables that are in attached * Fixed bug creating indexes on tables that are in attached
databases (SQLite). databases (SQLite).
* Fixed obscure bug when using prefetch() and ModelAlias to * Fixed obscure bug when using prefetch() and ModelAlias to
populate a back-reference related model. populate a back-reference related model.
- Change in 3.5.1: - Change in 3.5.1:
* New documentation for working with relationships in Peewee. * New documentation for working with relationships in Peewee.
* Improved tests and documentation for MySQL upsert functionality. * Improved tests and documentation for MySQL upsert functionality.
* Allow database parameter to be specified with ModelSelect.get() * Allow database parameter to be specified with ModelSelect.get()
method. For discussion, see #1620. method. For discussion, see #1620.
* Add QualifiedNames helper to peewee module exports. * Add QualifiedNames helper to peewee module exports.
* Add temporary= meta option to support temporary tables. * Add temporary= meta option to support temporary tables.
* Allow a Database object to be passed to constructor of * Allow a Database object to be passed to constructor of
DataSet helper. DataSet helper.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peewee Name: python-peewee
Version: 3.7.1 Version: 3.8.2
Release: 0 Release: 0
Summary: An expressive ORM that supports multiple SQL backends Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause License: BSD-3-Clause
@ -29,7 +29,6 @@ BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: fdupes
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip