Wed Oct 2 07:45:42 2019 UTC ()
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.


(adam)
diff -r1.59 -r1.60 pkgsrc/databases/py-peewee/Makefile
diff -r1.19 -r1.20 pkgsrc/databases/py-peewee/PLIST
diff -r1.52 -r1.53 pkgsrc/databases/py-peewee/distinfo

cvs diff -r1.59 -r1.60 pkgsrc/databases/py-peewee/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/Makefile 2019/08/05 07:56:42 1.59
+++ pkgsrc/databases/py-peewee/Makefile 2019/10/02 07:45:42 1.60
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.59 2019/08/05 07:56:42 adam Exp $ 1# $NetBSD: Makefile,v 1.60 2019/10/02 07:45:42 adam Exp $
2 2
3DISTNAME= peewee-3.10.0 3DISTNAME= peewee-3.11.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/peewee/}
7 7
8MAINTAINER= fhajny@NetBSD.org 8MAINTAINER= fhajny@NetBSD.org
9HOMEPAGE= http://www.peewee-orm.com/ 9HOMEPAGE= http://www.peewee-orm.com/
10COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite 10COMMENT= Small, expressive ORM for PostgreSQL, MySQL and SQLite
11LICENSE= mit 11LICENSE= mit
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx 13BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
15 15
16MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX} 16MAKE_FLAGS+= SPHINXBUILD=sphinx-build${PYVERSSUFFIX}

cvs diff -r1.19 -r1.20 pkgsrc/databases/py-peewee/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/PLIST 2019/03/06 08:37:57 1.19
+++ pkgsrc/databases/py-peewee/PLIST 2019/10/02 07:45:42 1.20
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.19 2019/03/06 08:37:57 adam Exp $ 1@comment $NetBSD: PLIST,v 1.20 2019/10/02 07:45:42 adam Exp $
2bin/pwiz-${PYVERSSUFFIX} 2bin/pwiz-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
8${PYSITELIB}/peewee.py 8${PYSITELIB}/peewee.py
9${PYSITELIB}/peewee.pyc 9${PYSITELIB}/peewee.pyc
10${PYSITELIB}/peewee.pyo 10${PYSITELIB}/peewee.pyo
11${PYSITELIB}/playhouse/__init__.py 11${PYSITELIB}/playhouse/__init__.py
12${PYSITELIB}/playhouse/__init__.pyc 12${PYSITELIB}/playhouse/__init__.pyc
13${PYSITELIB}/playhouse/__init__.pyo 13${PYSITELIB}/playhouse/__init__.pyo
14${PYSITELIB}/playhouse/_sqlite_ext.so 14${PYSITELIB}/playhouse/_sqlite_ext.so
@@ -48,26 +48,29 @@ ${PYSITELIB}/playhouse/postgres_ext.pyc @@ -48,26 +48,29 @@ ${PYSITELIB}/playhouse/postgres_ext.pyc
48${PYSITELIB}/playhouse/postgres_ext.pyo 48${PYSITELIB}/playhouse/postgres_ext.pyo
49${PYSITELIB}/playhouse/reflection.py 49${PYSITELIB}/playhouse/reflection.py
50${PYSITELIB}/playhouse/reflection.pyc 50${PYSITELIB}/playhouse/reflection.pyc
51${PYSITELIB}/playhouse/reflection.pyo 51${PYSITELIB}/playhouse/reflection.pyo
52${PYSITELIB}/playhouse/shortcuts.py 52${PYSITELIB}/playhouse/shortcuts.py
53${PYSITELIB}/playhouse/shortcuts.pyc 53${PYSITELIB}/playhouse/shortcuts.pyc
54${PYSITELIB}/playhouse/shortcuts.pyo 54${PYSITELIB}/playhouse/shortcuts.pyo
55${PYSITELIB}/playhouse/signals.py 55${PYSITELIB}/playhouse/signals.py
56${PYSITELIB}/playhouse/signals.pyc 56${PYSITELIB}/playhouse/signals.pyc
57${PYSITELIB}/playhouse/signals.pyo 57${PYSITELIB}/playhouse/signals.pyo
58${PYSITELIB}/playhouse/sqlcipher_ext.py 58${PYSITELIB}/playhouse/sqlcipher_ext.py
59${PYSITELIB}/playhouse/sqlcipher_ext.pyc 59${PYSITELIB}/playhouse/sqlcipher_ext.pyc
60${PYSITELIB}/playhouse/sqlcipher_ext.pyo 60${PYSITELIB}/playhouse/sqlcipher_ext.pyo
 61${PYSITELIB}/playhouse/sqlite_changelog.py
 62${PYSITELIB}/playhouse/sqlite_changelog.pyc
 63${PYSITELIB}/playhouse/sqlite_changelog.pyo
61${PYSITELIB}/playhouse/sqlite_ext.py 64${PYSITELIB}/playhouse/sqlite_ext.py
62${PYSITELIB}/playhouse/sqlite_ext.pyc 65${PYSITELIB}/playhouse/sqlite_ext.pyc
63${PYSITELIB}/playhouse/sqlite_ext.pyo 66${PYSITELIB}/playhouse/sqlite_ext.pyo
64${PYSITELIB}/playhouse/sqlite_udf.py 67${PYSITELIB}/playhouse/sqlite_udf.py
65${PYSITELIB}/playhouse/sqlite_udf.pyc 68${PYSITELIB}/playhouse/sqlite_udf.pyc
66${PYSITELIB}/playhouse/sqlite_udf.pyo 69${PYSITELIB}/playhouse/sqlite_udf.pyo
67${PYSITELIB}/playhouse/sqliteq.py 70${PYSITELIB}/playhouse/sqliteq.py
68${PYSITELIB}/playhouse/sqliteq.pyc 71${PYSITELIB}/playhouse/sqliteq.pyc
69${PYSITELIB}/playhouse/sqliteq.pyo 72${PYSITELIB}/playhouse/sqliteq.pyo
70${PYSITELIB}/playhouse/test_utils.py 73${PYSITELIB}/playhouse/test_utils.py
71${PYSITELIB}/playhouse/test_utils.pyc 74${PYSITELIB}/playhouse/test_utils.pyc
72${PYSITELIB}/playhouse/test_utils.pyo 75${PYSITELIB}/playhouse/test_utils.pyo
73${PYSITELIB}/pwiz.py 76${PYSITELIB}/pwiz.py

cvs diff -r1.52 -r1.53 pkgsrc/databases/py-peewee/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-peewee/distinfo 2019/08/05 07:56:42 1.52
+++ pkgsrc/databases/py-peewee/distinfo 2019/10/02 07:45:42 1.53
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.52 2019/08/05 07:56:42 adam Exp $ 1$NetBSD: distinfo,v 1.53 2019/10/02 07:45:42 adam Exp $
2 2
3SHA1 (peewee-3.10.0.tar.gz) = 1f0f3be7b2469d694c0f1f60ca7c2ed6102fb621 3SHA1 (peewee-3.11.2.tar.gz) = d409ea96c575329cb1b4a61c3c0812ebdf6db2e8
4RMD160 (peewee-3.10.0.tar.gz) = 6699b96096aa1a644ddeaa0284114a4a76a83852 4RMD160 (peewee-3.11.2.tar.gz) = 372a698bc852c3e08a343adb74887bfcf84e9dfe
5SHA512 (peewee-3.10.0.tar.gz) = 0ff8a465cf9624313d8326f872dc42238b5eb6ee0ccc06504dcf5491ade34592f49562bbcf7b0f9cf69dff5e703e938c917cea2bc0859f5e32f98921a9a5a498 5SHA512 (peewee-3.11.2.tar.gz) = b155e057d4bd41011c5b02065cabfc23935cb4b60c4bf4fcea28f8e8c8f63464bb2c1fc83875f25f51f41d75847630e0d422a7612262efa6646f0f9b49fb2032
6Size (peewee-3.10.0.tar.gz) = 2275148 bytes 6Size (peewee-3.11.2.tar.gz) = 813348 bytes
7SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc 7SHA1 (patch-setup.py) = 2d4d9fde18df606b584dffe04aa9da22de3e4dcc