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 2021/06/22 19:24:54 UTC

[airflow] 16/47: Cattrs 1.7.0 released by the end of May 2021 break lineage usage (#16173)

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

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

commit 79706e441280a1ddc4db81b40c2b3b60516fc7f4
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun May 30 23:53:28 2021 +0200

    Cattrs 1.7.0 released by the end of May 2021 break lineage usage (#16173)
    
    See https://github.com/apache/airflow/issues/16172
    
    For now we limit the cattrs to < 1.7.0
    
    (cherry picked from commit 19eb7ef95741e10d712845bc737b86615cbb8e7a)
---
 setup.cfg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index fc438d4..46bf15b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -83,7 +83,8 @@ install_requires =
     cached_property~=1.5;python_version<="3.7"
     # cattrs >= 1.1.0 dropped support for Python 3.6
     cattrs>=1.0, <1.1.0;python_version<="3.6"
-    cattrs~=1.1;python_version>"3.6"
+    # cattrs >= 1.7.0 break lineage - see https://github.com/apache/airflow/issues/16172
+    cattrs~=1.1, <1.7.0;python_version>"3.6"
     # Required by vendored-in connexion
     clickclick>=1.2
     colorlog>=4.0.2