nautobot-docker-compose icon indicating copy to clipboard operation
nautobot-docker-compose copied to clipboard

rq import problems with release 1.6

Open nerrehmit opened this issue 10 months ago • 2 comments

Just a quick documentation of an issue I had today while using the docker-compose setup to spin up a Nautobot 1.6 instance for testing.

https://github.com/nautobot/nautobot-docker-compose/blob/main/config/nautobot_config.py.ldap#L353 imports the ColorizingStreamHandler class from rq.utils.

But since django-rq was bumped from 2.5.1 to 2.8.1 for the Nautobot 1.6 release here the rq dependency has automatically been updated to >=1.15.1.

rq moved the class ColorizingStreamHandler from the utils.py to logutils.py here, unfortunately without mentioning it in the 1.14.0 release notes.

To get back to a working docker setup with Nautobot 1.6 you have to change the import statement in the LDAP config like I did in my fork here.

nerrehmit avatar Aug 09 '23 20:08 nerrehmit