pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-peewee databases/py-peewee: Update to 3.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36826c46164c
branches:  trunk
changeset: 308914:36826c46164c
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Jun 04 10:20:01 2018 +0000

description:
databases/py-peewee: Update to 3.5.0.

Backwards-incompatible changes
- Custom Model repr no longer use the convention of overriding
  __unicode__, and now use __str__.
- Redesigned the sqlite json1 integration and changed some of the APIs
  and semantics of various JSONField methods.

New features
- Better default repr for model classes and fields.
- ForeignKeyField() accepts a new initialization parameter,
  deferrable, for specifying when constraints should be enforced.
- BitField.flag() can be called without a value parameter for the
  common use-case of using flags that are powers-of-2.
- SqliteDatabase pragmas can be specified as a dict (previously
  required a list of 2-tuples).
- SQLite TableFunction (docs) will print Python exception tracebacks
  raised in the initialize and iterate callbacks, making debugging
  significantly easier.

Bug fixes
- Fixed bug in migrator.add_column() where, if the field being added
  declared a non-standard index type (e.g., binary json field with GIN
  index), this index type was not being respected.
- Fixed bug in database.table_exists() where the implementation did
  not match the documentation.
- Fixed bug in SQLite TableFunction implementation which raised errors
  if the return value of the iterate() method was not a tuple.

diffstat:

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

diffs (27 lines):

diff -r d9d385b20511 -r 36826c46164c databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Mon Jun 04 10:11:31 2018 +0000
+++ b/databases/py-peewee/Makefile      Mon Jun 04 10:20:01 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2018/05/21 13:18:16 fhajny Exp $
+# $NetBSD: Makefile,v 1.40 2018/06/04 10:20:01 fhajny Exp $
 
-DISTNAME=      peewee-3.4.0
+DISTNAME=      peewee-3.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
diff -r d9d385b20511 -r 36826c46164c databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Mon Jun 04 10:11:31 2018 +0000
+++ b/databases/py-peewee/distinfo      Mon Jun 04 10:20:01 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.36 2018/05/21 13:18:16 fhajny Exp $
+$NetBSD: distinfo,v 1.37 2018/06/04 10:20:01 fhajny Exp $
 
-SHA1 (peewee-3.4.0.tar.gz) = c3e3c363a3abb6575488c011a8552fb29494a0f7
-RMD160 (peewee-3.4.0.tar.gz) = 8c34f25da632eeeebf3f81962f0afd37e49411f2
-SHA512 (peewee-3.4.0.tar.gz) = 365eca9ab728ba9ac2375f48fe399c0cca0467d5389a4b98b5f8a448527f9fd18386d74fb5f1b58eab5046492773e3ff98bfeff7cb6eda7b8cea9bbcce254743
-Size (peewee-3.4.0.tar.gz) = 613603 bytes
+SHA1 (peewee-3.5.0.tar.gz) = 38bebab96ef822274cb5088840a53a283be29e1d
+RMD160 (peewee-3.5.0.tar.gz) = c56b42de6c154988b91dca8172f875b5d589d487
+SHA512 (peewee-3.5.0.tar.gz) = 6629e0f5e6ea7abdebda2c494387f3a29e278b2e6cb775e2e54c4ac206067f5b5f5f5ca32e21df3d8107f591f05abf671d5e0169fa7f5c98c3a0b8b7df61384b
+Size (peewee-3.5.0.tar.gz) = 595661 bytes



Home | Main Index | Thread Index | Old Index