pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-peewee py-peewee: updated to 3.8.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91d84e709210
branches:  trunk
changeset: 328242:91d84e709210
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 18 08:04:45 2019 +0000

description:
py-peewee: updated to 3.8.2

3.8.2

Backwards-incompatible changes
The default row-type for INSERT queries executed with a non-default RETURNING clause has changed from tuple to Model instances. This makes INSERT behavior consistent with UPDATE and DELETE queries 
that specify a RETURNING clause. To revert back to the old behavior, just append a call to .tuples() to your INSERT ... RETURNING query.
Removing support for the table_alias model Meta option. Previously, this attribute could be used to specify a "vanity" alias for a model class in the generated SQL. As a result of some changes to 
support more robust UPDATE and DELETE queries, supporting this feature will require some re-working. As of the 3.8.0 release, it was broken and resulted in incorrect SQL for UPDATE queries, so now it 
is removed.

New features
Added playhouse.shortcuts.ReconnectMixin, which can be used to implement automatic reconnect under certain error conditions (notably the MySQL error 2006 - server has gone away).

Bugfixes
Fix SQL generation bug when using an inline window function in the ORDER BY clause of a query.
Fix possible zero-division in user-defined implementation of BM25 ranking algorithm for SQLite full-text search.

diffstat:

 databases/py-peewee/Makefile |   4 ++--
 databases/py-peewee/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 46e97231697b -r 91d84e709210 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Fri Jan 18 04:45:46 2019 +0000
+++ b/databases/py-peewee/Makefile      Fri Jan 18 08:04:45 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2019/01/08 08:37:59 adam Exp $
+# $NetBSD: Makefile,v 1.51 2019/01/18 08:04:45 adam Exp $
 
-DISTNAME=      peewee-3.8.1
+DISTNAME=      peewee-3.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
diff -r 46e97231697b -r 91d84e709210 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Fri Jan 18 04:45:46 2019 +0000
+++ b/databases/py-peewee/distinfo      Fri Jan 18 08:04:45 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.44 2019/01/08 08:37:59 adam Exp $
+$NetBSD: distinfo,v 1.45 2019/01/18 08:04:45 adam Exp $
 
-SHA1 (peewee-3.8.1.tar.gz) = c959a8cb923a87f5c55b29311fd699d2aa394924
-RMD160 (peewee-3.8.1.tar.gz) = fdcbb399218a3d80bd7f9a80f37c77d0ffa2d34b
-SHA512 (peewee-3.8.1.tar.gz) = 81619c7cd03d3e57be94ca6eba46e6dabbbd2097c7f2e901e23f1198e4fa766488433cd1fad134b4d902683edc4a43b7fb97a44295c892decb9837165afb8f73
-Size (peewee-3.8.1.tar.gz) = 827299 bytes
+SHA1 (peewee-3.8.2.tar.gz) = 8711fed0fc964efc47862318a88911035481f41e
+RMD160 (peewee-3.8.2.tar.gz) = 70cc439456ed827078e12c1c06ce9fdb0f854dcd
+SHA512 (peewee-3.8.2.tar.gz) = 3c9db9bc99b4743383513e99bb9be56bfa33b13b21ab876ecca3c9b46b19d98acdabbad2204ff36d6814477f785e56bfef9f3860603befb48cc1ba17ea928751
+Size (peewee-3.8.2.tar.gz) = 816562 bytes
 SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc



Home | Main Index | Thread Index | Old Index