You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/01/23 16:39:59 UTC

[airflow] 01/01: Temporary limit Pandas version

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

commit fccc0e5643b6987119824a78cfec9eda6fbbe0f3
Author: Jarek Potiuk <ja...@potiuk.com>
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