You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/10/30 15:16:27 UTC

[airflow] branch master updated: Bump attrs and cattrs dependencies (#11969)

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

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ad0378  Bump attrs and cattrs dependencies (#11969)
3ad0378 is described below

commit 3ad037872e54ec617f1b2734781c61640c7528ca
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Oct 30 15:14:49 2020 +0000

    Bump attrs and cattrs dependencies (#11969)
    
    `cattrs` now depends on `attrs >= 20.1.0`, because of `attr.resolve_types`.
    
    Source: https://github.com/Tinche/cattrs/blob/master/HISTORY.rst#110-2020-10-29
    
    closes https://github.com/apache/airflow/issues/11965
---
 setup.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 2340284..cca4b67 100644
--- a/setup.py
+++ b/setup.py
@@ -690,9 +690,11 @@ EXTRAS_REQUIREMENTS.update(
 INSTALL_REQUIREMENTS = [
     'alembic>=1.2, <2.0',
     'argcomplete~=1.10',
-    'attrs~=20.0',
+    'attrs>=20.0, <21.0',
     'cached_property~=1.5',
-    'cattrs~=1.0',
+    # cattrs >= 1.1.0 dropped support for Python 3.6
+    'cattrs>=1.0, <1.1.0;python_version<="3.6"',
+    'cattrs>=1.0, <2.0;python_version>"3.7"',
     'colorlog==4.0.2',
     'connexion[swagger-ui,flask]>=2.6.0,<3',
     'croniter>=0.3.17, <0.4',