rq / django-rq

A simple app that provides django integration for RQ (Redis Queue)
MIT License
1.81k stars 286 forks source link

New v1.14 of RQ breaks django-rq #589

Closed dennmat-hurdle closed 1 year ago

dennmat-hurdle commented 1 year ago

https://github.com/rq/rq/releases/tag/v1.14

I was getting: ImportError: cannot import name 'use_connection' from 'rq' In: django_rq/management/commands/rqworker.py, line 5, in

I fixed it for myself by pinning the rq version to 1.13

Thought I'd log it here to bring light to it. Thanks!

jeremystretch commented 1 year ago

It appears that use_connection() was intentionally removed from rq v1.14. This was called out in that PR as breaking django-rq but the change unfortunately was not communicated in the release notes.

selwin commented 1 year ago

This was already fixed in version 2.8.0 released a few days ago. https://pypi.org/project/django-rq/2.8.0/