This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-2-test by this push:
new ddf6c81 Temporary limit Pandas version
ddf6c81 is described below
commit ddf6c81352f94d8cf124e11af736235133a45c3f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jan 23 17:06:42 2022 +0100
Temporary limit Pandas version
This is likely only for couple of days to avoid test failures
in `main`. When the 3.4.4 version of Flask Builder gets
released we should be able to relax the limit as it will allow
us to migrate to sqlalchemy 1.4
(cherry picked from commit 3a628f71fd1fedd11378ff3b0d22ce6d97d32977)
---
setup.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 1f82d4d..5557921 100644
--- a/setup.py
+++ b/setup.py
@@ -179,7 +179,10 @@ def write_version(filename: str = os.path.join(*[my_dir,
"airflow", "git_version
file.write(text)
-pandas_requirement = 'pandas>=0.17.1, <2.0'
+# We limit Pandas to <1.4 because Pandas 1.4 requires SQLAlchemy 1.4 which
+# We should remove the limits as soon as Flask App Builder releases version
3.4.4
+# Release candidate is there:
https://pypi.org/project/Flask-AppBuilder/3.4.4rc1/
+pandas_requirement = 'pandas>=0.17.1, <1.4'
# 'Start dependencies group' and 'Start dependencies group' are mark for
./scripts/ci/check_order_setup.py
# If you change this mark you should also change
./scripts/ci/check_order_setup.py