Skip to content

Commit 1ccd7d3

Browse files
kaxilTomasz Lecki
authored and
Tomasz Lecki
committed
Bump attrs and cattrs dependencies (apache#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 apache#11965
1 parent fcd4485 commit 1ccd7d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,11 @@ def write_version(filename=os.path.join(*[my_dir, "airflow", "git_version"])):
550550
INSTALL_REQUIREMENTS = [
551551
'alembic>=1.0, <2.0',
552552
'argcomplete~=1.10',
553-
'attrs~=19.3',
553+
'attrs>=20.0, <21.0',
554554
'cached_property~=1.5',
555-
'cattrs~=1.0',
555+
# cattrs >= 1.1.0 dropped support for Python 3.6
556+
'cattrs>=1.0, <1.1.0;python_version<="3.6"',
557+
'cattrs>=1.0, <2.0;python_version>"3.7"',
556558
'colorlog==4.0.2',
557559
'configparser>=3.5.0, <3.6.0',
558560
'croniter>=0.3.17, <0.4',

0 commit comments

Comments
 (0)