Pinar a versão do Celery em 5.0.5 temos alguns future warning para a versão 6.0:
[2021-01-08 07:52:07,271: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'BROKER_URL' setting is deprecated and scheduled for removal in
version 6.0.0. Use the broker_url instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,271: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERY_RESULT_BACKEND' setting is deprecated and scheduled for removal in
version 6.0.0. Use the result_backend instead
[2021-01-08 07:52:07,271: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERY_ALWAYS_EAGER' setting is deprecated and scheduled for removal in
version 6.0.0. Use the task_always_eager instead
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERY_ANNOTATIONS' setting is deprecated and scheduled for removal in
version 6.0.0. Use the task_annotations instead
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERYD_MAX_TASKS_PER_CHILD' setting is deprecated and scheduled for removal in
version 6.0.0. Use the worker_max_tasks_per_child instead
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERY_TIMEZONE' setting is deprecated and scheduled for removal in
version 6.0.0. Use the timezone instead
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The 'CELERY_IMPORTS' setting is deprecated and scheduled for removal in
version 6.0.0. Use the imports instead
[2021-01-08 07:52:07,272: WARNING/MainProcess] Please run celery upgrade settings path/to/settings.py to avoid these warnings and to allow a smoother upgrade to Celery 6.0.
Specific
As tarefas não estão sendo inicializadas
~Resolver erro de conexão na porta 25672 para o serviço de rabbitmq no docker-compose~
Resolver erro de configurações deprecated: See https://docs.celeryproject.org/en/stable/whatsnew-5.0.html
Pinar a versão do Celery em 5.0.5 temos alguns future warning para a versão 6.0:
[2021-01-08 07:52:07,271: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERY_RESULT_BACKEND' setting is deprecated and scheduled for removal in version 6.0.0. Use the result_backend instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,271: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERY_ALWAYS_EAGER' setting is deprecated and scheduled for removal in version 6.0.0. Use the task_always_eager instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERY_ANNOTATIONS' setting is deprecated and scheduled for removal in version 6.0.0. Use the task_annotations instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERYD_MAX_TASKS_PER_CHILD' setting is deprecated and scheduled for removal in version 6.0.0. Use the worker_max_tasks_per_child instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERY_TIMEZONE' setting is deprecated and scheduled for removal in version 6.0.0. Use the timezone instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,272: WARNING/MainProcess] /opt/conda/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning: The 'CELERY_IMPORTS' setting is deprecated and scheduled for removal in version 6.0.0. Use the imports instead
deprecated.warn(description=f'The {setting!r} setting',
[2021-01-08 07:52:07,272: WARNING/MainProcess] Please run
celery upgrade settings path/to/settings.py
to avoid these warnings and to allow a smoother upgrade to Celery 6.0.