Skip to content

Commit d537a93

Browse files
committed
Backport: Bump Flask-AppBuilder to 4.5.2 (#43309)
https://pypi.org/project/Flask-AppBuilder/4.5.2/ Backport of #43309 (cherry picked from commit d7f50ba)
1 parent aef6590 commit d537a93

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

Dockerfile.ci

+5-2
Original file line numberDiff line numberDiff line change
@@ -1203,8 +1203,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-o", "errexit", "-o", "nounset", "-o", "n
12031203
ARG PYTHON_BASE_IMAGE
12041204
ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow"
12051205

1206-
# By increasing this number we can do force build of all dependencies
1207-
ARG DEPENDENCIES_EPOCH_NUMBER="11"
1206+
# By increasing this number we can do force build of all dependencies.
1207+
# NOTE! When you want to make sure dependencies are installed from scratch in your PR after removing
1208+
# some dependencies, you also need to set "disable image cache" in your PR to make sure the image is
1209+
# not built using the "main" version of those dependencies.
1210+
ARG DEPENDENCIES_EPOCH_NUMBER="13"
12081211

12091212
# Make sure noninteractive debian install is used and language variables set
12101213
ENV PYTHON_BASE_IMAGE=${PYTHON_BASE_IMAGE} \

airflow/providers/fab/provider.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies:
5151
# Every time we update FAB version here, please make sure that you review the classes and models in
5252
# `airflow/providers/fab/auth_manager/security_manager/override.py` with their upstream counterparts.
5353
# In particular, make sure any breaking changes, for example any new methods, are accounted for.
54-
- flask-appbuilder==4.5.1
54+
- flask-appbuilder==4.5.2
5555
- flask-login>=0.6.2
5656
- google-re2>=1.0
5757
- jmespath>=0.7.0

dev/breeze/tests/test_packages.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_get_documentation_package_path():
166166
"",
167167
"""
168168
"apache-airflow>=2.9.0",
169-
"flask-appbuilder==4.5.1",
169+
"flask-appbuilder==4.5.2",
170170
"flask-login>=0.6.2",
171171
"flask>=2.2,<2.3",
172172
"google-re2>=1.0",
@@ -179,7 +179,7 @@ def test_get_documentation_package_path():
179179
"dev0",
180180
"""
181181
"apache-airflow>=2.9.0.dev0",
182-
"flask-appbuilder==4.5.1",
182+
"flask-appbuilder==4.5.2",
183183
"flask-login>=0.6.2",
184184
"flask>=2.2,<2.3",
185185
"google-re2>=1.0",
@@ -192,7 +192,7 @@ def test_get_documentation_package_path():
192192
"beta0",
193193
"""
194194
"apache-airflow>=2.9.0b0",
195-
"flask-appbuilder==4.5.1",
195+
"flask-appbuilder==4.5.2",
196196
"flask-login>=0.6.2",
197197
"flask>=2.2,<2.3",
198198
"google-re2>=1.0",

generated/provider_dependencies.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
"fab": {
551551
"deps": [
552552
"apache-airflow>=2.9.0",
553-
"flask-appbuilder==4.5.1",
553+
"flask-appbuilder==4.5.2",
554554
"flask-login>=0.6.2",
555555
"flask>=2.2,<2.3",
556556
"google-re2>=1.0",

hatch_build.py

-7
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,6 @@
438438
# all parameters now are mandatory which make AirflowDatabaseSessionInterface incompatible with this version.
439439
"flask-session>=0.4.0,<0.6",
440440
"flask-wtf>=1.1.0",
441-
# WTForms are limited to 3.2.0 because of the error in tests. We technically do not need it directly
442-
# as this is a dependency of Flask-WTF, but we need to specify it here to add the limitation
443-
# The issue to track it is https://github.com/pallets-eco/wtforms/issues/863
444-
# Note. 3.2.0 has been broken because of imports https://github.com/pallets-eco/wtforms/issues/861 which
445-
# was fixed in 3.2.1, but after import was fixed, the tests started to work with 3.2.1
446-
# when the issue 863 is fixed, we should likely leave the line below and specify !=3.2.0,!=3.2.1
447-
"wtforms>=3.1.0,<3.2.0",
448441
# Flask 2.3 is scheduled to introduce a number of deprecation removals - some of them might be breaking
449442
# for our dependencies - notably `_app_ctx_stack` and `_request_ctx_stack` removals.
450443
# We should remove the limitation after 2.3 is released and our dependencies are updated to handle it

0 commit comments

Comments
 (0)