You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/05/08 06:18:49 UTC
[incubator-superset] branch master updated: Move from deprecated
flask-cache to flask-caching (#4944)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 45ffed9 Move from deprecated flask-cache to flask-caching (#4944)
45ffed9 is described below
commit 45ffed99760597b632bb72f6678380d6f8e08ced
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon May 7 23:18:46 2018 -0700
Move from deprecated flask-cache to flask-caching (#4944)
It appears the officially maintained fork of flask-cache is
flask-caching https://github.com/sh4nks/flask-caching . It is fully
compatible with flask-cache.
---
requirements.txt | 2 +-
setup.py | 2 +-
superset/utils.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index b93965a..fdfde97 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 2dfa26f..b614e65 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,7 @@ setup(
'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 25c4b58..bd3d729 100644
--- a/superset/utils.py
+++ b/superset/utils.py
@@ -29,7 +29,7 @@ import celery
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
--
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.