mistercrunch closed pull request #4944: Move from deprecated flask-cache to 
flask-caching
URL: https://github.com/apache/incubator-superset/pull/4944
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/requirements.txt b/requirements.txt
index b93965a0d8..fdfde97bfd 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 2dfa26fe7a..b614e65763 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,7 @@ def get_git_sha():
         'cryptography',
         'flask',
         'flask-appbuilder',
-        'flask-cache',
+        'flask-caching',
         'flask-compress',
         'flask-migrate',
         'flask-script',
diff --git a/superset/utils.py b/superset/utils.py
index 25c4b581d9..bd3d729f85 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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to