karec / cookiecutter-flask-restful

Flask cookiecutter template for builing APIs with flask-restful, including JWT auth, cli, tests, swagger, docker and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Currently broken because incompatable with Celery 5

kbrown opened this issue · comments

Installs latest Celery and then...

celery_1 | You are using -A as an option of the worker sub-command:
celery_1 | celery worker -A celeryapp <...>
celery_1 |
celery_1 | The support for this usage was removed in Celery 5.0. Instead you should use -A as a global option:
celery_1 | celery -A celeryapp worker <...>
celery_1 | Usage: celery worker [OPTIONS]
celery_1 | Try 'celery worker --help' for help.
celery_1 |

Hello @kbrown and thanks for reporting this.

I will work on this as soon as I can to fix this and ensure everything else works fine with celery 5