Commit Graph

9 Commits

Author SHA256 Message Date
Alexei Podvalsky
f67a515ab0 Accepting request 667063 from home:awissu:branches:devel:languages:python
- Update to 3.8.2:
  * The default row-type for INSERT queries executed with a non-default
    RETURNING clause has changed from tuple to Model instances. This
    makes INSERT behavior consistent with UPDATE and DELETE queries
    that specify a RETURNING clause.
  * Removing support for the table_alias model Meta option.
  * Added playhouse.shortcuts.ReconnectMixin, which can be used to
    implement automatic reconnect under certain error conditions.
  * Fix SQL generation bug when using an inline window function in
    the ORDER BY clause of a query.
  * Fix possible zero-division in user-defined implementation of
    BM25 ranking algorithm for SQLite full-text search.
- Update to 3.7.1:
  * Added table_settings model Meta option, which should be a list
    of strings specifying additional options for CREATE TABLE, which
    are placed after the closing parentheses.
  * Allow specification of on_update and on_delete behavior for
    many-to-many relationships when using ManyToManyField.
  * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause
    when the conflict_target is a named constraint (rather than an
    index expression). This introduces a new keyword-argument to the
    on_conflict() method: conflict_constraint, which is currently only
    supported by Postgresql. Refs issue #1737.
  * Fixed incorrect SQL for sub-selects used on the right side of IN
    expressions. Previously the query would be assigned an alias, even
    though an alias was not needed.
  * Fixed incorrect SQL generation for Model indexes which contain SQL
    functions as indexed columns.
  * Fixed bug in the generation of special queries used to perform
    operations on SQLite FTS5 virtual tables.
  * Allow frozenset to be correctly parameterized as a list of values.
  * Allow multi-value INSERT queries to specify columns as a list of
    strings.
  * Support CROSS JOIN for model select queries.
- Add missing "that".
- Update to 3.6.4:
    - bugfixes
    - works with python 3.7.0
    - Support for specifying ROWS or RANGE window frame types.
    - Add APIs for user-defined window functions if using
      pysqlite3 and sqlite 3.25.0 or newer.
    - TimestampField now uses 64-bit integer data-type for
      storage.
    - Added support to pwiz and playhouse.reflection to enable
      generating models from VIEWs.
    - Added lower-level database API for introspecting VIEWs.
    - Revamped continuous integration setup for better coverage,
      including 3.7 and 3.8-dev.
    - Allow building C extensions even if Cython is not
      installed, by distributing pre-generated C source files.
- Fixes tests
- Update to 3.5.2:
  * New guide to using window functions in Peewee.
  * New and improved table name auto-generation.
  * Allow passing single fields/columns to window function
    order_by and partition_by arguments.
  * Support for FILTER (WHERE...) clauses with window functions
    and aggregates.
  * Added IdentityField class suitable for use with Postgres 10's
    new identity column type.
  * Fixed bug creating indexes on tables that are in attached
    databases (SQLite).
  * Fixed obscure bug when using prefetch() and ModelAlias to
    populate a back-reference related model.
- Change in 3.5.1:
  * New documentation for working with relationships in Peewee.
  * Improved tests and documentation for MySQL upsert functionality.
  * Allow database parameter to be specified with ModelSelect.get()
    method. For discussion, see #1620.
  * Add QualifiedNames helper to peewee module exports.
  * Add temporary= meta option to support temporary tables.
  * Allow a Database object to be passed to constructor of
    DataSet helper.
- Update to 3.5.0:
  * see: /usr/share/package/python-peewee/CHANGELOG.md
- Build with dependencies: sqlite3, cython
- Build with python3 and python2 (singlespec)
- Drop the noarch package (arch-independent-package-contains-binary-or-object)
- Spec file cleanup
- update version 2.6.3
  * read https://github.com/coleifer/peewee/releases
- update version 2.2.3
  * New migrations module
  * Added a return value to Model.save() indicating number of rows
    affected.
  * Added a date_trunc() method that works for Sqlite.
  * Added a Model.sqlall() class-method to return all the SQL to
    generate the model/indices.
  * bugfixes
- initial version 2.2.2
  * see https://github.com/coleifer/peewee/commits/master for details

OBS-URL: https://build.opensuse.org/request/show/667063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=12
2019-01-18 22:15:10 +00:00
Alexei Podvalsky
aefbda7eb6 Accepting request 640691 from home:awissu:branches:devel:languages:python
- Update to 3.7.1:
  * Added table_settings model Meta option, which should be a list 
    of strings specifying additional options for CREATE TABLE, which 
    are placed after the closing parentheses.
  * Allow specification of on_update and on_delete behavior for 
    many-to-many relationships when using ManyToManyField. 
  * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause 
    when the conflict_target is a named constraint (rather than an 
    index expression). This introduces a new keyword-argument to the 
    on_conflict() method: conflict_constraint, which is currently only 
    supported by Postgresql. Refs issue #1737.
  * Fixed incorrect SQL for sub-selects used on the right side of IN 
    expressions. Previously the query would be assigned an alias, even 
    though an alias was not needed.
  * Fixed incorrect SQL generation for Model indexes which contain SQL 
    functions as indexed columns.
  * Fixed bug in the generation of special queries used to perform 
    operations on SQLite FTS5 virtual tables.
  * Allow frozenset to be correctly parameterized as a list of values.
  * Allow multi-value INSERT queries to specify columns as a list of 
    strings.
  * Support CROSS JOIN for model select queries.

OBS-URL: https://build.opensuse.org/request/show/640691
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=10
2018-10-08 20:12:50 +00:00
Tomáš Chvátal
11aaeb9880 Accepting request 625960 from home:jengelh:branches:devel:languages:python
- Add missing "that".

OBS-URL: https://build.opensuse.org/request/show/625960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=8
2018-07-28 18:27:38 +00:00
36c9b77a64 - Update to 3.6.4:
- bugfixes
    - works with python 3.7.0
    - Support for specifying ROWS or RANGE window frame types.
    - Add APIs for user-defined window functions if using
      pysqlite3 and sqlite 3.25.0 or newer.
    - TimestampField now uses 64-bit integer data-type for
      storage.
    - Added support to pwiz and playhouse.reflection to enable
      generating models from VIEWs.
    - Added lower-level database API for introspecting VIEWs.
    - Revamped continuous integration setup for better coverage,
      including 3.7 and 3.8-dev.
    - Allow building C extensions even if Cython is not
      installed, by distributing pre-generated C source files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=7
2018-07-20 15:21:32 +00:00
08eded5fee Fixes tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=6
2018-07-19 15:39:28 +00:00
Alexei Podvalsky
a1ba0b94f9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=4 2018-07-04 14:58:31 +00:00
Alexei Podvalsky
f3def603c1 Accepting request 620633 from home:awissu:branches:devel:languages:python
- Update to 3.5.2: 
  * New guide to using window functions in Peewee.
  * New and improved table name auto-generation.
  * Allow passing single fields/columns to window function 
    order_by and partition_by arguments.
  * Support for FILTER (WHERE...) clauses with window functions 
    and aggregates.
  * Added IdentityField class suitable for use with Postgres 10's 
    new identity column type.
  * Fixed bug creating indexes on tables that are in attached 
    databases (SQLite).
  * Fixed obscure bug when using prefetch() and ModelAlias to 
    populate a back-reference related model.
- Change in 3.5.1:
  * New documentation for working with relationships in Peewee.
  * Improved tests and documentation for MySQL upsert functionality.
  * Allow database parameter to be specified with ModelSelect.get() 
    method. For discussion, see #1620.
  * Add QualifiedNames helper to peewee module exports.
  * Add temporary= meta option to support temporary tables.
  * Allow a Database object to be passed to constructor of 
    DataSet helper.

OBS-URL: https://build.opensuse.org/request/show/620633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=3
2018-07-04 14:47:28 +00:00
Dominique Leuenberger
5cca44ce34 Accepting request 618936 from devel:languages:python
- Update to 3.5.0:
  * see: /usr/share/package/python-peewee/CHANGELOG.md
- Build with dependencies: sqlite3, cython
- Build with python3 and python2 (singlespec)
- Drop the noarch package (arch-independent-package-contains-binary-or-object)
- Spec file cleanup
- update version 2.6.3
  * read https://github.com/coleifer/peewee/releases
- update version 2.2.3
  * New migrations module
  * Added a return value to Model.save() indicating number of rows
    affected.
  * Added a date_trunc() method that works for Sqlite.
  * Added a Model.sqlall() class-method to return all the SQL to
    generate the model/indices.
  * bugfixes
- initial version 2.2.2
  * see https://github.com/coleifer/peewee/commits/master for details

OBS-URL: https://build.opensuse.org/request/show/618936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=1
2018-06-29 20:34:10 +00:00
6d2b3b3dd7 Accepting request 618741 from home:awissu:branches:devel:languages:python:misc
- Update to 3.5.0:
  * see: /usr/share/package/python-peewee/CHANGELOG.md
- Build with dependencies: sqlite3, cython
- Build with python3 and python2 (singlespec)
- Drop the noarch package (arch-independent-package-contains-binary-or-object)
- Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/618741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=1
2018-06-25 08:54:04 +00:00