commit python-peewee for openSUSE:Factory

2024-09-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2024-09-02 13:14:16

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.2698 (New)


Package is "python-peewee"

Mon Sep  2 13:14:16 2024 rev:29 rq:1198059 version:3.17.6

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2024-06-07 15:04:47.022869894 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.2698/python-peewee.changes
2024-09-02 13:14:22.766175183 +0200
@@ -1,0 +2,19 @@
+Sat Aug 31 12:12:35 UTC 2024 - Dirk Müller 
+
+- update to 3.17.6:
+  * Fix bug in recursive `model.delete_instance()` when a table
+contains foreign-keys at multiple depths of the graph
+  * Fix regression in pool behavior on systems where
+`time.time()` returns identical values for two connections.
+This adds a no-op comparable sentinel to the heap to prevent
+any recurrence of this problem.
+  * Ensure that subqueries inside `CASE` statements generate
+correct SQL.
+  * Fix regression that broke server-side cursors with Postgres
+  * Fix to ensure compatibility with psycopg3 - the libpq
+TransactionStatus constants are no longer available on the
+`Connection` instance.
+  * Fix quoting issue in pwiz that could generate invalid python
+code for double-quoted string literals used as column defaults.
+
+---

Old:

  peewee-3.17.5.tar.gz

New:

  peewee-3.17.6.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.p7x7lV/_old  2024-09-02 13:14:24.310239394 +0200
+++ /var/tmp/diff_new_pack.p7x7lV/_new  2024-09-02 13:14:24.318239726 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-peewee
-Version:3.17.5
+Version:3.17.6
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.17.5.tar.gz -> peewee-3.17.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.17.5/CHANGELOG.md 
new/peewee-3.17.6/CHANGELOG.md
--- old/peewee-3.17.5/CHANGELOG.md  2024-05-10 15:42:02.0 +0200
+++ new/peewee-3.17.6/CHANGELOG.md  2024-07-06 19:11:45.0 +0200
@@ -7,7 +7,30 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.17.4...master)
+[View commits](https://github.com/coleifer/peewee/compare/3.17.6...master)
+
+## 3.17.6
+
+* Fix bug in recursive `model.delete_instance()` when a table contains
+  foreign-keys at multiple depths of the graph, #2893.
+* Fix regression in pool behavior on systems where `time.time()` returns
+  identical values for two connections. This adds a no-op comparable sentinel
+  to the heap to prevent any recurrence of this problem, #2901.
+* Ensure that subqueries inside `CASE` statements generate correct SQL.
+* Fix regression that broke server-side cursors with Postgres (introduced in
+  3.16.0).
+* Fix to ensure compatibility with psycopg3 - the libpq TransactionStatus
+  constants are no longer available on the `Connection` instance.
+* Fix quoting issue in pwiz that could generate invalid python code for
+  double-quoted string literals used as column defaults.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.17.5...3.17.6)
+
+## 3.17.5
+
+This release fixes a build system problem in Python 3.12, #2891.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.17.4...3.17.5)
 
 ## 3.17.4
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.17.5/docs/peewee/api.rst 
new/peewee-3.17.6/docs/peewee/api.rst
--- old/peewee-3.17.5/docs/peewee/api.rst   2024-05-10 15:42:02.0 
+0200
+++ new/peewee-3.17.6/docs/peewee/api.rst   2024-07-06 19:11:45.0 
+0200
@@ -3982,7 +3982,37 @@
 
 .. py:class:: SubclassAwareMetadata
 
-Metadata subclass that tracks :py:class:`Model` subclasses.
+Metadata subclass that tracks :py:class:`Model` subclasses. Useful for
+when you need to track all models in a project.
+
+Example:
+
+.. code-block:: python
+
+from peewee import SubclassAwareMetadata
+
+class Base(Model):
+class Meta:
+database = db
+model_metadata_class = SubclassAwareMetadata
+
+# Create 3 model classes that inherit from Base.
+class A(Base): pass
+class B(Base): pass
+class C(Base): pass
+
+# Now let's make a helper for changing the `schema` for each Model.
+de

commit python-peewee for openSUSE:Factory

2024-05-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2024-05-02 23:48:42

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1880 (New)


Package is "python-peewee"

Thu May  2 23:48:42 2024 rev:27 rq:1171418 version:3.17.3

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2024-02-12 18:55:17.321169593 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1880/python-peewee.changes
2024-05-03 10:43:05.914100097 +0200
@@ -1,0 +2,12 @@
+Thu May  2 16:33:48 UTC 2024 - Dirk Müller 
+
+- update to 3.17.3:
+  * Better fix for #2871 (extraneous queries when coercing query
+to list), and new fix in #2872 for regression in truthiness
+of cursor.
+  * Full support for `psycopg3`.
+  * Basic support for Sqlite `jsonb`.
+  * Fix bug where calling `list(query)` resulted in extra
+queries, #2871
+
+---

Old:

  peewee-3.17.1.tar.gz

New:

  peewee-3.17.3.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.NI9T6L/_old  2024-05-03 10:43:06.618125684 +0200
+++ /var/tmp/diff_new_pack.NI9T6L/_new  2024-05-03 10:43:06.618125684 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-peewee
-Version:3.17.1
+Version:3.17.3
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.17.1.tar.gz -> peewee-3.17.3.tar.gz ++
 1646 lines of diff (skipped)


commit python-peewee for openSUSE:Factory

2024-02-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2024-02-12 18:52:48

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1815 (New)


Package is "python-peewee"

Mon Feb 12 18:52:48 2024 rev:26 rq:1146064 version:3.17.1

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2024-01-10 21:52:44.889168373 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1815/python-peewee.changes
2024-02-12 18:55:17.321169593 +0100
@@ -1,0 +2,16 @@
+Mon Feb 12 02:57:29 UTC 2024 - Steve Kowalik 
+
+- Update to 3.17.1:
+  * Add bitwise and other helper methods to `BigBitField`, #2802.
+  * Add `add_column_default` and `drop_column_default` migrator methods for
+specifying a server-side default value, #2803.
+  * The new `star` attribute was causing issues for users who had a field named
+star on their models. This attribute is now renamed to `__star__`. #2796.
+  * Fix compatibility issues with 3.12 related to utcnow() deprecation.
+  * Add stricter locking on connection pool to prevent race conditions.
+  * Add adapters and converters to Sqlite to replace ones deprecated in 3.12.
+  * Fix bug in `model_to_dict()` when only aliases are present.
+  * Fix version check for Sqlite native drop column support.
+  * Do not specify a `reconnect=` argument to `ping()` if using MySQL 8.x.
+
+---

Old:

  peewee-3.17.0.tar.gz

New:

  peewee-3.17.1.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.Fy20XA/_old  2024-02-12 18:55:17.773185916 +0100
+++ /var/tmp/diff_new_pack.Fy20XA/_new  2024-02-12 18:55:17.777186060 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-peewee
-Version:3.17.0
+Version:3.17.1
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause
@@ -40,7 +40,7 @@
 BuildRequires:  unzip
 BuildRequires:  pkgconfig(sqlite3)
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -74,7 +74,7 @@
 %license LICENSE
 %doc CHANGELOG.md README.rst TODO.rst
 %python_alternative %{_bindir}/pwiz.py
-%{python_sitearch}/peewee-%{version}*-info
+%{python_sitearch}/peewee-%{version}.dist-info
 %{python_sitearch}/peewee.py
 %{python_sitearch}/pwiz.py
 %{python_sitearch}/playhouse

++ peewee-3.17.0.tar.gz -> peewee-3.17.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.17.0/CHANGELOG.md 
new/peewee-3.17.1/CHANGELOG.md
--- old/peewee-3.17.0/CHANGELOG.md  2023-10-13 17:45:33.0 +0200
+++ new/peewee-3.17.1/CHANGELOG.md  2024-02-05 16:02:22.0 +0100
@@ -7,7 +7,23 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.17.0...master)
+[View commits](https://github.com/coleifer/peewee/compare/3.17.1...master)
+
+## 3.17.1
+
+* Add bitwise and other helper methods to `BigBitField`, #2802.
+* Add `add_column_default` and `drop_column_default` migrator methods for
+  specifying a server-side default value, #2803.
+* The new `star` attribute was causing issues for users who had a field named
+  star on their models. This attribute is now renamed to `__star__`. #2796.
+* Fix compatibility issues with 3.12 related to utcnow() deprecation.
+* Add stricter locking on connection pool to prevent race conditions.
+* Add adapters and converters to Sqlite to replace ones deprecated in 3.12.
+* Fix bug in `model_to_dict()` when only aliases are present.
+* Fix version check for Sqlite native drop column support.
+* Do not specify a `reconnect=` argument to `ping()` if using MySQL 8.x.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.17.0...3.17.1)
 
 ## 3.17.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.17.0/docs/peewee/api.rst 
new/peewee-3.17.1/docs/peewee/api.rst
--- old/peewee-3.17.0/docs/peewee/api.rst   2023-10-13 17:45:33.0 
+0200
+++ new/peewee-3.17.1/docs/peewee/api.rst   2024-02-05 16:02:22.0 
+0100
@@ -3093,6 +3093,21 @@
 assert bitmap.data.toggle_bit(63) is True
 assert bitmap.data.is_set(63)
 
+# BigBitField supports item accessor by bit-number, e.g.:
+assert bitmap.data[63]
+bitmap.data[0] = 1
+del bitmap.data[0]
+
+# We can also combine bitmaps using bitwise operators, e.g.
+b = Bitmap(data=b'\x01')
+b.dat

commit python-peewee for openSUSE:Factory

2024-01-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2024-01-10 21:52:26

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.21961 (New)


Package is "python-peewee"

Wed Jan 10 21:52:26 2024 rev:25 rq:1137846 version:3.17.0

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2023-11-07 21:29:29.354430813 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.21961/python-peewee.changes   
2024-01-10 21:52:44.889168373 +0100
@@ -1,0 +2,7 @@
+Tue Jan  9 15:18:54 UTC 2024 - Antonio Larrosa 
+
+- Remove unneeded BuildRequires PyMySQL and psycopg2. I checked
+  that the number of tests that are run are the same.
+- Fix shebangs and other rpmlint errors/warnings
+
+---



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.zGvIvB/_old  2024-01-10 21:52:45.297183190 +0100
+++ /var/tmp/diff_new_pack.zGvIvB/_new  2024-01-10 21:52:45.297183190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-peewee
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,13 +26,11 @@
 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}
 %if 0%{?suse_version} > 1500
 BuildRequires:  %{python_module apsw}
 %endif
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module psycopg2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  %{pythons}
@@ -57,7 +55,11 @@
 %install
 %pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pwiz.py
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%{python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+# Remove shebang from non-executable files
+sed -i -e '1{\@^#! *%{_bindir}.*python@d}' 
%{buildroot}%{$python_sitearch}/pwiz.py
+}
 
 %check
 %pytest_arch tests
@@ -71,7 +73,11 @@
 %files %{python_files}
 %license LICENSE
 %doc CHANGELOG.md README.rst TODO.rst
-%{_bindir}/pwiz.py-%{python_bin_suffix}
 %python_alternative %{_bindir}/pwiz.py
-%{python_sitearch}/*
+%{python_sitearch}/peewee-%{version}*-info
+%{python_sitearch}/peewee.py
+%{python_sitearch}/pwiz.py
+%{python_sitearch}/playhouse
+%pycache_only %{python_sitearch}/__pycache__/peewee.*.pyc
+%pycache_only %{python_sitearch}/__pycache__/pwiz.*.pyc
 


commit python-peewee for openSUSE:Factory

2023-11-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2023-11-07 21:28:37

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.17445 (New)


Package is "python-peewee"

Tue Nov  7 21:28:37 2023 rev:24 rq:1124001 version:3.17.0

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2023-08-22 08:56:21.990583896 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.17445/python-peewee.changes   
2023-11-07 21:29:29.354430813 +0100
@@ -1,0 +2,20 @@
+Tue Nov  7 14:21:31 UTC 2023 - Dirk Müller 
+
+- 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
+
+---

Old:

  peewee-3.16.3.tar.gz

New:

  peewee-3.17.0.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.ALC4NL/_old  2023-11-07 21:29:29.774446279 +0100
+++ /var/tmp/diff_new_pack.ALC4NL/_new  2023-11-07 21:29:29.778446427 +0100
@@ -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 @@
 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}

++ peewee-3.16.3.tar.gz -> peewee-3.17.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.16.3/.readthedocs.yaml 
new/peewee-3.17.0/.readthedocs.yaml
--- old/peewee-3.16.3/.readthedocs.yaml 2023-08-14 16:15:01.0 +0200
+++ new/peewee-3.17.0/.readthedocs.yaml 2023-10-13 17:45:33.0 +0200
@@ -2,3 +2,11 @@
 python:
   install:
   - requirements: docs/requirements.txt
+
+build:
+  os: ubuntu-22.04
+  tools:
+python: "3.11"
+
+sphinx:
+  configuration: docs/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.16.3/CHANGELOG.md 
new/peewee-3.17.0/CHANGELOG.md
--- old/peewee-3.16.3/CHANGELOG.md  2023-08-14 16:15:01.0 +0200
+++ new/peewee-3.17.0/CHANGELOG.md  2023-10-13 17:45:33.0 +0200
@@ -7,7 +7,43 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.16.2...master)
+[View commits](https://github.com/coleifer/peewee/compare/3.17.0...master)
+
+## 3.17.0
+
+* Only roll-back in the outermost `@db.transaction` decorator/ctx manager if
+  an unhandled exception occurs. Previously, an unhandled exception that
+  occurred in a nested `transaction` context would trigger a rollback. The use
+  of nested `transaction` has long been discouraged in the documentation: the
+  recommendation is to always use `db.atomic`, which will use savepoints to
+  properly handle nested blocks. However, the new behavior should make it
+  easier to reason about transaction boundaries - see #2767 for discussion.
+* 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. Note: Sqlite has supported a similar `lock_type`
+  parameter for some time.
+* 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

commit python-peewee for openSUSE:Factory

2023-08-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2023-08-22 08:56:17

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1766 (New)


Package is "python-peewee"

Tue Aug 22 08:56:17 2023 rev:23 rq:1105035 version:3.16.3

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2023-08-14 22:35:39.064374682 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1766/python-peewee.changes
2023-08-22 08:56:21.990583896 +0200
@@ -1,0 +2,14 @@
+Wed Aug 16 14:40:36 UTC 2023 - ecsos 
+
+- Update to 3.16.3
+  - Support for Cython 3.0.
+  - Add flag to ManyToManyField to prevent setting/getting values
+on unsaved instances. This is worthwhile, since reading or
+writing a many-to-many has no meaning when the instance is unsaved.
+  - Adds a star() helper to Source base-class for selecting all columns.
+  - Fix missing binary types for mysql-connector and mariadb-connector.
+  - Add extract() method to MySQL JSONField for extracting a jsonpath.
+- Add %{?sle15_python_module_pythons}
+- unbind to cython < 3 
+
+---

Old:

  peewee-3.16.2.tar.gz

New:

  peewee-3.16.3.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.ZcGVpL/_old  2023-08-22 08:56:23.646587042 +0200
+++ /var/tmp/diff_new_pack.ZcGVpL/_new  2023-08-22 08:56:23.654587057 +0200
@@ -16,15 +16,15 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:   python-peewee
-Version:3.16.2
+Version:3.16.3
 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/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
-BuildRequires:  %{python_module Cython < 3.0.0}
+BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module PyMySQL}
 BuildRequires:  %{python_module apsw}

++ peewee-3.16.2.tar.gz -> peewee-3.16.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.16.2/.github/workflows/tests.yaml 
new/peewee-3.16.3/.github/workflows/tests.yaml
--- old/peewee-3.16.2/.github/workflows/tests.yaml  2023-04-21 
22:17:23.0 +0200
+++ new/peewee-3.16.3/.github/workflows/tests.yaml  2023-08-14 
16:15:01.0 +0200
@@ -24,7 +24,7 @@
 strategy:
   fail-fast: false
   matrix:
-python-version: [2.7, 3.7, 3.9, "3.10"]
+python-version: [3.7, 3.9, "3.10"]
 peewee-backend:
   - "sqlite"
   - "postgresql"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.16.2/CHANGELOG.md 
new/peewee-3.16.3/CHANGELOG.md
--- old/peewee-3.16.2/CHANGELOG.md  2023-04-21 22:17:23.0 +0200
+++ new/peewee-3.16.3/CHANGELOG.md  2023-08-14 16:15:01.0 +0200
@@ -168,7 +168,7 @@
 UPDATE queries - see #2152.
 
 Additionally, this release adds better support for using the new `RETURNING`
-syntax with Sqlite automatically. Specify `returing_clause=True` when
+syntax with Sqlite automatically. Specify `returning_clause=True` when
 initializing your `SqliteDatabase` and all bulk inserts will automatically
 specify a `RETURNING` clause, returning the newly-inserted primary keys. This
 functionality requires Sqlite 3.35 or newer.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.16.2/docs/peewee/database.rst 
new/peewee-3.16.3/docs/peewee/database.rst
--- old/peewee-3.16.2/docs/peewee/database.rst  2023-04-21 22:17:23.0 
+0200
+++ new/peewee-3.16.3/docs/peewee/database.rst  2023-08-14 16:15:01.0 
+0200
@@ -1449,32 +1449,20 @@
 FastAPI
 ^^^
 
-Similar to Flask, FastAPI provides two event based hooks which we will use to 
open and
-close our db connection. We'll open the connection when a request is received,
-then close it when the response is returned.
-
-.. code-block:: python
-
-from fastapi import FastAPI
-from peewee import *
-
-db = SqliteDatabase('my_app.db')
-app = FastAPI()
-
-# This hook ensures that a connection is opened to handle any queries
-# generated by the request.
-@app.on_event("startup")
-def startup():
-db.connect()
-
-
-# This hook ensures that the connection is closed when we've finished
-# processing the reque

commit python-peewee for openSUSE:Factory

2023-08-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2023-08-14 22:35:31

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.11712 (New)


Package is "python-peewee"

Mon Aug 14 22:35:31 2023 rev:22 rq:1103730 version:3.16.2

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2023-06-09 20:43:25.144638357 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.11712/python-peewee.changes   
2023-08-14 22:35:39.064374682 +0200
@@ -1,0 +2,5 @@
+Sun Aug 13 19:59:10 UTC 2023 - Dirk Müller 
+
+- bind to cython < 3 
+
+---



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.7JExo3/_old  2023-08-14 22:35:39.708378778 +0200
+++ /var/tmp/diff_new_pack.7JExo3/_new  2023-08-14 22:35:39.716378829 +0200
@@ -24,14 +24,15 @@
 License:BSD-3-Clause
 URL:https://github.com/coleifer/peewee
 Source: 
https://github.com/coleifer/peewee/archive/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
-BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module Cython < 3.0.0}
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module PyMySQL}
 BuildRequires:  %{python_module apsw}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module psycopg2}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  %{pythons}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
@@ -49,10 +50,10 @@
 %setup -q -n peewee-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pwiz.py
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 


commit python-peewee for openSUSE:Factory

2023-06-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2023-06-09 20:39:58

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.15902 (New)


Package is "python-peewee"

Fri Jun  9 20:39:58 2023 rev:21 rq:1091730 version:3.16.2

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2022-12-03 10:04:14.619442717 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.15902/python-peewee.changes   
2023-06-09 20:43:25.144638357 +0200
@@ -1,0 +2,23 @@
+Thu Jun  1 20:04:58 UTC 2023 - Dirk Müller 
+
+- update to 3.16.2:
+  * Fixes a longstanding issue with thread-safety of various
+decorators, including `atomic()`, `transaction()`,
+`savepoint()`. The context-managers are unaffected.
+  * Add changes required for building against Cython 3.0 and set
+Cython language-level to 3.
+  * Ensure indexes aren't added to unindexed fields during
+introspection, #2691.
+  * Ensure we don't redundantly select same PK in prefetch when
+using PREFETCH_TYPE.JOIN.
+  * In Sqlite migrator, use Sqlite's builtin DROP and RENAME
+column facilities when possible. This can be overridden
+by passing `legacy=True` flag.
+  * This release contains backwards-incompatible changes in the
+way Peewee initializes connections to the underlying
+database driver.  Previously, peewee implemented autocommit
+semantics *on-top* of the existing DB-API transactional
+workflow. Going forward, Peewee instead places the DB-API
+driver into autocommit mode directly.
+
+---

Old:

  peewee-3.15.4.tar.gz

New:

  peewee-3.16.2.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.ANJ2uz/_old  2023-06-09 20:43:25.664641377 +0200
+++ /var/tmp/diff_new_pack.ANJ2uz/_new  2023-06-09 20:43:25.672641424 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-peewee
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # 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.15.4
+Version:3.16.2
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.15.4.tar.gz -> peewee-3.16.2.tar.gz ++
 1988 lines of diff (skipped)


commit python-peewee for openSUSE:Factory

2022-12-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2022-12-03 10:04:00

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1835 (New)


Package is "python-peewee"

Sat Dec  3 10:04:00 2022 rev:20 rq:1039750 version:3.15.4

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2022-11-01 13:42:27.827862749 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1835/python-peewee.changes
2022-12-03 10:04:14.619442717 +0100
@@ -1,0 +2,24 @@
+Fri Dec  2 21:43:51 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to 3.15.4 
+  Raise an exception in ReconnectMixin if connection is lost while inside a 
transaction (if the transaction was interrupted presumably some changes were 
lost and explicit intervention is needed).
+  Add db.Model property to reduce boilerplate.
+  Add support for running prefetch() queries with joins instead of subqueries 
(this helps overcome a MySQL limitation about applying LIMITs to a subquery).
+  Add SQL AVG to whitelist to avoid coercing by default.
+  Allow arbitrary keywords in metaclass constructor, #2627
+  Add a pyproject.toml to silence warnings from newer pips when wheel package 
is not available.
+  This release has a small helper for reducing boilerplate in some cases by 
exposing a base model class as an attribute of the database instance.
+  # old:
+  db = SqliteDatabase('...')
+  class BaseModel(Model):
+class Meta:
+database = db
+  class MyModel(BaseModel):
+pass
+
+  # new:
+  db = SqliteDatabase('...')
+  class MyModel(db.Model):
+pass
+
+---

Old:

  peewee-3.15.3.tar.gz

New:

  peewee-3.15.4.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.2sQj2x/_old  2022-12-03 10:04:15.015444918 +0100
+++ /var/tmp/diff_new_pack.2sQj2x/_new  2022-12-03 10:04:15.019444940 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-peewee
-Version:3.15.3
+Version:3.15.4
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.15.3.tar.gz -> peewee-3.15.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.15.3/.github/workflows/tests.yaml 
new/peewee-3.15.4/.github/workflows/tests.yaml
--- old/peewee-3.15.3/.github/workflows/tests.yaml  2022-09-22 
04:55:53.0 +0200
+++ new/peewee-3.15.4/.github/workflows/tests.yaml  2022-11-11 
15:32:56.0 +0100
@@ -34,6 +34,8 @@
 include:
   - python-version: 3.6
 peewee-backend: cockroachdb
+  - python-version: "3.10"
+peewee-backend: cockroachdb
 steps:
   - uses: actions/checkout@v2
   - uses: actions/setup-python@v2
@@ -54,9 +56,9 @@
   - name: crdb
 if: ${{ matrix.peewee-backend == 'cockroachdb' }}
 run: |
-  wget -qO- 
https://binaries.cockroachdb.com/cockroach-v20.1.1.linux-amd64.tgz | tar xz
-  ./cockroach-v20.1.1.linux-amd64/cockroach start-single-node 
--insecure --background
-  ./cockroach-v20.1.1.linux-amd64/cockroach sql --insecure -e 'create 
database peewee_test;'
+  wget -qO- 
https://binaries.cockroachdb.com/cockroach-v22.1.7.linux-amd64.tgz | tar xz
+  ./cockroach-v22.1.7.linux-amd64/cockroach start-single-node 
--insecure --background
+  ./cockroach-v22.1.7.linux-amd64/cockroach sql --insecure -e 'create 
database peewee_test;'
   - name: runtests ${{ matrix.peewee-backend }} - ${{ 
matrix.python-version }}
 env:
   PEEWEE_TEST_BACKEND: ${{ matrix.peewee-backend }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.15.3/CHANGELOG.md 
new/peewee-3.15.4/CHANGELOG.md
--- old/peewee-3.15.3/CHANGELOG.md  2022-09-22 04:55:53.0 +0200
+++ new/peewee-3.15.4/CHANGELOG.md  2022-11-11 15:32:56.0 +0100
@@ -7,7 +7,43 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.15.3...master)
+[View commits](https://github.com/coleifer/peewee/compare/3.15.4...master)
+
+## 3.15.4
+
+* Raise an exception in `ReconnectMixin` if connection is lost while inside a
+  transaction (if the transaction was interrupted presumably some changes were
+  lost and explicit intervention is needed).
+* Add `db.Model` property to reduce boilerplate.
+* Add support for running `prefetch()` queries with joins instead of subquerie

commit python-peewee for openSUSE:Factory

2022-11-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2022-11-01 13:42:16

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.2275 (New)


Package is "python-peewee"

Tue Nov  1 13:42:16 2022 rev:19 rq:1032500 version:3.15.3

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2022-10-08 01:25:56.434328128 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.2275/python-peewee.changes
2022-11-01 13:42:27.827862749 +0100
@@ -2 +2 @@
-Tue Oct  4 22:59:19 UTC 2022 - Yogalakshmi Arunachalam 
+Fri Oct 28 19:52:59 UTC 2022 - Yogalakshmi Arunachalam 
@@ -9,0 +10,3 @@
+
+---
+Tue Oct  4 22:59:19 UTC 2022 - Yogalakshmi Arunachalam 

Old:

  peewee-3.15.2.tar.gz

New:

  peewee-3.15.3.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.y7hgnD/_old  2022-11-01 13:42:28.271865111 +0100
+++ /var/tmp/diff_new_pack.y7hgnD/_new  2022-11-01 13:42:28.275865132 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-peewee
-Version:3.15.2
+Version:3.15.3
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.15.2.tar.gz -> peewee-3.15.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.15.2/CHANGELOG.md 
new/peewee-3.15.3/CHANGELOG.md
--- old/peewee-3.15.2/CHANGELOG.md  2022-08-26 16:08:15.0 +0200
+++ new/peewee-3.15.3/CHANGELOG.md  2022-09-22 04:55:53.0 +0200
@@ -7,7 +7,17 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.15.2...master)
+[View commits](https://github.com/coleifer/peewee/compare/3.15.3...master)
+
+## 3.15.3
+
+* Add `scalars()` query method (complements `scalar()`), roughly equivalent to
+  writing `[t[0] for t in query.tuples()]`.
+* Small doc improvements
+* Fix and remove some flaky test assertions with Sqlite INSERT + RETURNING.
+* Fix innocuous failing Sqlite test on big-endian machines.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.15.2...3.15.3)
 
 ## 3.15.2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.15.2/docs/peewee/database.rst 
new/peewee-3.15.3/docs/peewee/database.rst
--- old/peewee-3.15.2/docs/peewee/database.rst  2022-08-26 16:08:15.0 
+0200
+++ new/peewee-3.15.3/docs/peewee/database.rst  2022-09-22 04:55:53.0 
+0200
@@ -101,8 +101,8 @@
 Consult your database driver's documentation for the available parameters:
 
 * Postgres: `psycopg2 
`_
-* MySQL: `MySQLdb 
`_
 * MySQL: `pymysql 
`_
+* MySQL: `mysqlclient `_
 * SQLite: `sqlite3 
`_
 * CockroachDB: see `psycopg2 
`_
 
@@ -564,7 +564,7 @@
 
 To connect to a MySQL database, we will use :py:class:`MySQLDatabase`. After
 the database name, you can specify arbitrary connection parameters that will be
-passed back to the driver (either MySQLdb or pymysql).
+passed back to the driver (e.g. ``pymysql`` or ``mysqlclient``).
 
 .. code-block:: python
 
@@ -579,6 +579,20 @@
 username = CharField()
 # etc, etc
 
+Driver information:
+
+* `pymysql `_ is a pure-python mysql 
client,
+  works with python 2 and 3. Peewee will use attempt to use pymysql first.
+* `mysqlclient `_ uses a c
+  extension and supports python 3. It exposes a ``MySQLdb`` module. Peewee will
+  attempt to use this module if pymysql is not installed.
+* ``mysql-python`` is also called `MySQLdb1 
`_
+  and is legacy and should not be used. Since this shares the same module name
+  as mysqlclient, same applies.
+* `mysql-connector python `_ 
pure-python
+  (I think??) supports python 3. To use this driver you can use 
:ref:`MySQLConnectorDatabase`
+  from the ``playhouse.mysql_ext`` extension.
+
 Error 2006: MySQL server has gone away
 ^^
 
diff -urN '--exclud

commit python-peewee for openSUSE:Factory

2022-10-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2022-10-08 01:25:33

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.2275 (New)


Package is "python-peewee"

Sat Oct  8 01:25:33 2022 rev:18 rq:1008722 version:3.15.2

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2022-04-17 23:52:11.106499863 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.2275/python-peewee.changes
2022-10-08 01:25:56.434328128 +0200
@@ -1,0 +2,46 @@
+Tue Oct  4 22:59:19 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to 3.15.3
+  Add scalars() query method (complements scalar()), roughly equivalent to 
writing [t[0] for t in query.tuples()].
+  Small doc improvements
+  Fix and remove some flaky test assertions with Sqlite INSERT + RETURNING.
+  Fix innocuous failing Sqlite test on big-endian machines.
+  View commits
+
+- Update to 3.15.2
+  Fix bug where field-specific conversions were being applied to the pattern 
used for LIKE / ILIKE operations. Refs #2609
+  Fix possible infinite loop when accidentally invoking the __iter__ method on 
certain Column subclasses. Refs #2606
+  Add new helper for specifying which Model a particular selected column-like 
should be bound to, in queries with joins that select from multiple sources.
+  View commits
+
+- Update to 3.15.1
+  Fix issue introduced in Sqlite 3.39.0 regarding the propagation of column 
subtypes in subqueries.
+  Fix bug where cockroachdb server version was not set when beginning a 
transaction on an unopened database.
+  View commits
+
+- Update to 3.15.0
+  Rollback behavior change in commit ab43376697 (GH #2026). Peewee will no 
longer automatically return the cursor rowcount for certain bulk-inserts.
+  This should only affect users of MySQL and Sqlite who relied on a bulk 
INSERT returning the rowcount (as opposed to the cursor's lastrowid).
+  The rowcount behavior is still available chaining the as_rowcount() method:
+  # NOTE: this change only affects MySQL or Sqlite.
+  db = MySQLDatabase(...)
+  # Previously, bulk inserts of the following forms would return the rowcount.
+  query = User.insert_many(...)  # Bulk insert.
+  query = User.insert_from(...)  # Bulk insert (INSERT INTO .. SELECT FROM).
+  # Previous behavior (peewee 3.12 - 3.14.10):
+  # rows_inserted = query.execute()
+
+  # New behavior:
+  last_id = query.execute()
+  # To get the old behavior back:
+  rows_inserted = query.as_rowcount().execute()
+  This release contains a fix for a long-standing request to allow 
data-modifying queries to support CTEs.
+  CTEs are now supported for use with INSERT, DELETE and UPDATE queries - see 
#2152.
+  Additionally, this release adds better support for using the new RETURNING 
syntax with Sqlite automatically. Specify returing_clause=True when
+  initializing your SqliteDatabase and all bulk inserts will automatically 
specify a RETURNING clause, returning the newly-inserted primary keys.
+  This functionality requires Sqlite 3.35 or newer.
+  Smaller changes:
+  Add shortcuts.insert_where() helper for generating conditional INSERT with a 
bit less boilerplate.
+  Fix bug in test_utils.count_queres() which could erroneously include pool 
events such as connect/disconnect, etc. 
+
+---

Old:

  peewee-3.14.10.tar.gz

New:

  peewee-3.15.2.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.TmK2lq/_old  2022-10-08 01:25:56.902329201 +0200
+++ /var/tmp/diff_new_pack.TmK2lq/_new  2022-10-08 01:25:56.906329210 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-peewee
-Version:3.14.10
+Version:3.15.2
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.14.10.tar.gz -> peewee-3.15.2.tar.gz ++
 1966 lines of diff (skipped)


commit python-peewee for openSUSE:Factory

2022-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2022-04-17 23:50:41

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1941 (New)


Package is "python-peewee"

Sun Apr 17 23:50:41 2022 rev:17 rq:970474 version:3.14.10

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2021-11-13 22:49:14.389282814 +0100
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1941/python-peewee.changes
2022-04-17 23:52:11.106499863 +0200
@@ -1,0 +2,25 @@
+Sat Apr 16 15:24:55 UTC 2022 - Matej Cepl 
+
+- Update to 3.14.10:
+  - Add shortcut for conditional insert using sub-select
+  - Add convenience left_outer_join() method to query.
+  - Add selected_columns property to Select queries.
+  - Add name property to Alias instances.
+  - Fix regression in tests introduced by change to DataSet in
+3.14.9.
+  - Allow calling table_exists() with a model-class, refs
+  - Improve is_connection_usable() method of MySQLDatabase class.
+  - Better support for VIEWs with playhouse.dataset.DataSet and
+sqlite-web.
+  - Support INSERT / ON CONFLICT in playhosue.kv for newer
+Sqlite.
+  - Add ArrayField.contained_by() method, a corollary to
+contains() and the contains_any() methods.
+  - Support cyclical foreign-key relationships in
+reflection/introspection, and also for sqlite-web.
+  - Add magic methods for FTS5 field to optimize, rebuild and
+integrity check the full-text index.
+  - Add fallbacks in setup.py in the event distutils is not
+available.
+
+---

Old:

  peewee-3.14.8.tar.gz

New:

  peewee-3.14.10.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.g74Jyp/_old  2022-04-17 23:52:11.494500394 +0200
+++ /var/tmp/diff_new_pack.g74Jyp/_new  2022-04-17 23:52:11.498500399 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-peewee
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # 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.14.8
+Version:3.14.10
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.14.8.tar.gz -> peewee-3.14.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.14.8/.readthedocs.yaml 
new/peewee-3.14.10/.readthedocs.yaml
--- old/peewee-3.14.8/.readthedocs.yaml 1970-01-01 01:00:00.0 +0100
+++ new/peewee-3.14.10/.readthedocs.yaml2022-03-07 18:18:46.0 
+0100
@@ -0,0 +1,4 @@
+version: 2
+python:
+  install:
+  - requirements: docs/requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/peewee-3.14.8/CHANGELOG.md 
new/peewee-3.14.10/CHANGELOG.md
--- old/peewee-3.14.8/CHANGELOG.md  2021-10-28 16:29:02.0 +0200
+++ new/peewee-3.14.10/CHANGELOG.md 2022-03-07 18:18:46.0 +0100
@@ -7,7 +7,38 @@
 
 ## master
 
-[View commits](https://github.com/coleifer/peewee/compare/3.14.8...master)
+* Add `shortcuts.insert_where()` helper for generating conditional INSERT with
+  a bit less boilerplate.
+* Fix bug in `test_utils.count_queres()` which could erroneously include pool
+  events such as connect/disconnect, etc.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.14.10...master)
+
+## 3.14.10
+
+* Add shortcut for conditional insert using sub-select, see #2528
+* Add convenience `left_outer_join()` method to query.
+* Add `selected_columns` property to Select queries.
+* Add `name` property to Alias instances.
+* Fix regression in tests introduced by change to DataSet in 3.14.9.
+
+[View commits](https://github.com/coleifer/peewee/compare/3.14.9...3.14.10)
+
+## 3.14.9
+
+* Allow calling `table_exists()` with a model-class, refs
+* Improve `is_connection_usable()` method of `MySQLDatabase` class.
+* Better support for VIEWs with `playhouse.dataset.DataSet` and sqlite-web.
+* Support INSERT / ON CONFLICT in `playhosue.kv` for newer Sqlite.
+* Add `ArrayField.contained_by()` method, a corollary to `contains()` and
+  the `contains_any()` methods.
+* Support cyclical foreign-key relationships in reflection/introspection, and
+  also for sqlite-web.
+* Add magic methods for FTS5 field to optimize, rebuild and integrity check the
+  full-tex

commit python-peewee for openSUSE:Factory

2021-11-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2021-11-13 22:48:44

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1890 (New)


Package is "python-peewee"

Sat Nov 13 22:48:44 2021 rev:16 rq:931290 version:3.14.8

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2021-09-07 21:22:37.045389699 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1890/python-peewee.changes
2021-11-13 22:49:14.389282814 +0100
@@ -1,0 +2,36 @@
+Sat Nov 13 20:29:16 UTC 2021 - Dirk M??ller 
+
+- update to 3.14.8:
+  * Returning clause can still be specified for Sqlite, however it just needs
+to be done so manually rather than having it applied automatically.
+  * Fix bug in APSW extension with Sqlite 3.35 and newer, due to handling of
+last insert rowid with RETURNING. Refs #2479.
+  * Fix pesky bug in new `last_insert_id()` on the `SqliteExtDatabase`.
+  * Only raise `DoesNotExist` when `lazy_load` is enabled on ForeignKeyField
+  * Add missing convenience method `ModelSelect.get_or_none()`
+  * Allow `ForeignKeyField` to specify a custom `BackrefAccessorClass`
+  * Ensure foreign-key-specific conversions are applied on INSERT and UPDATE
+  * Add handling of MySQL error 4031 (inactivity timeout) to the 
`ReconnectMixin`
+helper class.
+  * Support specification of conflict target for ON CONFLICT/DO NOTHING.
+  * Add `encoding` parameter to the DataSet `freeze()` and `thaw()` methods
+  * Fix bug which prevented `DeferredForeignKey` from being used as a model's
+primary key
+  * Ensure foreign key's related object cache is cleared when the foreign-key 
is
+set to `None`. 
+  * Allow specification of `(schema, table)` to be used with CREATE TABLE AS...
+  * Allow reusing open connections with DataSet
+  * Add `highlight()` and `snippet()` helpers to Sqlite `SearchField`, for use
+with full-text search extension.
+  * Preserve user-provided aliases in column names.
+  * Add support for Sqlite 3.37 strict tables.
+  * Ensure database is inherited when using `ThreadSafeDatabaseMetadata`, and
+also adds an implementation in `playhouse.shortcuts` along with basic unit
+tests.
+  * Better handling of Model's dirty fields when saving, fixes #2466.
+  * Add basic support for MariaDB connector driver in `playhouse.mysql_ext`
+  * Begin a basic implementation for a psycopg3-compatible pg database
+  * Add provisional support for RETURNING when using the appropriate versions 
of
+Sqlite or MariaDB.
+
+---

Old:

  peewee-3.14.4.tar.gz

New:

  peewee-3.14.8.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.grfchr/_old  2021-11-13 22:49:14.749283090 +0100
+++ /var/tmp/diff_new_pack.grfchr/_new  2021-11-13 22:49:14.753283094 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-peewee
-Version:3.14.4
+Version:3.14.8
 Release:0
 Summary:An expressive ORM that supports multiple SQL backends
 License:BSD-3-Clause

++ peewee-3.14.4.tar.gz -> peewee-3.14.8.tar.gz ++
 2790 lines of diff (skipped)


commit python-peewee for openSUSE:Factory

2021-09-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-peewee for openSUSE:Factory 
checked in at 2021-09-07 21:21:51

Comparing /work/SRC/openSUSE:Factory/python-peewee (Old)
 and  /work/SRC/openSUSE:Factory/.python-peewee.new.1899 (New)


Package is "python-peewee"

Tue Sep  7 21:21:51 2021 rev:15 rq:917302 version:3.14.4

Changes:

--- /work/SRC/openSUSE:Factory/python-peewee/python-peewee.changes  
2020-05-26 17:18:01.923808630 +0200
+++ /work/SRC/openSUSE:Factory/.python-peewee.new.1899/python-peewee.changes
2021-09-07 21:22:37.045389699 +0200
@@ -1,0 +2,59 @@
+Mon Sep  6 13:42:49 UTC 2021 - Martin Hauke 
+
+- 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.
+
+---

Old:

  3.13.1.tar.gz

New:

  peewee-3.14.4.tar.gz



Other differences:
--
++ python-peewee.spec ++
--- /var/tmp/diff_new_pack.DqW01I/_old  2021-09-07 21:22:37.517390270 +0200
+++ /var/tmp/diff_new_pack.DqW01I/_new  2021-09-07 21:22:37.521390274 +0200
@@ -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:  unzip
 Buil