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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95e6c595466b
branches:  trunk
changeset: 401954:95e6c595466b
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 02 07:45:42 2019 +0000

description:
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.

diffstat:

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

diffs (47 lines):

diff -r 5867b90529d1 -r 95e6c595466b databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Wed Oct 02 07:20:24 2019 +0000
+++ b/databases/py-peewee/Makefile      Wed Oct 02 07:45:42 2019 +0000
@@ -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/}
diff -r 5867b90529d1 -r 95e6c595466b databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Wed Oct 02 07:20:24 2019 +0000
+++ b/databases/py-peewee/PLIST Wed Oct 02 07:45:42 2019 +0000
@@ -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/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
diff -r 5867b90529d1 -r 95e6c595466b databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Wed Oct 02 07:20:24 2019 +0000
+++ b/databases/py-peewee/distinfo      Wed Oct 02 07:45:42 2019 +0000
@@ -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