Skip to content

Commit c6f34c2

Browse files
kaxilCloud Composer Team
authored and
Cloud Composer Team
committed
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 apache/airflow#11965 GitOrigin-RevId: 3ad037872e54ec617f1b2734781c61640c7528ca
1 parent 8ad32e4 commit c6f34c2

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
@@ -690,9 +690,11 @@ def is_package_excluded(package: str, exclusion_list: List[str]):
690690
INSTALL_REQUIREMENTS = [
691691
'alembic>=1.2, <2.0',
692692
'argcomplete~=1.10',
693-
'attrs~=20.0',
693+
'attrs>=20.0, <21.0',
694694
'cached_property~=1.5',
695-
'cattrs~=1.0',
695+
# cattrs >= 1.1.0 dropped support for Python 3.6
696+
'cattrs>=1.0, <1.1.0;python_version<="3.6"',
697+
'cattrs>=1.0, <2.0;python_version>"3.7"',
696698
'colorlog==4.0.2',
697699
'connexion[swagger-ui,flask]>=2.6.0,<3',
698700
'croniter>=0.3.17, <0.4',

0 commit comments

Comments
 (0)