From bae6636325b146a0f4710d3d8f1f5a14d3276309 Mon Sep 17 00:00:00 2001 From: Giacomo Barone <46573388+ggbaro@users.noreply.github.com> Date: Sat, 11 Nov 2023 05:13:50 +0100 Subject: [PATCH] fix: update flask-caching to avoid breaking redis cache, solves #25339 (#25947) Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> --- requirements/base.txt | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index d056b403c3a5c..cc435878129c9 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -31,7 +31,7 @@ bottleneck==1.3.7 # via pandas brotli==1.0.9 # via flask-compress -cachelib==0.6.0 +cachelib==0.9.0 # via # flask-caching # flask-session @@ -103,7 +103,7 @@ flask-appbuilder==4.3.9 # via apache-superset flask-babel==1.0.0 # via flask-appbuilder -flask-caching==1.11.1 +flask-caching==2.1.0 # via apache-superset flask-compress==1.13 # via apache-superset diff --git a/setup.py b/setup.py index 5173ad6dea708..88f2c0fba553a 100644 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ def get_git_sha() -> str: "deprecation>=2.1.0, <2.2.0", "flask>=2.2.5, <3.0.0", "flask-appbuilder>=4.3.9, <5.0.0", - "flask-caching>=1.11.1, <2.0", + "flask-caching>=2.1.0, <3", "flask-compress>=1.13, <2.0", "flask-talisman>=1.0.0, <2.0", "flask-login>=0.6.0, < 1.0",