Accepting request 1146064 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/1146064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=26
This commit is contained in:
2024-02-12 17:52:48 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 6 deletions

View File

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

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

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Feb 12 02:57:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Tue Jan 9 15:18:54 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -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: python-rpm-macros
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3)
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
@@ -74,7 +74,7 @@ sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitearch}/pwiz.
%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