From d2bc4ece3ebece5434db0a0764471ac122fbc302 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 4 Jun 2018 14:54:36 -0700 Subject: [PATCH] Bump celery to 4.1.1 (#5134) * Bump celery to 4.1.1 Docs reference `celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair` command which seems only to work with Celery 4.1.1 * Add UPDATING.md message --- UPDATING.md | 6 ++++++ requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/UPDATING.md b/UPDATING.md index 78607ffee01b9..3991b70838441 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -3,6 +3,12 @@ This file documents any backwards-incompatible changes in Superset and assists people when migrating to a new version. +## Superset 0.26.0 +* Superset 0.26.0 deprecates the `superset worker` CLI, which is a simple +wrapper around the `celery worker` command, forcing you into crafting +your own native `celery worker` command. Your command should look something +like `celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair` + ## Superset 0.25.0 Superset 0.25.0 contains a backwards incompatible changes. If you run a production system you should schedule downtime for this diff --git a/requirements.txt b/requirements.txt index 554ff9069a42b..77ec8564e64ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ bleach==2.1.2 boto3==1.4.7 -celery==4.1.0 +celery==4.1.1 colorama==0.3.9 cryptography==1.9 flask==0.12.2 diff --git a/setup.py b/setup.py index d222b8c8bafe7..fdcb7d78bcccc 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ def get_git_sha(): install_requires=[ 'bleach', 'boto3>=1.4.6', - 'celery', + 'celery>=4.1.1', 'colorama', 'contextlib2', 'cryptography',