From ff4bdf5c8e3df7d4c92004857ec0e9f3589b79d6500007a3a253d1a99356e64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 23 Jul 2019 13:06:44 +0000 Subject: [PATCH] - Update to 3.9.6: * Support nesting the Database instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. * Add new session_start(), session_commit() and session_rollback() interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. * Fix error that would arise when attempting to do an empty bulk-insert. * Set isolation_level=None in SQLite connection constructor rather than afterwards using the setter. * Add create_table() method to Select query to implement CREATE TABLE AS. * Cleanup some declarations in the Sqlite C extension. * Add new example showing how to implement Reddit's ranking algorithm in SQL. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=18 --- peewee-3.9.5.tar.gz | 3 --- peewee-3.9.6.tar.gz | 3 +++ python-peewee.changes | 12 ++++++++++++ python-peewee.spec | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 peewee-3.9.5.tar.gz create mode 100644 peewee-3.9.6.tar.gz diff --git a/peewee-3.9.5.tar.gz b/peewee-3.9.5.tar.gz deleted file mode 100644 index db74b98..0000000 --- a/peewee-3.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0249be468e3b119a8ad83f686e7fe161303197e0534e3cdff8fa5a5417c01a5 -size 2276358 diff --git a/peewee-3.9.6.tar.gz b/peewee-3.9.6.tar.gz new file mode 100644 index 0000000..09a57a8 --- /dev/null +++ b/peewee-3.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc879e1ffb7f7684f90d9dd236c77b5042118d079f94764f35e3806948829ac8 +size 810586 diff --git a/python-peewee.changes b/python-peewee.changes index 0bd37ac..e252f09 100644 --- a/python-peewee.changes +++ b/python-peewee.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jul 23 11:32:26 UTC 2019 - Tomáš Chvátal + +- Update to 3.9.6: + * Support nesting the Database instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. + * Add new session_start(), session_commit() and session_rollback() interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. + * Fix error that would arise when attempting to do an empty bulk-insert. + * Set isolation_level=None in SQLite connection constructor rather than afterwards using the setter. + * Add create_table() method to Select query to implement CREATE TABLE AS. + * Cleanup some declarations in the Sqlite C extension. + * Add new example showing how to implement Reddit's ranking algorithm in SQL. + ------------------------------------------------------------------- Sun May 12 20:41:48 UTC 2019 - Alexei Podvalsky diff --git a/python-peewee.spec b/python-peewee.spec index 591c13e..ae91f6d 100644 --- a/python-peewee.spec +++ b/python-peewee.spec @@ -1,7 +1,7 @@ # # spec file for package python-peewee # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-peewee -Version: 3.9.5 +Version: 3.9.6 Release: 0 Summary: An expressive ORM that supports multiple SQL backends License: BSD-3-Clause