From 6ccd0ce9fadd7b2f90153df41fe0ca436aeed769fed5cd1f3dcf4c38781d30db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 18 Oct 2019 12:42:06 +0000 Subject: [PATCH] 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 --- 3.11.2.tar.gz | 3 +++ peewee-3.10.0.tar.gz | 3 --- python-peewee.changes | 10 ++++++++++ python-peewee.spec | 13 +++++++++---- 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 3.11.2.tar.gz delete mode 100644 peewee-3.10.0.tar.gz diff --git a/3.11.2.tar.gz b/3.11.2.tar.gz new file mode 100644 index 0000000..058d510 --- /dev/null +++ b/3.11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81e4297ab2482f356a21c5e4bc7a2cc8684f43cd9731b468f386a48d653a043e +size 847850 diff --git a/peewee-3.10.0.tar.gz b/peewee-3.10.0.tar.gz deleted file mode 100644 index 6373cf3..0000000 --- a/peewee-3.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35bc7a1373b7e5c55fa984e852cddaff9e353a42cbb0b5e0c41a5060928fd192 -size 2275148 diff --git a/python-peewee.changes b/python-peewee.changes index 890c450..dfbc767 100644 --- a/python-peewee.changes +++ b/python-peewee.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Oct 18 10:19:07 UTC 2019 - Marketa Calabkova + +- 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 diff --git a/python-peewee.spec b/python-peewee.spec index 59a7c4a..8fdb358 100644 --- a/python-peewee.spec +++ b/python-peewee.spec @@ -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