This is an automated email from the ASF dual-hosted git repository.
taragolis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 0190ba33ad Limit `flask-session` to <0.6 (#36895)
0190ba33ad is described below
commit 0190ba33ad2857b6d0ecf2a4320e697bb1a156b4
Author: Andrey Anshin <[email protected]>
AuthorDate: Fri Jan 19 15:58:29 2024 +0400
Limit `flask-session` to <0.6 (#36895)
---
pyproject.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index dd8b6ab1b5..d555213a2b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -92,7 +92,9 @@ dependencies = [
"deprecated>=1.2.13",
"dill>=0.2.2",
"flask-caching>=1.5.0",
- "flask-session>=0.4.0",
+ # Flask-Session 0.6 add new arguments into the SqlAlchemySessionInterface
constructor as well as
+ # all parameters now are mandatory which make
AirflowDatabaseSessionInterface incopatible with this version.
+ "flask-session>=0.4.0,<0.6",
"flask-wtf>=0.15",
# Flask 2.3 is scheduled to introduce a number of deprecation removals -
some of them might be breaking
# for our dependencies - notably `_app_ctx_stack` and `_request_ctx_stack`
removals.