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  2 07:45:42 UTC 2019

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

Log Message:
py-peewee: updated to 3.11.2

3.11.2
* Implement `hash` interface for `Alias` instances, allowing them to be used in
  multi-source queries.

3.11.1
* Fix bug in new `_pk` / `get_id()` implementation for models that explicitly
  have disabled a primary-key.

3.11.0
* Fixes 1991. This particular issue involves joining 3 models together in a
  chain, where the outer two models are empty. Previously peewee would make the
  middle model an empty model instance (since a link might be needed from the
  source model to the outermost model). But since both were empty, it is more
  correct to make the intervening model a NULL value on the foreign-key field
  rather than an empty instance.
* An unrelated fix came out of the work on 1991 where hashing a model whose
  primary-key happened to be a foreign-key could trigger the FK resolution
  query. This patch fixes the `Model._pk` and `get_id()` interfaces so they
  no longer introduce the possibility of accidentally resolving the FK.
* Allow `Field.contains()`, `startswith()` and `endswith()` to compare against
  another column-like object or expression.
* Workaround for MySQL prior to 8 and MariaDB handling of union queries inside
  of parenthesized expressions (like IN).
* Be more permissive in letting invalid values be stored in a field whose type
  is INTEGER or REAL, since Sqlite allows this.
* `TimestampField` resolution cleanup. Now values 0 *and* 1 will resolve to a
  timestamp resolution of 1 second. Values 2-6 specify the number of decimal
  places (hundredths to microsecond), or alternatively the resolution can still
  be provided as a power of 10, e.g. 10, 1000 (millisecond), 1e6 (microsecond).
* When self-referential foreign-keys are inherited, the foreign-key on the
  subclass will also be self-referential (rather than pointing to the parent
  model).
* Add TSV import/export option to the `dataset` extension.
* Add item interface to the `dataset.Table` class for doing primary-key lookup,
  assignment, or deletion.
* Extend the mysql `ReconnectMixin` helper to work with mysql-connector.
* Fix mapping of double-precision float in postgres schema reflection.
  Previously it mapped to single-precision, now it correctly uses a double.
* Fix issue where `PostgresqlExtDatabase` and `MySQLConnectorDatabase` did not
  respect the `autoconnect` setting.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/py-peewee/PLIST
cvs rdiff -u -r1.52 -r1.53 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.59 pkgsrc/databases/py-peewee/Makefile:1.60
--- pkgsrc/databases/py-peewee/Makefile:1.59    Mon Aug  5 07:56:42 2019
+++ pkgsrc/databases/py-peewee/Makefile Wed Oct  2 07:45:42 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2019/08/05 07:56:42 adam Exp $
+# $NetBSD: Makefile,v 1.60 2019/10/02 07:45:42 adam Exp $
 
-DISTNAME=      peewee-3.10.0
+DISTNAME=      peewee-3.11.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}

Index: pkgsrc/databases/py-peewee/PLIST
diff -u pkgsrc/databases/py-peewee/PLIST:1.19 pkgsrc/databases/py-peewee/PLIST:1.20
--- pkgsrc/databases/py-peewee/PLIST:1.19       Wed Mar  6 08:37:57 2019
+++ pkgsrc/databases/py-peewee/PLIST    Wed Oct  2 07:45:42 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2019/03/06 08:37:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2019/10/02 07:45:42 adam Exp $
 bin/pwiz-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -58,6 +58,9 @@ ${PYSITELIB}/playhouse/signals.pyo
 ${PYSITELIB}/playhouse/sqlcipher_ext.py
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyc
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyo
+${PYSITELIB}/playhouse/sqlite_changelog.py
+${PYSITELIB}/playhouse/sqlite_changelog.pyc
+${PYSITELIB}/playhouse/sqlite_changelog.pyo
 ${PYSITELIB}/playhouse/sqlite_ext.py
 ${PYSITELIB}/playhouse/sqlite_ext.pyc
 ${PYSITELIB}/playhouse/sqlite_ext.pyo

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.52 pkgsrc/databases/py-peewee/distinfo:1.53
--- pkgsrc/databases/py-peewee/distinfo:1.52    Mon Aug  5 07:56:42 2019
+++ pkgsrc/databases/py-peewee/distinfo Wed Oct  2 07:45:42 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.52 2019/08/05 07:56:42 adam Exp $
+$NetBSD: distinfo,v 1.53 2019/10/02 07:45:42 adam Exp $
 
-SHA1 (peewee-3.10.0.tar.gz) = 1f0f3be7b2469d694c0f1f60ca7c2ed6102fb621
-RMD160 (peewee-3.10.0.tar.gz) = 6699b96096aa1a644ddeaa0284114a4a76a83852
-SHA512 (peewee-3.10.0.tar.gz) = 0ff8a465cf9624313d8326f872dc42238b5eb6ee0ccc06504dcf5491ade34592f49562bbcf7b0f9cf69dff5e703e938c917cea2bc0859f5e32f98921a9a5a498
-Size (peewee-3.10.0.tar.gz) = 2275148 bytes
+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 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc



Home | Main Index | Thread Index | Old Index