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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07342a8f3b45
branches:  trunk
changeset: 768618:07342a8f3b45
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 27 15:25:37 2021 +0000

description:
py-peewee: updated to 3.14.7

3.14.7

Fix bug in APSW extension with Sqlite 3.35 and newer, due to handling of last
insert rowid with RETURNING.


3.14.6

Fix pesky bug in new `last_insert_id()` on the `SqliteExtDatabase`.


3.14.5

This release contains a number of bug-fixes and small improvements.

* Only raise `DoesNotExist` when `lazy_load` is enabled on ForeignKeyField.
* Add missing convenience method `ModelSelect.get_or_none()`
* Allow `ForeignKeyField` to specify a custom `BackrefAccessorClass`,
* Ensure foreign-key-specific conversions are applied on INSERT and UPDATE.
* Add handling of MySQL error 4031 (inactivity timeout) to the `ReconnectMixin`
  helper class.
* Support specification of conflict target for ON CONFLICT/DO NOTHING.
* Add `encoding` parameter to the DataSet `freeze()` and `thaw()` methods.
* Fix bug which prevented `DeferredForeignKey` from being used as a model's
  primary key.
* Ensure foreign key's related object cache is cleared when the foreign-key is
  set to `None`.
* Allow specification of `(schema, table)` to be used with CREATE TABLE AS...,
* Allow reusing open connections with DataSet.
* Add `highlight()` and `snippet()` helpers to Sqlite `SearchField`, for use
  with full-text search extension.
* Preserve user-provided aliases in column names.
* Add support for Sqlite 3.37 strict tables.
* Ensure database is inherited when using `ThreadSafeDatabaseMetadata`, and
  also adds an implementation in `playhouse.shortcuts` along with basic unit
  tests.
* Better handling of Model's dirty fields when saving.
* Add basic support for MariaDB connector driver in `playhouse.mysql_ext`.
* Begin a basic implementation for a psycopg3-compatible pg database.
* Add provisional support for RETURNING when using the appropriate versions of
  Sqlite or MariaDB.

diffstat:

 databases/py-peewee/Makefile |  5 ++---
 databases/py-peewee/PLIST    |  5 ++++-
 databases/py-peewee/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r 6d9503956e1a -r 07342a8f3b45 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Wed Oct 27 13:16:45 2021 +0000
+++ b/databases/py-peewee/Makefile      Wed Oct 27 15:25:37 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2021/04/21 11:41:19 adam Exp $
+# $NetBSD: Makefile,v 1.77 2021/10/27 15:25:37 adam Exp $
 
-DISTNAME=      peewee-3.14.4
+DISTNAME=      peewee-3.14.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
 
diff -r 6d9503956e1a -r 07342a8f3b45 databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Wed Oct 27 13:16:45 2021 +0000
+++ b/databases/py-peewee/PLIST Wed Oct 27 15:25:37 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2019/12/08 21:46:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2021/10/27 15:25:37 adam Exp $
 bin/pwiz-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -49,6 +49,9 @@
 ${PYSITELIB}/playhouse/postgres_ext.py
 ${PYSITELIB}/playhouse/postgres_ext.pyc
 ${PYSITELIB}/playhouse/postgres_ext.pyo
+${PYSITELIB}/playhouse/psycopg3_ext.py
+${PYSITELIB}/playhouse/psycopg3_ext.pyc
+${PYSITELIB}/playhouse/psycopg3_ext.pyo
 ${PYSITELIB}/playhouse/reflection.py
 ${PYSITELIB}/playhouse/reflection.pyc
 ${PYSITELIB}/playhouse/reflection.pyo
diff -r 6d9503956e1a -r 07342a8f3b45 databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Wed Oct 27 13:16:45 2021 +0000
+++ b/databases/py-peewee/distinfo      Wed Oct 27 15:25:37 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.64 2021/10/26 10:09:51 nia Exp $
+$NetBSD: distinfo,v 1.65 2021/10/27 15:25:37 adam Exp $
 
-BLAKE2s (peewee-3.14.4.tar.gz) = e7bf8cf2999ced0881c39a25e45075d26e2e3adb4524ee165d5678cfc1bee8a6
-SHA512 (peewee-3.14.4.tar.gz) = 8680224441eb3b185126e0c848902c05e24261edaa42b9bd5dc9f8163f5208c076335db3f4e8afee10d74f03a39d080730cd8c80efa995e100ed6310357eb6dd
-Size (peewee-3.14.4.tar.gz) = 2292581 bytes
+BLAKE2s (peewee-3.14.7.tar.gz) = fe82030d8ad95f7f1590a48183271920d3d876c2efb5095eb52573ada5212224
+SHA512 (peewee-3.14.7.tar.gz) = 5286ebe16a74ff635060fbdd4160c493c2b84458b3a8049de78444b6002e4d4ed356b6522e002104a937552f8b2c655fb925a2c8a6621ca9790c2acd424d7dfc
+Size (peewee-3.14.7.tar.gz) = 850296 bytes
 SHA1 (patch-setup.py) = 59788f77a576274de46a2c090a9a0a6ede0e1166



Home | Main Index | Thread Index | Old Index