Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rq from 1.16.2 to 2.0.0 #5761

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps rq from 1.16.2 to 2.0.0.

Release notes

Sourced from rq's releases.

v2.0

New Features

Breaking Changes

  • Dropped support for Redis server < 4
  • RoundRobinWorker and RandomWorker are deprecated. Use --dequeue-strategy <round-robin/random> instead.
  • Job.__init__ requires both id and connection to be passed in.
  • Job.exists() requires connection argument to be passed in.
  • Queue.all() requires connection argument.
  • @job decorator now requires connection argument.
  • Built in Sentry integration has been removed. To use Sentry with RQ, please refer to Sentry's docs.

Bug Fixes

  • Fixed an issue where abandoned jobs are sometimes not enqueued. Thanks @​Marishka17!
  • Fixes an issue where Redis connection does not expose name attribute. Thanks @​wckao!
  • job.get_status() will now always return JobStatus enum. Thanks @​indepndnt!
  • Queue key should always be created even if jobs are deferred. Thanks @​sim6!
  • RQ's pubsub thread will now attempt to reconnect on Redis connection errors. Thanks @​fcharlier!
Changelog

Sourced from rq's changelog.

RQ 2.0 (unreleased)

New Features:

Breaking Changes:

  • Dropped support for Redis server < 4
  • RoundRobinWorker and RandomWorker are deprecated. Use --dequeue-strategy <round-robin/random> instead.
  • Job.__init__ requires both id and connection to be passed in.
  • Job.exists() requires connection argument to be passed in.
  • Queue.all() requires connection argument.
  • @job decorator now requires connection argument.
  • Built in Sentry integration has been removed. To use Sentry with RQ, please refer to Sentry's docs.

Bug Fixes:

  • Fixed an issue where abandoned jobs are sometimes not enqueued. Thanks @​Marishka17!
  • Fixes an issue where Redis connection does not expose name attribute. Thanks @​wckao!
  • job.get_status() will now always return JobStatus enum. Thanks @​indepndnt!
  • Queue key should always be created even if jobs are deferred. Thanks @​sim6!
  • RQ's pubsub thread will now attempt to reconnect on Redis connection errors. Thanks @​fcharlier!
Commits
  • 3545ff3 Bump to version 2.0
  • b145f12 Prepare v2 docs (#1998)
  • 899e2ec Updated changelog
  • 3810cc3 Bump actions/setup-python from 5.2.0 to 5.3.0 (#2134)
  • 3e2e26e Add an exception handler for the pubsub thread (#2132)
  • f4283af Allow to get job count and job IDs without cleanup (#2133)
  • b1620da Updated the docstring of registry.get_job_ids()
  • ba5c338 Fix flaky tests
  • 809a20a [AWS Elasticache Serverless Redis] Handle redis servers that return non-strin...
  • fc9610a Added desc argument to registry.get_job_ids() (#2129)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot requested a review from a team as a code owner November 4, 2024 00:53
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 4, 2024
@cgsunkel
Copy link
Contributor

cgsunkel commented Nov 11, 2024

Ticket - TET-822

dependabot bot and others added 2 commits December 3, 2024 11:44
Bumps [rq](https://github.com/rq/rq) from 1.16.2 to 2.0.0.
- [Release notes](https://github.com/rq/rq/releases)
- [Changelog](https://github.com/rq/rq/blob/master/CHANGES.md)
- [Commits](rq/rq@v1.16.2...v2.0)

---
updated-dependencies:
- dependency-name: rq
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
See the [release notes](https://github.com/rq/rq-scheduler/releases/tag/v0.14) for more information. This version adds support for RQ 2.0.
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.50%. Comparing base (2e7f888) to head (53eff60).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5761   +/-   ##
=======================================
  Coverage   96.50%   96.50%           
=======================================
  Files        1042     1042           
  Lines       24754    24754           
  Branches     1645     1645           
=======================================
  Hits        23889    23889           
  Misses        709      709           
  Partials      156      156           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants