Skip to content

Commit

Permalink
Restrict astroid version < 3 (apache#34658)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Sep 28, 2023
1 parent 2abebe3 commit 19450e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
"requests>=2.26.0",
]
doc = [
"astroid>=2.12.3",
# sphinx-autoapi fails with astroid 3.0, see: https://github.com/readthedocs/sphinx-autoapi/issues/407
# This was fixed in sphinx-autoapi 3.0, however it has requirement sphinx>=6.1, but we stuck on 5.x
"astroid>=2.12.3, <3.0",
"checksumdir",
# click 8.1.4 and 8.1.5 generate mypy errors due to typing issue in the upstream package:
# https://github.com/pallets/click/issues/2558
Expand Down

0 comments on commit 19450e0

Please sign in to comment.