Accepting request 917302 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/917302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2021-09-07 19:21:51 +00:00 committed by Git OBS Bridge
commit d03d53749d
4 changed files with 66 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Mon Sep 6 13:42:49 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Update to version 3.14.4
* Bugfix release
- Update to version 3.14.3
* This release contains a single fix for ensuring NULL values
are inserted when issuing a bulk-insert of heterogeneous
dictionaries which may be missing explicit NULL values.
- Update to version 3.14.2
* Support for named Check and foreign-key constraints.
* Better foreign-key introspection for CockroachDB (and Postgres)
* Register UUID adapter for Postgres.
* Add fn.array_agg() to blacklist for automatic value coercion.
- Update to version 3.14.1
Changes
* Properly delegate to a foreign-key field's db_value() function
when converting model instances.
* Strip quote marks and parentheses from column names returned
by sqlite cursor when a function-call is projected without an
alias.
* Fix DataSet.create_index() method.
* Fix column-to-model mapping in model-select from subquery
with joins.
* Improvements to foreign-key lazy-loading.
* Preserve and handle CHECK() constraints in Sqlite migrator.
* Add stddev aggregate function to collection of sqlite
user-defined funcs.
- Update to version 3.14.0
* Add an experimental helper,
shortcuts.resolve_multimodel_query(),
for resolving multiple models used in a compound select query.
* Add a lateral() method to select query for use with lateral
joins, refs issue #2205.
* Added support for nested transactions (savepoints) in
cockroach-db (requires 20.1 or newer).
* Automatically escape wildcards passed to string-matching
methods, refs #2224.
* Allow index-type to be specified on MySQL, refs #2242.
* Added a new API, converter() to be used for specifying a
function to use to convert a row-value pulled off the cursor.
* Add set() and clear() method to the bitfield flag descriptor.
* Add support for range types with IN and other expressions.
* Support CTEs bound to compound select queries, refs #2289.
Bug-fixes
* Fix to return related object id when accessing via the
object-id descriptor, when the related object is not populated.
* Fix to ensure we do not insert a NULL value for a primary key.
* Fix to conditionally set the field/column on an added column
in a migration.
* Apply field conversion logic to model-class values. Relocates
the logic from issue #2131 and fixes #2185.
* Clone node before modifying it to be flat in an enclosed
nodelist expr, fixes issue #2200.
* Fix an invalid item assignment in nodelist, refs #2220.
* Fix an incorrect truthiness check used with save() and only=.
* Fix regression in filter() where using both *args and **kwargs
caused the expressions passed as args to be discarded. #2293.
-------------------------------------------------------------------
Wed May 20 07:26:11 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-peewee
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peewee
Version: 3.13.1
Version: 3.14.4
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause
URL: https://github.com/coleifer/peewee
Source: https://github.com/coleifer/peewee/archive/%{version}.tar.gz
Source: https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module PyMySQL}
@ -39,7 +39,7 @@ BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3)
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description