This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 262e231c167da9b43e0ebb55f38bdd5b7d5330a0 Author: Andrey Anshin <[email protected]> AuthorDate: Thu Sep 28 04:55:06 2023 +0400 Restrict `astroid` version < 3 (#34658) (cherry picked from commit 19450e03f534f63399bf5db2df7690fdd47b09c8) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3bd81e8391..bec06d628b 100644 --- a/setup.py +++ b/setup.py @@ -299,7 +299,9 @@ deprecated_api = [ "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
