pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-peewee



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 27 15:25:37 UTC 2021

Modified Files:
        pkgsrc/databases/py-peewee: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/databases/py-peewee/PLIST
cvs rdiff -u -r1.64 -r1.65 pkgsrc/databases/py-peewee/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-peewee/Makefile
diff -u pkgsrc/databases/py-peewee/Makefile:1.76 pkgsrc/databases/py-peewee/Makefile:1.77
--- pkgsrc/databases/py-peewee/Makefile:1.76    Wed Apr 21 11:41:19 2021
+++ pkgsrc/databases/py-peewee/Makefile Wed Oct 27 15:25:37 2021
@@ -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/}
 

Index: pkgsrc/databases/py-peewee/PLIST
diff -u pkgsrc/databases/py-peewee/PLIST:1.21 pkgsrc/databases/py-peewee/PLIST:1.22
--- pkgsrc/databases/py-peewee/PLIST:1.21       Sun Dec  8 21:46:35 2019
+++ pkgsrc/databases/py-peewee/PLIST    Wed Oct 27 15:25:37 2021
@@ -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

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.64 pkgsrc/databases/py-peewee/distinfo:1.65
--- pkgsrc/databases/py-peewee/distinfo:1.64    Tue Oct 26 10:09:51 2021
+++ pkgsrc/databases/py-peewee/distinfo Wed Oct 27 15:25:37 2021
@@ -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