HadrienG / taxadb

:hatching_chick: locally query the ncbi taxonomy
http://taxadb.readthedocs.io/
MIT License
39 stars 16 forks source link

Bump peewee from 3.8.2 to 3.9.6 #43

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps peewee from 3.8.2 to 3.9.6.

Release notes *Sourced from [peewee's releases](https://github.com/coleifer/peewee/releases).* > ## 3.9.6 > * Support nesting the `Database` instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. > * Add new `session_start()`, `session_commit()` and `session_rollback()` interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. > * Fix error that would arise when attempting to do an empty bulk-insert. > * Set `isolation_level=None` in SQLite connection constructor rather than afterwards using the setter. > * Add `create_table()` method to `Select` query to implement `CREATE TABLE AS`. > * Cleanup some declarations in the Sqlite C extension. > * Add new example showing how to implement Reddit's ranking algorithm in SQL. > > [View commits](https://github.com/coleifer/peewee/compare/3.9.5...3.9.6) > > ## 3.9.5 > * Added small helper for setting timezone when using Postgres. > * Improved SQL generation for `VALUES` clause. > * Support passing resolution to `TimestampField` as a power-of-10. > * Small improvements to `INSERT` queries when the primary-key is not an auto-incrementing integer, but is generated by the database server (eg uuid). > * Cleanups to virtual table implementation and python-to-sqlite value conversions. > * Fixed bug related to binding previously-unbound models to a database using a context manager, [#1913](https://github-redirect.dependabot.com/coleifer/peewee/issues/1913). > > [View commits](https://github.com/coleifer/peewee/compare/3.9.4...3.9.5) > > ## 3.9.4 > * Add `Model.bulk_update()` method for bulk-updating fields across multiple model instances. [Docs](http://docs.peewee-orm.com/en/latest/peewee/api.html#Model.bulk_update). > * Add `lazy_load` parameter to `ForeignKeyField`. When initialized with `lazy_load=False`, the foreign-key will not use an additional query to resolve the related model instance. Instead, if the related model instance is not available, the underlying FK column value is returned (behaving like the "_id" descriptor). > * Added `Model.truncate_table()` method. > * The `reflection` and `pwiz` extensions now attempt to be smarter about converting database table and column names into snake-case. To disable this, you can set `snake_case=False` when calling the `Introspector.introspect()` method or use the `-L` (legacy naming) option with the `pwiz` script. > * Bulk insert via ``insert_many()`` no longer require specification of the fields argument when the inserted rows are lists/tuples. In that case, the fields will be inferred to be all model fields except any auto-increment id. > * Add `DatabaseProxy`, which implements several of the `Database` class context managers. This allows you to reference some of the special features of the database object without directly needing to initialize the proxy first. > * Add support for window function frame exclusion and added built-in support for the GROUPS frame type. > * Add support for chaining window functions by extending a previously-declared window function. > * Playhouse Postgresql extension `TSVectorField.match()` method supports an additional argument `plain`, which can be used to control the parsing of the TS query. > * Added very minimal `JSONField` to the playhouse MySQL extension. > > [View commits](https://github.com/coleifer/peewee/compare/3.9.3...3.9.4) > > ## 3.9.3 > * Added cross-database support for `NULLS FIRST/LAST` when specifying the ordering for a query. Previously this was only supported for Postgres. Peewee will now generate an equivalent `CASE` statement for Sqlite and MySQL. > * Added [EXCLUDED](http://docs.peewee-orm.com/en/latest/peewee/api.html#EXCLUDED) helper for referring to the `EXCLUDED` namespace used with `INSERT...ON CONFLICT` queries, when referencing values in the conflicting row data. > * Added helper method to the model `Metadata` class for setting the table name at run-time. Setting the `Model._meta.table_name` directly may have appeared to work in some situations, but could lead to subtle bugs. The new API is `Model._meta.set_table_name()`. > * Enhanced helpers for working with Peewee interactively, [see doc](http://docs.peewee-orm.com/en/latest/peewee/interactive.html). > * Fix cache invalidation bug in `DataSet` that was originally reported on the sqlite-web project. > * New example script implementing a [hexastore](https://github.com/coleifer/peewee/blob/master/examples/hexastore.py). > > [View commits](https://github.com/coleifer/peewee/compare/3.9.2...3.9.3) > > ## 3.9.2 > This release contains a fix for a test that was failing when 3.9.1 was tagged and released. > > [**See 3.9.0 for the bulk of the recent changes.**](https://github.com/coleifer/peewee/releases/tag/3.9.0) > > ... (truncated)
Changelog *Sourced from [peewee's changelog](https://github.com/coleifer/peewee/blob/master/CHANGELOG.md).* > ## 3.9.6 > > * Support nesting the `Database` instance as a context-manager. The outermost > block will handle opening and closing the connection along with wrapping > everything in a transaction. Nested blocks will use savepoints. > * Add new `session_start()`, `session_commit()` and `session_rollback()` > interfaces to the Database object to support using transactional controls in > situations where a context-manager or decorator is awkward. > * Fix error that would arise when attempting to do an empty bulk-insert. > * Set `isolation_level=None` in SQLite connection constructor rather than > afterwards using the setter. > * Add `create_table()` method to `Select` query to implement `CREATE TABLE AS`. > * Cleanup some declarations in the Sqlite C extension. > * Add new example showing how to implement Reddit's ranking algorithm in SQL. > > [View commits](https://github.com/coleifer/peewee/compare/3.9.5...3.9.6) > > ## 3.9.5 > > * Added small helper for setting timezone when using Postgres. > * Improved SQL generation for `VALUES` clause. > * Support passing resolution to `TimestampField` as a power-of-10. > * Small improvements to `INSERT` queries when the primary-key is not an > auto-incrementing integer, but is generated by the database server (eg uuid). > * Cleanups to virtual table implementation and python-to-sqlite value > conversions. > * Fixed bug related to binding previously-unbound models to a database using a > context manager, [#1913](https://github-redirect.dependabot.com/coleifer/peewee/issues/1913). > > [View commits](https://github.com/coleifer/peewee/compare/3.9.4...3.9.5) > > ## 3.9.4 > > * Add `Model.bulk_update()` method for bulk-updating fields across multiple > model instances. [Docs](http://docs.peewee-orm.com/en/latest/peewee/api.html#Model.bulk_update). > * Add `lazy_load` parameter to `ForeignKeyField`. When initialized with > `lazy_load=False`, the foreign-key will not use an additional query to > resolve the related model instance. Instead, if the related model instance is > not available, the underlying FK column value is returned (behaving like the > "_id" descriptor). > * Added `Model.truncate_table()` method. > * The `reflection` and `pwiz` extensions now attempt to be smarter about > converting database table and column names into snake-case. To disable this, > you can set `snake_case=False` when calling the `Introspector.introspect()` > method or use the `-L` (legacy naming) option with the `pwiz` script. > * Bulk insert via ``insert_many()`` no longer require specification of the > fields argument when the inserted rows are lists/tuples. In that case, the > fields will be inferred to be all model fields except any auto-increment id. > * Add `DatabaseProxy`, which implements several of the `Database` class context > managers. This allows you to reference some of the special features of the > ... (truncated)
Commits - [`0fa0d39`](https://github.com/coleifer/peewee/commit/0fa0d39e1132a2924d399407aeb3056c65094634) 3.9.6 - [`10ddd6e`](https://github.com/coleifer/peewee/commit/10ddd6ef157d31b7c1924c2a6cce699ccdb7c760) Add fix and regression test for [#1941](https://github-redirect.dependabot.com/coleifer/peewee/issues/1941) - [`dc0d36b`](https://github.com/coleifer/peewee/commit/dc0d36b158c0ce351336ca16142b68317a959dd0) Mark 3.8 as allow failures in travis-shit-i. - [`c9e0dc1`](https://github.com/coleifer/peewee/commit/c9e0dc1678cdfd24c8facccdd4088c6ae15a3da4) Fix name collision. - [`d271071`](https://github.com/coleifer/peewee/commit/d2710711eae01f29eba95b7d3da70ccff7416f72) Add helper to create table as ... from a select query. - [`2ab7ecf`](https://github.com/coleifer/peewee/commit/2ab7ecf5eb68446a1def88537bdf4cf0752ab968) A couple more cleanups. - [`87c58ec`](https://github.com/coleifer/peewee/commit/87c58ecef8cf299b248729444735ad198cf8db4a) Fix a couple other warnings. - [`a8f2759`](https://github.com/coleifer/peewee/commit/a8f2759292b7389852177a1e2553ddfc3a06f2f4) Fix a few harmless warnings and one not-so-harmless. - [`33d160b`](https://github.com/coleifer/peewee/commit/33d160b7aad24eb85f2b27b7a14c3632d69b3888) Fix for postgres. - [`953f14e`](https://github.com/coleifer/peewee/commit/953f14e77cb8ca28fedb0493a64a7edc682159ab) Proper fix for empty bulk_create. - Additional commits viewable in [compare view](https://github.com/coleifer/peewee/compare/3.8.2...3.9.6)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
codecov-io commented 5 years ago

Codecov Report

Merging #43 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #43   +/-   ##
=======================================
  Coverage   91.61%   91.61%           
=======================================
  Files          11       11           
  Lines         453      453           
=======================================
  Hits          415      415           
  Misses         38       38

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9484a3c...1f73e46. Read the comment docs.

dependabot-preview[bot] commented 5 years ago

Superseded by #47.