You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/01/15 20:12:14 UTC

incubator-airflow git commit: [AIRFLOW-2003] Use flask-caching instead of flask-cache

Repository: incubator-airflow
Updated Branches:
  refs/heads/master a34a4865b -> 88130a5d7


[AIRFLOW-2003] Use flask-caching instead of flask-cache

Flask-cache has been unmaintained for over three
years,
flask-caching is the community supported version.

Closes #2944 from bolkedebruin/AIRFLOW-2003


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/88130a5d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/88130a5d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/88130a5d

Branch: refs/heads/master
Commit: 88130a5d7eec9e28c7e21a03e35170590e4bd0b6
Parents: a34a486
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Mon Jan 15 21:12:03 2018 +0100
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Mon Jan 15 21:12:03 2018 +0100

----------------------------------------------------------------------
 airflow/www/app.py | 2 +-
 setup.py           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/88130a5d/airflow/www/app.py
----------------------------------------------------------------------
diff --git a/airflow/www/app.py b/airflow/www/app.py
index 74e669a..0b71c17 100644
--- a/airflow/www/app.py
+++ b/airflow/www/app.py
@@ -17,7 +17,7 @@ import six
 
 from flask import Flask
 from flask_admin import Admin, base
-from flask_cache import Cache
+from flask_caching import Cache
 from flask_wtf.csrf import CSRFProtect
 csrf = CSRFProtect()
 

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/88130a5d/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index f0e8406..9358090 100644
--- a/setup.py
+++ b/setup.py
@@ -208,7 +208,7 @@ def do_setup():
             'dill>=0.2.2, <0.3',
             'flask>=0.11, <0.12',
             'flask-admin==1.4.1',
-            'flask-cache>=0.13.1, <0.14',
+            'flask-caching>=1.3.3, <1.4.0',
             'flask-login==0.2.11',
             'flask-swagger==0.2.13',
             'flask-wtf>=0.14, <0.15',