Accepting request 741068 from home:mcalabkova:branches:devel:languages:python

- Update to 3.11.2
  * Implement hash interface for Alias instances, allowing them to be used in multi-source queries.
  * Workaround for MySQL prior to 8 and MariaDB handling of union queries inside of parenthesized expressions (like IN).
  * Be more permissive in letting invalid values be stored in a field whose type is INTEGER or REAL, since Sqlite allows this.
  * Fix for issue #1991 regarding setting intervening models to None. 
  * Fixes the Model._pk and get_id() interfaces so they no longer introduce the possibility of accidentally resolving the FK.

OBS-URL: https://build.opensuse.org/request/show/741068
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal 2019-10-18 12:42:06 +00:00 committed by Git OBS Bridge
parent ac6927ff94
commit 6ccd0ce9fa
4 changed files with 22 additions and 7 deletions

3
3.11.2.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Oct 18 10:19:07 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.11.2
* Implement hash interface for Alias instances, allowing them to be used in multi-source queries.
* Workaround for MySQL prior to 8 and MariaDB handling of union queries inside of parenthesized expressions (like IN).
* Be more permissive in letting invalid values be stored in a field whose type is INTEGER or REAL, since Sqlite allows this.
* Fix for issue #1991 regarding setting intervening models to None.
* Fixes the Model._pk and get_id() interfaces so they no longer introduce the possibility of accidentally resolving the FK.
-------------------------------------------------------------------
Wed Sep 11 08:24:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,15 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peewee
Version: 3.10.0
Version: 3.11.2
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/coleifer/peewee
Source: https://files.pythonhosted.org/packages/source/p/peewee/peewee-%{version}.tar.gz
Source: https://github.com/coleifer/peewee/archive/%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module apsw}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mysql-connector-python}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: pkgconfig
@ -46,10 +49,12 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone %{buildroot}%{_bindir}/pwiz.py
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch tests
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO.rst