mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
17898 upgrade to django-rq v3 (#17911)
* 17898 upgrade to django-rq v3 * Unpin base requirements --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
81f00fd03a
commit
27d15615b3
@ -42,7 +42,7 @@ django-rich
|
|||||||
|
|
||||||
# Django integration for RQ (Reqis queuing)
|
# Django integration for RQ (Reqis queuing)
|
||||||
# https://github.com/rq/django-rq/blob/master/CHANGELOG.md
|
# https://github.com/rq/django-rq/blob/master/CHANGELOG.md
|
||||||
django-rq<3.0
|
django-rq
|
||||||
|
|
||||||
# Abstraction models for rendering and paginating HTML tables
|
# Abstraction models for rendering and paginating HTML tables
|
||||||
# https://github.com/jieter/django-tables2/blob/master/CHANGELOG.md
|
# https://github.com/jieter/django-tables2/blob/master/CHANGELOG.md
|
||||||
@ -118,7 +118,7 @@ requests
|
|||||||
|
|
||||||
# rq
|
# rq
|
||||||
# https://github.com/rq/rq/blob/master/CHANGES.md
|
# https://github.com/rq/rq/blob/master/CHANGES.md
|
||||||
rq<2.0
|
rq
|
||||||
|
|
||||||
# Social authentication framework
|
# Social authentication framework
|
||||||
# https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md
|
# https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md
|
||||||
|
@ -308,6 +308,7 @@ class BackgroundTaskTestCase(TestCase):
|
|||||||
worker = get_worker('default')
|
worker = get_worker('default')
|
||||||
job = queue.enqueue(self.dummy_job_default)
|
job = queue.enqueue(self.dummy_job_default)
|
||||||
worker.prepare_job_execution(job)
|
worker.prepare_job_execution(job)
|
||||||
|
worker.prepare_execution(job)
|
||||||
|
|
||||||
self.assertEqual(job.get_status(), JobStatus.STARTED)
|
self.assertEqual(job.get_status(), JobStatus.STARTED)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ django-pglocks==1.0.4
|
|||||||
django-prometheus==2.3.1
|
django-prometheus==2.3.1
|
||||||
django-redis==5.4.0
|
django-redis==5.4.0
|
||||||
django-rich==1.13.0
|
django-rich==1.13.0
|
||||||
django-rq==2.10.2
|
django-rq==3.0
|
||||||
django-taggit==6.1.0
|
django-taggit==6.1.0
|
||||||
django-tables2==2.7.0
|
django-tables2==2.7.0
|
||||||
django-timezone-field==7.0
|
django-timezone-field==7.0
|
||||||
@ -28,7 +28,7 @@ Pillow==11.0.0
|
|||||||
psycopg[c,pool]==3.2.3
|
psycopg[c,pool]==3.2.3
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
rq==1.16.2
|
rq==2.0
|
||||||
social-auth-app-django==5.4.2
|
social-auth-app-django==5.4.2
|
||||||
social-auth-core==4.5.4
|
social-auth-core==4.5.4
|
||||||
strawberry-graphql==0.247.0
|
strawberry-graphql==0.247.0
|
||||||
|
Loading…
Reference in New Issue
Block a user