diff options
author | adam <adam@pkgsrc.org> | 2021-10-27 15:25:37 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-10-27 15:25:37 +0000 |
commit | 8a1255eb364688bb8beb6998e9a846e7774331f2 (patch) | |
tree | 5ee8b1e75bbd2b6ac7eb8bf9133ee6bb70edc045 /databases | |
parent | 17fc0f2649bf1c00ebe1ffb5e646fa5f35fa2fb5 (diff) | |
download | pkgsrc-8a1255eb364688bb8beb6998e9a846e7774331f2.tar.gz |
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 (limited to 'databases')
-rw-r--r-- | databases/py-peewee/Makefile | 5 | ||||
-rw-r--r-- | databases/py-peewee/PLIST | 5 | ||||
-rw-r--r-- | databases/py-peewee/distinfo | 8 |
3 files changed, 10 insertions, 8 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile index c9e15f6203f..2566b239c2d 100644 --- a/databases/py-peewee/Makefile +++ b/databases/py-peewee/Makefile @@ -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 --git a/databases/py-peewee/PLIST b/databases/py-peewee/PLIST index 4d8de93a1d1..a025b19ced4 100644 --- a/databases/py-peewee/PLIST +++ b/databases/py-peewee/PLIST @@ -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/pool.pyo ${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 --git a/databases/py-peewee/distinfo b/databases/py-peewee/distinfo index 2845f593584..d8f949aaef4 100644 --- a/databases/py-peewee/distinfo +++ b/databases/py-peewee/distinfo @@ -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 |