Skip to content

Commit

Permalink
17898 upgrade to django-rq v3 (#17911)
Browse files Browse the repository at this point in the history
* 17898 upgrade to django-rq v3

* Unpin base requirements

---------

Co-authored-by: Jeremy Stretch <[email protected]>
  • Loading branch information
arthanson and jeremystretch authored Nov 1, 2024
1 parent 81f00fd commit 27d1561
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions base_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ django-rich

# Django integration for RQ (Reqis queuing)
# https://github.com/rq/django-rq/blob/master/CHANGELOG.md
django-rq<3.0
django-rq

# Abstraction models for rendering and paginating HTML tables
# https://github.com/jieter/django-tables2/blob/master/CHANGELOG.md
Expand Down Expand Up @@ -118,7 +118,7 @@ requests

# rq
# https://github.com/rq/rq/blob/master/CHANGES.md
rq<2.0
rq

# Social authentication framework
# https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md
Expand Down
1 change: 1 addition & 0 deletions netbox/core/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def test_background_task_stop(self):
worker = get_worker('default')
job = queue.enqueue(self.dummy_job_default)
worker.prepare_job_execution(job)
worker.prepare_execution(job)

self.assertEqual(job.get_status(), JobStatus.STARTED)

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ django-pglocks==1.0.4
django-prometheus==2.3.1
django-redis==5.4.0
django-rich==1.13.0
django-rq==2.10.2
django-rq==3.0
django-taggit==6.1.0
django-tables2==2.7.0
django-timezone-field==7.0
Expand All @@ -28,7 +28,7 @@ Pillow==11.0.0
psycopg[c,pool]==3.2.3
PyYAML==6.0.2
requests==2.32.3
rq==1.16.2
rq==2.0
social-auth-app-django==5.4.2
social-auth-core==4.5.4
strawberry-graphql==0.247.0
Expand Down

0 comments on commit 27d1561

Please sign in to comment.