Changelog for
python312-rq-2.0-1.3.noarch.rpm :
* Thu Nov 07 2024 Nico Krapp
- Update to 2.0.0 New Features
* Multiple job executions: a job can now have multiple executions running simultaneously. This will enable future support for long running scheduled jobs. Thanks AATTselwin!
* Worker(default_worker_ttl=10) is deprecated in favor of Worker(worker_ttl=10). Thanks AATTstv8!
* Added a cleanup parameter to registry.get_job_ids() and registry.get_job_count(). Thanks AATTanton-daneyko-ultramarin!
* Added support for AWS Elasticache Serverless Redis. Thanks AATTbobbywatson3!
* You can now specify TTL for deferred jobs. Thanks AATThberntsen!
* RQ\'s code base is now typed (mostly). Thanks AATTterencehonles!
* Other minor fixes and improvements. Thanks AATThongquan, AATTrbange, AATTjackkinsella, AATTterencehonles, AATTwckao, AATTsim6! Breaking Changes
* Dropped support for Redis server < 4
* RoundRobinWorker and RandomWorker are deprecated. Use --dequeue-strategy 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.
* AATTjob 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 AATTMarishka17!
* Fixes an issue where Redis connection does not expose name attribute. Thanks AATTwckao!
* job.get_status() will now always return JobStatus enum. Thanks AATTindepndnt!
* Queue key should always be created even if jobs are deferred. Thanks AATTsim6!
* RQ\'s pubsub thread will now attempt to reconnect on Redis connection errors. Thanks AATTfcharlier!- Update to 1.16.2
* Fixed a bug that may cause jobs from intermediate queue to be moved to FailedJobRegistry. Thanks AATTselwin!- Update to 1.16.1
* Added worker_pool.get_worker_process() to make WorkerPool easier to extend. Thanks AATTselwin!- Update to 1.16.0
* Added a way for jobs to wait for latest result job.latest_result(timeout=60). Thanks AATTajnisbet!
* Fixed an issue where stopped_callback is not respected when job is enqueued via enqueue_many(). Thanks AATTeswolinsky3241!
* worker-pool no longer ignores --quiet. Thanks AATTMindiell!
* Added compatibility with AWS Serverless Redis. Thanks AATTpeter-gy!
* worker-pool now starts with scheduler. Thanks AATTchromium7!
* Wed Dec 06 2023 Dirk Müller - update to 1.15.1:
* Fixed a bug that may cause a crash when cleaning intermediate queue.
* Fixed a bug that may cause canceled jobs to still run dependent jobs.
* Sun Jun 11 2023 ecsos - Add %{?sle15_python_module_pythons}
* Sat May 27 2023 Dirk Müller - update to 1.15:
* Added `Callback(on_stopped=\'my_callback)`.
* `Callback` now accepts dotted path to function as input.
* `queue.enqueue_many()` now supports job dependencies.
* `rq worker` CLI script now configures logging based on `DICT_CONFIG` key present in config file.
* Whenever possible, `Worker` now uses `lmove()` to implement reliable queue pattern.
* `Scheduler` should only release locks that it successfully acquires.
* Fixes crashes that may happen by changes to `as_text()` function in v1.14.
* Various linting, CI and code quality improvements.
* Fixes a crash that happens if Redis connection uses SSL.
* Fixes a crash if `job.meta()` is loaded using the wrong serializer.
* Added `WorkerPool` (beta) that manages multiple workers in a single CLI.
* Added a new `Callback` class that allows more flexibility in declaring job callbacks.
* Fixed a regression where jobs with unserializable return value crashes RQ.
* Added `--dequeue-strategy` option to RQ\'s CLI.
* Added `--max-idle-time` option to RQ\'s worker CLI.
* Added `--maintenance-interval` option to RQ\'s worker CLI.
* Fixed RQ usage in Windows as well as various other refactorings.
* Show more info on `rq info` CLI command. Thanks AATTiggeehu!
* `queue.enqueue_jobs()` now properly account for job dependencies.
* `TimerDeathPenalty` now properly handles negative/infinite timeout.
* Added `work_horse_killed_handler` argument to `Worker`.
* Fixed an issue where results aren\'t properly persisted on synchronous jobs.
* Fixed a bug where job results are not properly persisted when `result_ttl` is `-1`.
* Various documentation and logging fixes.
* Improve Redis connection reliability.
* Scheduler reliability improvements.
* Fixed a bug where `dequeue_timeout` ignores `worker_ttl`.
* Use `job.return_value()` instead of `job.result` when processing callbacks.
* Various internal refactorings to make `Worker` code more easily extendable.
* RQ\'s source code is now black formatted.
* RQ now stores multiple job execution results. This feature is only available on Redis >= 5.0 Redis Streams. Please refer to the docs for more info.
* Improve performance when enqueueing many jobs at once.
* Redis server version is now cached in connection object.
* Properly handle `at_front` argument when jobs are scheduled.
* Add type hints to RQ\'s code base.
* Fixed a bug where exceptions are logged twice.
* Don\'t delete `job.worker_name` after job is finished.
* Thu Dec 22 2022 Daniel Garcia - Set BuildArch to noarch, this package doesn\'t have anything that depends on the arch.
* Thu Dec 22 2022 Daniel Garcia - Add multibuild for tests to avoid build cycle with python-sentry-sdk. bsc#1206590
* Mon Dec 05 2022 ecsos - Update to 1.11.1 - queue.enqueue_many() now supports on_success and on on_failure arguments. - You can now pass enqueue_at_front to Dependency() objects to put dependent jobs at the front when they are enqueued. - Fixed a bug where workers may wrongly acquire scheduler locks. - Jobs should not be enqueued if any one of it\'s dependencies is canceled. - Fixed a bug when handling jobs that have been stopped. - Fixed a bug in handling Redis connections that don\'t allow SETNAME command.- Update to 1.11.0 - This will be the last RQ version that supports Python 3.5. - Allow jobs to be enqueued even when their dependencies fail via Dependency(allow_failure=True). - When stopped jobs are deleted, they should also be removed from FailedJobRegistry. - job.requeue() now supports at_front() argument. - Added ssl support for sentinel connections. - SimpleWorker now works better on Windows. - Added on_failure and on_success arguments to AATTjob decorator. - Fixed a bug in dependency handling. - Minor fixes and optimizations- Remove https://github.com/rq/rq/issues/1646 items in spec file.- Remove -k \'not (test_failure_capture or test_worker)\' from pytest.
* Thu Apr 14 2022 pgajdosAATTsuse.com- do not require python-mock for build
* Mon Jan 17 2022 Marcus Rueckert - Update to 1.10.1 - Failure callbacks are now properly called when job is run synchronously. Thanks AATTericman93! - Fixes a bug that could cause job keys to be left over when `result_ttl=0`. Thanks AATTselwin! - Allow `ssl_cert_reqs` argument to be passed to Redis. Thanks AATTmgcdanny! - Better compatibility with Python 3.10. Thanks AATTrpkak! - `job.cancel()` should also remove itself from registries. Thanks AATTjoshcoden! - Pubsub threads are now launched in `daemon` mode. Thanks AATTmik3y! - You can now enqueue jobs from CLI. Docs [here](https://python-rq.org/docs/#cli-enqueueing). Thanks AATTrpkak! - Added a new `CanceledJobRegistry` to keep track of canceled jobs. Thanks AATTselwin! - Added custom serializer support to various places in RQ. Thanks AATTjoshcoden! - `cancel_job(job_id, enqueue_dependents=True)` allows you to cancel a job while enqueueing its dependents. Thanks AATTjoshcoden! - Added `job.get_meta()` to fetch fresh meta value directly from Redis. Thanks AATTaparcar! - Fixes a race condition that could cause jobs to be incorrectly added to FailedJobRegistry. Thanks AATTselwin! - Requeueing a job now clears `job.exc_info`. Thanks AATTselwin! - Repo infrastructure improvements by AATTrpkak. - Other minor fixes by AATTcesarferradas and AATTbbayles. - Added success and failure callbacks. You can now do `queue.enqueue(foo, on_success=do_this, on_failure=do_that)`. Thanks AATTselwin! - Added `queue.enqueue_many()` to enqueue many jobs in one go. Thanks AATTjoshcoden! - Various improvements to CLI commands. Thanks AATTrpkak! - Minor logging improvements. Thanks AATTclavigne and AATTnatbusa!
* Mon Jun 28 2021 Markéta Machová - Update to 1.8.1
* You can now declare multiple job dependencies.
* Added support for running asyncio tasks.
* Now horses are killed by their parent group. This helps in cleanly killing all related processes if job uses multiprocessing.
* Fixed scheduler on Python > 3.8.0.
* RQ is now aware of which version of Redis server it\'s running on.
* More changes, see upstream changelog.