Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rq 2.0.0 breaks compatibility with rq-exporter #37

Closed
dereckson opened this issue Nov 20, 2024 · 0 comments
Closed

rq 2.0.0 breaks compatibility with rq-exporter #37

dereckson opened this issue Nov 20, 2024 · 0 comments

Comments

@dereckson
Copy link

When running rq-exporter with rq 2.0.0:

Traceback (most recent call last):
  File "/app/.venv/bin/rq-exporter", line 5, in <module>
    from rq_exporter.main import main
  File "/app/.venv/lib/python3.10/site-packages/rq_exporter/init.py", line 6, in <module>
    from .exporter import create_app
  File "/app/.venv/lib/python3.10/site-packages/rq_exporter/exporter.py", line 14, in <module>
    from .collector import RQCollector
  File "/app/.venv/lib/python3.10/site-packages/rq_exporter/collector.py", line 8, in <module>
    from rq import Connection
ImportError: cannot import name 'Connection' from 'rq' (/app/.venv/lib/python3.10/site-packages/rq/init.py)

Other libraries needed some changes, for example rq-dashboard: Parallels/rq-dashboard@780ec24

@mdawar mdawar closed this as completed in 642516f Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant