forkdelta / backend-replacement

Replacement backend
GNU Affero General Public License v3.0
57 stars 97 forks source link

Update huey requirement from ~=1.7.0 to ~=2.1.2 #211

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on huey to permit the latest version.

Release notes *Sourced from [huey's releases](https://github.com/coleifer/huey/releases).* > ## 2.1.2 > * Allow `AsyncResult` object used in `MiniHuey` to support the `__call__()` method to block and resolve the task result. > * When running the django `run_huey` management command, the huey loggers will not be configured if another logging handler is already registered to the huey namespace. > * Added experimental contrib storage engine using `kyoto tycoon `_ which supports task priority and the option to do automatic result expiration. Requires the `ukt `_ python package and a custom kyototycoon lua script. > * Allow the Sqlite storage engine busy timeout to be configured when instantiating `SqliteHuey`. > > [View commits](https://github.com/coleifer/huey/compare/2.1.1...2.1.2)
Changelog *Sourced from [huey's changelog](https://github.com/coleifer/huey/blob/master/CHANGELOG.md).* > ## 2.1.2 > > * Allow `AsyncResult` object used in `MiniHuey` to support the `__call__()` > method to block and resolve the task result. > * When running the django `run_huey` management command, the huey loggers will > not be configured if another logging handler is already registered to the > huey namespace. > * Added experimental contrib storage engine using `kyoto tycoon `_ > which supports task priority and the option to do automatic result > expiration. Requires the `ukt `_ python > package and a custom kyototycoon lua script. > * Allow the Sqlite storage engine busy timeout to be configured when > instantiating `SqliteHuey`. > > [View commits](https://github.com/coleifer/huey/compare/2.1.1...2.1.2) > > ## 2.1.1 > > * Ensure that `task()`-decorated functions retain their docstrings. > * Fix logger setup so that the consumer log configuration is only applied to > the `huey` namespace, rather than the root logger. > * Expose `result`, `signal` and `disconnect_signal` in the Django huey > extension. > * Add `SignedSerializer`, which signs and validates task messages. > * Refactor the `SqliteStorage` so that it can be more easily extended to > support other databases. > > [View commits](https://github.com/coleifer/huey/compare/2.1.0...2.1.1) > > ## 2.1.0 > > * Added new contrib module `sql_huey`, which uses `peewee `_ > to provide storage layer using any of the supported databases (sqlite, mysql > or postgresql). > * Added `RedisExpireHuey`, which modifies the usual Redis result storage logic > to use an expire time for task result values. A consequence of this is that > this storage implementation must keep all result keys at the top-level Redis > keyspace. There are some small changes to the storage APIs as well, but will > only possibly affect maintainers of alternative storage layers. > * Also added a `PriorityRedisExpireHuey` which combines the priority-queue > support from `PriorityRedisHuey` with the result-store expiration mechanism > of `RedisExpireHuey`. > * Fix gzip compatibility issue when using Python 2.x. > * Add option to `Huey` to use `zlib` as the compression method instead of gzip. > * Added `FileStorageMethods` storage mixin, which uses the filesystem for task > result-store APIs (put, peek, pop). > * The storage-specific `Huey` implementations (e.g. `RedisHuey`) are no longer > subclasses, but instead are partial applications of the `Huey` constructor. > > [View commits](https://github.com/coleifer/huey/compare/2.0.1...2.1.0) > ... (truncated)
Commits - [`94070b3`](https://github.com/coleifer/huey/commit/94070b3336047d9dd5277ad51744d1c50cc4db2d) 2.1.2 - [`235c0c3`](https://github.com/coleifer/huey/commit/235c0c39ddfebf0e9fde552d435977194f507401) Merge branch 'feature/kt-huey' - [`33c172d`](https://github.com/coleifer/huey/commit/33c172d56ae3d0d11a7c3823c74fb5bcafa112fc) Test kt stuff. - [`4c01413`](https://github.com/coleifer/huey/commit/4c01413b076404aa76f0e6324f1c292cb3a58a78) Allow timeout to be specified for sqlite storage. - [`c915210`](https://github.com/coleifer/huey/commit/c9152108e96e8a5201bb29b7e7047a05639cda13) Add example of using minihuey. - [`c328c09`](https://github.com/coleifer/huey/commit/c328c094d4c5c79ad08623ac9a3f4785d7d01c3d) Pass database to queue calls. Check for ktserver binary in tests. - [`eab9bfe`](https://github.com/coleifer/huey/commit/eab9bfe34897334e882bb7767747841d7a24e250) Allow kt huey to have an expire time on the results. - [`748404c`](https://github.com/coleifer/huey/commit/748404c5a9b3cdb1019b24ab1ef5cd6c3e66e94b) Add support for priority to kt queue. - [`280e87d`](https://github.com/coleifer/huey/commit/280e87d75f3c9162c14b5ec385347623a7af0dca) Add kyototycoon backend. - [`d83b9fc`](https://github.com/coleifer/huey/commit/d83b9fc29985afb6bd031303b9ab30545e8c47d5) Merge pull request [#446](https://github-redirect.dependabot.com/coleifer/huey/issues/446) from blablacio/expose-scheduled - Additional commits viewable in [compare view](https://github.com/coleifer/huey/compare/1.7.0...2.1.2)


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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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.
dependabot-preview[bot] commented 5 years ago

Superseded by #222.