From c3bbe2b7eeb9bf4fc373bb63893aac9028cef701 Mon Sep 17 00:00:00 2001 From: keithjeb Date: Sun, 3 Mar 2019 19:35:17 +0100 Subject: [PATCH] Added tornado <6.0 as an explicit dependency Tornado 6 breaks flower 0.9.2. They have fixed their requirements on github but not released to pypi. This is a bodge round it till they do. --- {{cookiecutter.project_slug}}/requirements/base.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/{{cookiecutter.project_slug}}/requirements/base.txt b/{{cookiecutter.project_slug}}/requirements/base.txt index e43b70af6..e70bcf6b3 100644 --- a/{{cookiecutter.project_slug}}/requirements/base.txt +++ b/{{cookiecutter.project_slug}}/requirements/base.txt @@ -13,6 +13,7 @@ redis>=2.10.6, < 3 # pyup: < 3 # https://github.com/antirez/redis celery==4.2.1 # pyup: < 5.0 # https://github.com/celery/celery {%- if cookiecutter.use_docker == 'y' %} flower==0.9.2 # https://github.com/mher/flower +tornado>=4.2.0,<6.0.0 #https://github.com/tornadoweb/tornado/tree/stable required as 6.0 breaks flower. {%- endif %} {%- endif %}