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:           Fri Sep  7 09:01:09 UTC 2018

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

Log Message:
py-peewee: updated to 3.7.0

3.7.0:

Backwards-incompatible changes
* Pool database close_all() method renamed to close_idle() to better
  reflect the actual behavior.
* Databases will now raise InterfaceError when connect() or close() are
  called on an uninitialized, deferred database object.

New features
* Add methods to the migrations extension to support adding and dropping table
  constraints.
* Add Model.bulk_create() method for bulk-inserting unsaved model instances.
* Add close_stale() method to the connection pool to support closing stale
  connections.
* The FlaskDB class in playhouse.flask_utils now accepts a model_class
  parameter, which can be used to specify a custom base-class for models.

Bugfixes
* Parentheses were not added to subqueries used in function calls with more
  than one argument.
* Fixed bug when attempting to serialize many-to-many fields which were created
  initially with a DeferredThroughModel.
* Fixed bug when using the Postgres ArrayField with an array of BlobField.
* Allow Proxy databases to be used as a context-manager.
* Fixed bug where the APSW driver was referring to the SQLite version from the
  standard library sqlite3 driver, rather than from apsw.
* Reflection library attempts to wrap server-side column defaults in quotation
  marks if the column data-type is text/varchar.
* Missing import in migrations library, which would cause errors when
  attempting to add indexes whose name exceeded 64 chars.
* When using the Postgres connection pool, ensure any open/pending transactions
  are rolled-back when the connection is recycled.
* Even *more* changes to the setup.py script. In this case I've added a
  helper function which will reliably determine if the SQLite3 extensions can
  be built. This follows the approach taken by the Python YAML package.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/databases/py-peewee/Makefile
cvs rdiff -u -r1.39 -r1.40 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.43 pkgsrc/databases/py-peewee/Makefile:1.44
--- pkgsrc/databases/py-peewee/Makefile:1.43    Fri Jul 20 09:38:49 2018
+++ pkgsrc/databases/py-peewee/Makefile Fri Sep  7 09:01:09 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2018/07/20 09:38:49 adam Exp $
+# $NetBSD: Makefile,v 1.44 2018/09/07 09:01:09 adam Exp $
 
-DISTNAME=      peewee-3.6.4
+DISTNAME=      peewee-3.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
@@ -30,10 +30,9 @@ post-install:
        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
 
-# tests are not included in 3.6.4
+# tests are not included in 3.7.0
 do-test:
-#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
-       ${DO_NADA}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
 
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"

Index: pkgsrc/databases/py-peewee/distinfo
diff -u pkgsrc/databases/py-peewee/distinfo:1.39 pkgsrc/databases/py-peewee/distinfo:1.40
--- pkgsrc/databases/py-peewee/distinfo:1.39    Fri Jul 20 09:38:49 2018
+++ pkgsrc/databases/py-peewee/distinfo Fri Sep  7 09:01:09 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.39 2018/07/20 09:38:49 adam Exp $
+$NetBSD: distinfo,v 1.40 2018/09/07 09:01:09 adam Exp $
 
-SHA1 (peewee-3.6.4.tar.gz) = 74ee91e99de078fdd1707de0cd93ea977ea00efc
-RMD160 (peewee-3.6.4.tar.gz) = 3fb31b0e3cd2b4daa295e30200b17d83f3740d8a
-SHA512 (peewee-3.6.4.tar.gz) = ece645742f1b3eaea646fa596c802cb5a867829fb29399185f5e1689f82ca46a3ad2bb3aa10f9bcf010214bce8a2c898a582e8ea7496b175b86d8dffc0f50ee8
-Size (peewee-3.6.4.tar.gz) = 2083203 bytes
+SHA1 (peewee-3.7.0.tar.gz) = b46c48ee8a69d02678ea1ec99143b7192c3f2b7c
+RMD160 (peewee-3.7.0.tar.gz) = ed4d9c0b99214f85a79b36eabccd588d04fa07a8
+SHA512 (peewee-3.7.0.tar.gz) = 770a86cf4ee6bb7c8bdfaa63d2dea243fe46baeca181fa8349f95b071e3629e6abb63b9e95e4c215d8b3e793d6ee0e038c648d2a1b1dda581a8dc1c3af4b8843
+Size (peewee-3.7.0.tar.gz) = 2166066 bytes



Home | Main Index | Thread Index | Old Index