rq / django-rq

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

Make `rqstats -y` fail when PyYAML is not installed #660

Closed SpecLad closed 2 months ago

SpecLad commented 3 months ago

Currently, when PyYAML is not installed, rqstats -y prints an error message, but it still exits with a 0 exit code, indicating success. Fix that, along with a few related issues:

After this change, you need to install PyYAML to run the testsuite, so modify the GitHub workflow accordingly. Also, make sure to install all packages at once, to make sure that later install commands don't overwrite the result of the earlier ones.

selwin commented 2 months ago

Thanks!