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 2020/11/14 18:39:43 UTC
[airflow] 02/02: Bump attrs and cattrs dependencies (#11969)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit bef862404e2edca122e74e4a8ed33fae96f10b29
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
(cherry picked from commit 3ad037872e54ec617f1b2734781c61640c7528ca)
---
setup.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index df5f83f..d5d2ba5 100644
--- a/setup.py
+++ b/setup.py
@@ -575,9 +575,11 @@ EXTRAS_REQUIREMENTS = {
INSTALL_REQUIREMENTS = [
'alembic>=1.0, <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',
'configparser>=3.5.0, <3.6.0',
'croniter>=0.3.17, <0.4',