You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/03/19 15:06:39 UTC

[airflow] 37/42: Pin SQLAlchemy to <1.4 due to breakage of sqlalchemy-utils (#14812)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 6ae0cb019fe94e2cd86d6cccc33b33a3a0922bfc
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Mar 15 21:28:06 2021 +0100

    Pin SQLAlchemy to <1.4 due to breakage of sqlalchemy-utils (#14812)
    
    The 1.4 releae of SQLAlchemy breaks sqlalchemy-utils.
    
    This change pins it to < 1.4
    
    Fixes #14811
    
    (cherry picked from commit c29f6fb76b9d87c50713ae94fda805b9f789a01d)
---
 setup.cfg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index 267d972..ed533ca 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -130,7 +130,8 @@ install_requires =
     requests>=2.20.0
     rich==9.2.0
     setproctitle>=1.1.8, <2
-    sqlalchemy>=1.3.18, <2
+    # SQLAlchemy 1.4 breaks sqlalchemy-utils https://github.com/kvesteri/sqlalchemy-utils/issues/505
+    sqlalchemy>=1.3.18, <1.4
     sqlalchemy_jsonfield~=1.0
     tabulate>=0.7.5, <0.9
     tenacity~=6.2.0