pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-peewee Update py-peewee to 2.5.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce47e8ce45ba
branches:  trunk
changeset: 649660:ce47e8ce45ba
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Apr 07 09:51:44 2015 +0000

description:
Update py-peewee to 2.5.1.

2.5.1
- #566, fixed a bug regarding parentheses around compound SELECT queries
  (i.e. UNION, INTERSECT, etc).
- Fixed unreported bug where table aliases were not generated correctly
  for compound SELECT queries.
- #559, add option to preserve original column order with pwiz. Thanks @elgow!
- Fixed unreported bug where selecting all columns from a ModelAlias
  does not use the appropriate FieldAlias objects.
- #561, added an option for bulk insert queries to return the list
  of auto-generated primary keys. See docs for InsertQuery.return_id_list.
- #569, added parse function to the playhouse.db_url module. Thanks @stt!
- Added hacks section to the docs. Please contribute your hacks!
- Calls to Node.in_() and Node.not_in() do not take *args anymore and
  instead take a single argument.

2.5.0
- #534, CSV utils was erroneously stripping the primary key from CSV data.
- #537, fix upserts when using insert_many.
- #541, respect autorollback with PostgresqlExtDatabase. Thanks @davidmcclure.
- #551, fix for QueryResultWrapper's implementation of the iterator protocol.
- #554, allow SQLite journal_mode to be set at run-time.
- Fixed case-sensitivity issue with DataSet.
- Added support for CAST expressions.
- Added a hook for extending Node with custom methods.
- JOIN_<type> became JOIN.<type>, e.g. .join(JOIN.LEFT_OUTER).
- OP_<code> became OP.<code>.
- #556, allowed using + and - prefixes to indicate ascending/descending
  ordering.
- #550, added Database.initialize_connection() hook.
- #549, bind selected columns to a particular model. Thanks @jhorman, nice PR!
- #531, support for swapping databases at run-time via Using.
- #530, support for SQLCipher and Python3.
- New RowIDField for sqlite_ext playhouse module. This field can be used
  to interact with SQLite rowid fields.
- Added LateralJoin helper to the postgres_ext playhouse module.

2.4.7
- #504, Docs updates.
- #506, Fixed regression in aggregate_rows()
- #510, Fixes bug in pwiz overwriting columns.
- #514, Correctly cast foreign keys in prefetch().
- #515, Simplifies queries issued when doing recursive deletes.
- #516, Fix cloning of Field objects.
- #519, Aggregate rows now correctly preserves ordering of joined instances.
- Unreported, fixed bug to not leave expired connections sitting around
  in the pool.
- Added support for Postgresql's jsonb type with BinaryJSONField.
- Add some basic Flask helpers.
- Add support for UNION ALL queries in #512
- Add SqlCipherExtDatabase, which combines the sqlcipher database with
  the sqlite extensions.
- Add option to print metadata when generating code with pwiz.

2.4.6
- #503, fixes behavior of aggregate_rows() when used with a CompositeKey.
- #498, fixes value coercion for field aliases.
- #492, fixes bug with pwiz and composite primary keys.
- #486, correctly handle schemas with reflection module.
- Peewee has a new ManyToManyField available in the playhouse.shortcuts
  module.
- Peewee now has proper support for NOT IN queries through the Node.not_in()
  method.
- Models now support iteration. This is equivalent to Model.select().

2.4.5
- #471, #482 and #484, all of which had to do with how joins were handled
  by the aggregate_rows() query result wrapper.
- #472 removed some needless special-casing in Model.save().
- #466 fixed case-sensitive issues with the SQLite migrator.
- #474 fixed a handful of bugs that cropped up migrating foreign keys
  with SQLite.
- #475 fixed the behavior of the SQLite migrator regarding auto-generated
  indexes.
- #479 fixed a bug in the code that stripped extra parentheses
  in the SQL generator.
- Fixed a handful of bugs in the APSW extension.
- Added connection abstraction called ExecutionContext (see docs).
- Made all context managers work as decorators (atomic, transaction,
  savepoint, execution_context).
- Added explicit methods for IS NULL and IS NOT NULL queries. The latter was
  actually necessary since the behavior is different from NOT IS NULL (...).
- Allow disabling backref validation (#465)
- Made quite a few improvements to the documentation, particularly sections
  on transactions.
- Added caching to the DataSet extension, which should improve performance.
- Made the SQLite migrator smarter with regards to preserving indexes
  when a table copy is necessary.

diffstat:

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

diffs (117 lines):

diff -r 9838c6a46c64 -r ce47e8ce45ba databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Tue Apr 07 09:43:09 2015 +0000
+++ b/databases/py-peewee/Makefile      Tue Apr 07 09:51:44 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2014/12/12 11:42:25 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2015/04/07 09:51:44 fhajny Exp $
 
-DISTNAME=      peewee-2.4.4
+DISTNAME=      peewee-2.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases
 MASTER_SITES=  -https://github.com/coleifer/peewee/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
diff -r 9838c6a46c64 -r ce47e8ce45ba databases/py-peewee/PLIST
--- a/databases/py-peewee/PLIST Tue Apr 07 09:43:09 2015 +0000
+++ b/databases/py-peewee/PLIST Tue Apr 07 09:51:44 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/12/12 11:42:25 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/04/07 09:51:44 fhajny Exp $
 bin/pwiz.py
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -32,6 +32,9 @@
 ${PYSITELIB}/playhouse/djpeewee.py
 ${PYSITELIB}/playhouse/djpeewee.pyc
 ${PYSITELIB}/playhouse/djpeewee.pyo
+${PYSITELIB}/playhouse/flask_utils.py
+${PYSITELIB}/playhouse/flask_utils.pyc
+${PYSITELIB}/playhouse/flask_utils.pyo
 ${PYSITELIB}/playhouse/gfk.py
 ${PYSITELIB}/playhouse/gfk.pyc
 ${PYSITELIB}/playhouse/gfk.pyo
@@ -65,72 +68,12 @@
 ${PYSITELIB}/playhouse/sqlcipher_ext.py
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyc
 ${PYSITELIB}/playhouse/sqlcipher_ext.pyo
-${PYSITELIB}/playhouse/sqlite_aggregates.py
-${PYSITELIB}/playhouse/sqlite_aggregates.pyc
-${PYSITELIB}/playhouse/sqlite_aggregates.pyo
 ${PYSITELIB}/playhouse/sqlite_ext.py
 ${PYSITELIB}/playhouse/sqlite_ext.pyc
 ${PYSITELIB}/playhouse/sqlite_ext.pyo
 ${PYSITELIB}/playhouse/test_utils.py
 ${PYSITELIB}/playhouse/test_utils.pyc
 ${PYSITELIB}/playhouse/test_utils.pyo
-${PYSITELIB}/playhouse/tests_apsw.py
-${PYSITELIB}/playhouse/tests_apsw.pyc
-${PYSITELIB}/playhouse/tests_apsw.pyo
-${PYSITELIB}/playhouse/tests_berkeleydb.py
-${PYSITELIB}/playhouse/tests_berkeleydb.pyc
-${PYSITELIB}/playhouse/tests_berkeleydb.pyo
-${PYSITELIB}/playhouse/tests_csv_utils.py
-${PYSITELIB}/playhouse/tests_csv_utils.pyc
-${PYSITELIB}/playhouse/tests_csv_utils.pyo
-${PYSITELIB}/playhouse/tests_dataset.py
-${PYSITELIB}/playhouse/tests_dataset.pyc
-${PYSITELIB}/playhouse/tests_dataset.pyo
-${PYSITELIB}/playhouse/tests_db_url.py
-${PYSITELIB}/playhouse/tests_db_url.pyc
-${PYSITELIB}/playhouse/tests_db_url.pyo
-${PYSITELIB}/playhouse/tests_djpeewee.py
-${PYSITELIB}/playhouse/tests_djpeewee.pyc
-${PYSITELIB}/playhouse/tests_djpeewee.pyo
-${PYSITELIB}/playhouse/tests_gfk.py
-${PYSITELIB}/playhouse/tests_gfk.pyc
-${PYSITELIB}/playhouse/tests_gfk.pyo
-${PYSITELIB}/playhouse/tests_kv.py
-${PYSITELIB}/playhouse/tests_kv.pyc
-${PYSITELIB}/playhouse/tests_kv.pyo
-${PYSITELIB}/playhouse/tests_migrate.py
-${PYSITELIB}/playhouse/tests_migrate.pyc
-${PYSITELIB}/playhouse/tests_migrate.pyo
-${PYSITELIB}/playhouse/tests_pool.py
-${PYSITELIB}/playhouse/tests_pool.pyc
-${PYSITELIB}/playhouse/tests_pool.pyo
-${PYSITELIB}/playhouse/tests_postgres.py
-${PYSITELIB}/playhouse/tests_postgres.pyc
-${PYSITELIB}/playhouse/tests_postgres.pyo
-${PYSITELIB}/playhouse/tests_pwiz.py
-${PYSITELIB}/playhouse/tests_pwiz.pyc
-${PYSITELIB}/playhouse/tests_pwiz.pyo
-${PYSITELIB}/playhouse/tests_read_slave.py
-${PYSITELIB}/playhouse/tests_read_slave.pyc
-${PYSITELIB}/playhouse/tests_read_slave.pyo
-${PYSITELIB}/playhouse/tests_reflection.py
-${PYSITELIB}/playhouse/tests_reflection.pyc
-${PYSITELIB}/playhouse/tests_reflection.pyo
-${PYSITELIB}/playhouse/tests_shortcuts.py
-${PYSITELIB}/playhouse/tests_shortcuts.pyc
-${PYSITELIB}/playhouse/tests_shortcuts.pyo
-${PYSITELIB}/playhouse/tests_signals.py
-${PYSITELIB}/playhouse/tests_signals.pyc
-${PYSITELIB}/playhouse/tests_signals.pyo
-${PYSITELIB}/playhouse/tests_sqlcipher_ext.py
-${PYSITELIB}/playhouse/tests_sqlcipher_ext.pyc
-${PYSITELIB}/playhouse/tests_sqlcipher_ext.pyo
-${PYSITELIB}/playhouse/tests_sqlite_ext.py
-${PYSITELIB}/playhouse/tests_sqlite_ext.pyc
-${PYSITELIB}/playhouse/tests_sqlite_ext.pyo
-${PYSITELIB}/playhouse/tests_test_utils.py
-${PYSITELIB}/playhouse/tests_test_utils.pyc
-${PYSITELIB}/playhouse/tests_test_utils.pyo
 ${PYSITELIB}/pwiz.py
 ${PYSITELIB}/pwiz.pyc
 ${PYSITELIB}/pwiz.pyo
diff -r 9838c6a46c64 -r ce47e8ce45ba databases/py-peewee/distinfo
--- a/databases/py-peewee/distinfo      Tue Apr 07 09:43:09 2015 +0000
+++ b/databases/py-peewee/distinfo      Tue Apr 07 09:51:44 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2014/12/12 11:42:25 fhajny Exp $
+$NetBSD: distinfo,v 1.4 2015/04/07 09:51:44 fhajny Exp $
 
-SHA1 (peewee-2.4.4.tar.gz) = 64917c4c9df0991dcca88a40910a2617666415fc
-RMD160 (peewee-2.4.4.tar.gz) = f7851247837a48187987cd88b1f993d046ee3766
-Size (peewee-2.4.4.tar.gz) = 334563 bytes
+SHA1 (peewee-2.5.1.tar.gz) = 63dab9e93b6a9b7f93764a8ac09f3296be7eee31
+RMD160 (peewee-2.5.1.tar.gz) = b9d2faad18dbe903feed0bb3f8783051bd15ad29
+Size (peewee-2.5.1.tar.gz) = 556698 bytes



Home | Main Index | Thread Index | Old Index