This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 19450e03f5 Restrict `astroid` version < 3 (#34658)
19450e03f5 is described below
commit 19450e03f534f63399bf5db2df7690fdd47b09c8
Author: Andrey Anshin <[email protected]>
AuthorDate: Thu Sep 28 04:55:06 2023 +0400
Restrict `astroid` version < 3 (#34658)
---
setup.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 01b2b51493..d5b8c333d0 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