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:           Mon Oct 16 13:05:30 UTC 2023

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

Log Message:
py-peewee: updated to 3.17.0

3.17.0

Only roll-back in the outermost @db.transaction decorator/ctx manager if an unhandled exception occurs. Previously, an unhandled exception that occurred in a nested transaction context would trigger 
a rollback. The use of nested transaction has long been discouraged in the documentation: the recommendation is to always use db.atomic, which will use savepoints to properly handle nested blocks. 
However, the new behavior should make it easier to reason about transaction boundaries.
Cover transaction BEGIN in the reconnect-mixin. Given that no transaction has been started, reconnecting when beginning a new transaction ensures that a reconnect will occur if it is safe to do so.
Add support for setting isolation_level in db.atomic() and db.transaction() when using Postgres and MySQL/MariaDB, which will apply to the wrapped transaction. Note: Sqlite has supported a similar 
lock_type parameter for some time.
Add support for the Sqlite SQLITE_DETERMINISTIC function flag. This allows user-defined Sqlite functions to be used in indexes and may be used by the query planner.
Fix unreported bug in dataset import when inferred field name differs from column name.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.77 -r1.78 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.96 pkgsrc/databases/py-peewee/Makefile:1.97
--- pkgsrc/databases/py-peewee/Makefile:1.96    Fri Aug 25 15:21:43 2023
+++ pkgsrc/databases/py-peewee/Makefile Mon Oct 16 13:05:30 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.96 2023/08/25 15:21:43 adam Exp $
+# $NetBSD: Makefile,v 1.97 2023/10/16 13:05:30 adam Exp $
 
-DISTNAME=      peewee-3.16.3
+DISTNAME=      peewee-3.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
@@ -12,6 +12,7 @@ LICENSE=      mit
 
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # needs features from newer sphinx than python 2.7 supports
 

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.77 pkgsrc/databases/py-peewee/distinfo:1.78
--- pkgsrc/databases/py-peewee/distinfo:1.77    Fri Aug 25 15:21:43 2023
+++ pkgsrc/databases/py-peewee/distinfo Mon Oct 16 13:05:30 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.77 2023/08/25 15:21:43 adam Exp $
+$NetBSD: distinfo,v 1.78 2023/10/16 13:05:30 adam Exp $
 
-BLAKE2s (peewee-3.16.3.tar.gz) = b776d3b6de06452ba8d9928d95508f138ae18cba452d28c385716dd841b6362c
-SHA512 (peewee-3.16.3.tar.gz) = 9b770e7299298d6206ee28d56aff97ccf2b8d3f49ea8af963a2e3d3212c15bd6d220f9fdbee1574f9f3b60f52e2ae305cf2d764b8e626203d541714617a2bfef
-Size (peewee-3.16.3.tar.gz) = 928003 bytes
+BLAKE2s (peewee-3.17.0.tar.gz) = 9e3aae31ac8b8620a7ba2da593412bc41cdd0bc97d893d316553c5ffc6064e5f
+SHA512 (peewee-3.17.0.tar.gz) = 5bdef6c4fd54ca3581b6488b7161f765eb220f21504c7e2bceee3742e32d8d1a5d3f04e04f8581c50f509d6faec5e8bb776fef08aceebe5cdd8a4175167083c6
+Size (peewee-3.17.0.tar.gz) = 2947385 bytes
 SHA1 (patch-setup.py) = 59788f77a576274de46a2c090a9a0a6ede0e1166



Home | Main Index | Thread Index | Old Index