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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/583252aa8269
branches:  trunk
changeset: 344733:583252aa8269
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 25 10:42:13 2019 +0000

description:
py-peewee: updated to 3.12.0

3.12.0
* Bulk insert (`insert_many()` and `insert_from()`) will now return the row
  count instead of the last insert ID. If you are using Postgres, peewee will
  continue to return a cursor that provides an iterator over the newly-inserted
  primary-key values by default. This behavior is being retained by default for
  compatibility. Postgres users can simply specify an empty `returning()` call
  to disable the cursor and retrieve the rowcount instead.
* Migration extension now supports altering a column's data-type, via the new
  `alter_column_type()` method.
* Added `Database.is_connection_usabe()` method, which attempts to look at the
  status of the underlying DB-API connection to determine whether the
  connection is usable.
* Common table expressions include a `materialized` parameter, which can be
  used to control Postgres' optimization fencing around CTEs.
* Added `BloomFilter.from_buffer()` method for populating a bloom-filter from
  the output of a previous call to the `to_buffer()` method.
* Fixed APSW extension's `commit()` and `rollback()` methods to no-op if the
  database is in auto-commit mode.
* Added `generate_always=` option to the `IdentityField` (defaults to False).

diffstat:

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

diffs (28 lines):

diff -r 8fef9782f8f6 -r 583252aa8269 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Mon Nov 25 10:24:59 2019 +0000
+++ b/databases/py-peewee/Makefile      Mon Nov 25 10:42:13 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.61 2019/10/21 21:19:35 adam Exp $
+# $NetBSD: Makefile,v 1.62 2019/11/25 10:42:13 adam Exp $
 
-DISTNAME=      peewee-3.11.2
+DISTNAME=      peewee-3.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
diff -r 8fef9782f8f6 -r 583252aa8269 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Mon Nov 25 10:24:59 2019 +0000
+++ b/databases/py-peewee/distinfo      Mon Nov 25 10:42:13 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.53 2019/10/02 07:45:42 adam Exp $
+$NetBSD: distinfo,v 1.54 2019/11/25 10:42:13 adam Exp $
 
-SHA1 (peewee-3.11.2.tar.gz) = d409ea96c575329cb1b4a61c3c0812ebdf6db2e8
-RMD160 (peewee-3.11.2.tar.gz) = 372a698bc852c3e08a343adb74887bfcf84e9dfe
-SHA512 (peewee-3.11.2.tar.gz) = b155e057d4bd41011c5b02065cabfc23935cb4b60c4bf4fcea28f8e8c8f63464bb2c1fc83875f25f51f41d75847630e0d422a7612262efa6646f0f9b49fb2032
-Size (peewee-3.11.2.tar.gz) = 813348 bytes
+SHA1 (peewee-3.12.0.tar.gz) = 5acb32adf55ee6a166eeb7a97d4d935d89de2e0a
+RMD160 (peewee-3.12.0.tar.gz) = e1aa6a2e8224217ab64f11b4396f373cdf84b39a
+SHA512 (peewee-3.12.0.tar.gz) = d6afe0f27de9b2ce389907f57fc62d4b192614cbc70093ad8cbe18b635f93ca2eebc5da2cb2fe16ed2ec2b6469e294f20651dd832076664ff13304e37e51d161
+Size (peewee-3.12.0.tar.gz) = 2281198 bytes
 SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc



Home | Main Index | Thread Index | Old Index