diff --git a/requirements.txt b/requirements.txt index da4a91ba05117..1f42d8c8c07ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ colorama==0.3.9 cryptography==1.9 flask==0.12.2 flask-appbuilder==1.10.0 -flask-cache==0.13.1 +flask-caching==1.4.0 flask-compress==1.4.0 flask-migrate==2.1.1 flask-script==2.0.6 diff --git a/setup.py b/setup.py index cc55836bd3864..204271e5b5f20 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def get_git_sha(): 'cryptography', 'flask<=1.0.0', 'flask-appbuilder', - 'flask-cache', + 'flask-caching', 'flask-compress', 'flask-migrate', 'flask-script', diff --git a/superset/utils.py b/superset/utils.py index 25c4b581d9322..bd3d729f85a54 100644 --- a/superset/utils.py +++ b/superset/utils.py @@ -29,7 +29,7 @@ from dateutil.parser import parse from flask import flash, Markup, render_template from flask_babel import gettext as __ -from flask_cache import Cache +from flask_caching import Cache import markdown as md import numpy import pandas as pd