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/24 17:35:45 UTC

[airflow] 01/04: Temporary limit Pandas version (#21045)

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 5eeefc0dcf55e25d2845b65592411da0375bfd7f
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Jan 23 19:28:11 2022 +0100

    Temporary limit Pandas version (#21045)
    
    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 eac7cbe39341ef821eca8cb472a1f8e2a3876706)
---
 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