fix(deps): update dependency rq to v2 #33

Open
renovate[bot] wants to merge 1 commit from renovate/rq-2.x into master
renovate[bot] commented 2024-10-28 15:32:29 +00:00 (Migrated from github.com)

This PR contains the following updates:

Package Change Age Confidence
rq (changelog) ^1.16.1 -> ^2.0.0 age confidence

Release Notes

rq/rq (rq)

v2.5.0

Compare Source

v2.4.1

Compare Source

  • Worker will now automatically choose TimerDeathPenalty if UnixSignalDeathPenalty is not available. Thanks @​selwin!
  • Introduced CREATED Job status for jobs that are not enqueued not deferred. Thanks @​selwin!
  • Worker can now import Job and Queue classes from string. Thanks @​selwin!
  • Fixed a bug in Group.cleanup(). Thanks @​dixoncrews-gdl!
  • Logging improvements and code cleanups. Thanks @​selwin, @​SpecLad!

v2.4.0

Compare Source

  • Added rq cron CLI command. Thanks @​selwin!
  • Various tests, typing improvements and cleanups. Thanks @​SpecLad!
  • When a job is canceled, you can now optionally clean it from dependencies using job.cancel(remove_from_dependencies=True). Thanks @​Marishka17!
  • RQ now requires Python >= 3.9. Thanks @​Jankovn and @​selwin!

v2.3.3

Compare Source

v2.3.2

Compare Source

  • Don't log job description when log_job_description is set to False. Thanks @​danilopeixoto!
  • Fixes an issue where pubsub_thread may die in the background. Thanks @​ankush!

v2.3.1

Compare Source

  • Fixes an issue running RQ on Windows. Thanks @​selwin!

v2.3.0

Compare Source

  • Added the feature to repeat jobs. Thanks @​selwin!
  • Officially support Valkey. Thanks @​selwin!
  • Fixes an issue that prevents jobs from being enqueued across multiple with using Redis pipeline. Thanks @​Nativu5!

v2.2.0

Compare Source

  • Added SpawnWorker that uses multiprocessing.spawn to spawn worker processes. This makes RQ usable in operating systems without os.fork() like Windows. Thanks @​selwin!
  • RQ now always use timezone aware timestamps. Thanks @​deathtracktor!
  • StartedJobRegistry.cleanup() now properly creates job results. Thanks @​OlegZv!
  • Fixed a bug in worker logging configuration. Thanks @​rlaminseok0824!
  • Reworked RQ's pubsub thread to not use polling. Thanks @​ankush!
  • Fixed a bug where WorkerPool status is never set to STARTED. Thanks @​taleinat!
  • Worker.monitor_work_horse() now properly handles InvalidJobOperation. Thanks @​fancyweb!
  • queue.enqueue_many now always registers the queue in RQ's queue registry. Thanks @​eswolinsky3241!
  • Minor fixes and improvements. Thanks @​hongquan, @​OlegZv, @​victorb, @​rparini!

v2.1.0

Compare Source

v2.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [rq](https://redirect.github.com/rq/rq) ([changelog](https://redirect.github.com/rq/rq/blob/master/CHANGES.md)) | `^1.16.1` -> `^2.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/rq/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/rq/1.16.2/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rq/rq (rq)</summary> ### [`v2.5.0`](https://redirect.github.com/rq/rq/compare/v2.4.1...v2.5) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.4.1...v2.5) ### [`v2.4.1`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-241-2025-07-20) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.4...v2.4.1) - `Worker` will now automatically choose `TimerDeathPenalty` if `UnixSignalDeathPenalty` is not available. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - Introduced `CREATED` `Job` status for jobs that are not enqueued not deferred. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - `Worker` can now import `Job` and `Queue` classes from string. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - Fixed a bug in `Group.cleanup()`. Thanks [@&#8203;dixoncrews-gdl](https://redirect.github.com/dixoncrews-gdl)! - Logging improvements and code cleanups. Thanks [@&#8203;selwin](https://redirect.github.com/selwin), [@&#8203;SpecLad](https://redirect.github.com/SpecLad)! ### [`v2.4.0`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-240-2025-06-14) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.3.3...v2.4) - Added `rq cron` CLI command. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - Various tests, typing improvements and cleanups. Thanks [@&#8203;SpecLad](https://redirect.github.com/SpecLad)! - When a job is canceled, you can now optionally clean it from dependencies using `job.cancel(remove_from_dependencies=True)`. Thanks [@&#8203;Marishka17](https://redirect.github.com/Marishka17)! - RQ now requires Python >= 3.9. Thanks [@&#8203;Jankovn](https://redirect.github.com/Jankovn) and [@&#8203;selwin](https://redirect.github.com/selwin)! ### [`v2.3.3`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-233-2025-05-10) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.3.2...v2.3.3) - `WorkerPool` now accepts `queue_class` argument. Thanks [@&#8203;amonsh1](https://redirect.github.com/amonsh1)! - Disallow `redis-py=6.0.0`. Thanks [@&#8203;selwin](https://redirect.github.com/selwin) and [@&#8203;terencehonles](https://redirect.github.com/terencehonles)! - Minor typing improvements. Thanks [@&#8203;SpecLad](https://redirect.github.com/SpecLad)! ### [`v2.3.2`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-232-2025-04-13) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.3.1...v2.3.2) - Don't log job description when `log_job_description` is set to False. Thanks [@&#8203;danilopeixoto](https://redirect.github.com/danilopeixoto)! - Fixes an issue where `pubsub_thread` may die in the background. Thanks [@&#8203;ankush](https://redirect.github.com/ankush)! ### [`v2.3.1`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-231-2025-04-03) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.3.0...v2.3.1) - Fixes an issue running RQ on Windows. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! ### [`v2.3.0`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-230-2025-04-03) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.2...v2.3.0) - Added the feature to repeat jobs. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - Officially support Valkey. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - Fixes an issue that prevents jobs from being enqueued across multiple with using Redis pipeline. Thanks [@&#8203;Nativu5](https://redirect.github.com/Nativu5)! ### [`v2.2.0`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-220-2025-03-22) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.1...v2.2) - Added `SpawnWorker` that uses `multiprocessing.spawn` to spawn worker processes. This makes RQ usable in operating systems without `os.fork()` like Windows. Thanks [@&#8203;selwin](https://redirect.github.com/selwin)! - RQ now always use timezone aware timestamps. Thanks [@&#8203;deathtracktor](https://redirect.github.com/deathtracktor)! - `StartedJobRegistry.cleanup()` now properly creates job results. Thanks [@&#8203;OlegZv](https://redirect.github.com/OlegZv)! - Fixed a bug in worker logging configuration. Thanks [@&#8203;rlaminseok0824](https://redirect.github.com/rlaminseok0824)! - Reworked RQ's pubsub thread to not use polling. Thanks [@&#8203;ankush](https://redirect.github.com/ankush)! - Fixed a bug where `WorkerPool` status is never set to `STARTED`. Thanks [@&#8203;taleinat](https://redirect.github.com/taleinat)! - `Worker.monitor_work_horse()` now properly handles `InvalidJobOperation`. Thanks [@&#8203;fancyweb](https://redirect.github.com/fancyweb)! - `queue.enqueue_many` now always registers the queue in RQ's queue registry. Thanks [@&#8203;eswolinsky3241](https://redirect.github.com/eswolinsky3241)! - Minor fixes and improvements. Thanks [@&#8203;hongquan](https://redirect.github.com/hongquan), [@&#8203;OlegZv](https://redirect.github.com/OlegZv), [@&#8203;victorb](https://redirect.github.com/victorb), [@&#8203;rparini](https://redirect.github.com/rparini)! ### [`v2.1.0`](https://redirect.github.com/rq/rq/blob/HEAD/CHANGES.md#RQ-210-2024-12-23) [Compare Source](https://redirect.github.com/rq/rq/compare/v2.0...v2.1) - `job.id` must not contain `:`. Thanks [@&#8203;sanurielf](https://redirect.github.com/sanurielf)! - Various type hint improvements by [@&#8203;terencehonles](https://redirect.github.com/terencehonles)! - `job.ended_at` should be set when job is run synchronously. Thanks [@&#8203;alexprabhat99](https://redirect.github.com/alexprabhat99)! - `Group.all()` now properly handles non existing group. Thanks [@&#8203;eswolinsky3241](https://redirect.github.com/eswolinsky3241)! - Use `ruff` instead of `black` as formatter. Thanks [@&#8203;hongquan](https://redirect.github.com/hongquan)! ### [`v2.0.0`](https://redirect.github.com/rq/rq/compare/v1.16.2...v2.0) [Compare Source](https://redirect.github.com/rq/rq/compare/v1.16.2...v2.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cpressland/rq-autoscaler). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjcxLjEiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
Commenting is not possible because the repository is archived.
No description provided.