You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/07/12 00:32:50 UTC

[airflow] branch main updated: Limit astroid version to < 2.12 (#24982)

This is an automated email from the ASF dual-hosted git repository.

potiuk 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 ee564ef9e5 Limit astroid version to < 2.12 (#24982)
ee564ef9e5 is described below

commit ee564ef9e57707ef07db1c3353a1406e47d8e3db
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Tue Jul 12 02:32:41 2022 +0200

    Limit astroid version to < 2.12 (#24982)
    
    Astroid 2.12 released 9th of July breaks documentation building
    with sphinx-autoapi.
    
    Issue about it has been opened in
    https://github.com/PyCQA/astroid/issues/1708
    
    Until it is fixed, we should limit astroid.
---
 setup.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/setup.py b/setup.py
index 2435ac046e..7a74cda39d 100644
--- a/setup.py
+++ b/setup.py
@@ -247,6 +247,9 @@ deprecated_api = [
     'requests>=2.26.0',
 ]
 doc = [
+    # Astroid 2.12.* breaks documentation building
+    # We can remove the limit here after https://github.com/PyCQA/astroid/issues/1708 is solved
+    'astroid<2.12.0',
     'click>=8.0',
     # Docutils 0.17.0 converts generated <div class="section"> into <section> and breaks our doc formatting
     # By adding a lot of whitespace separation. This limit can be lifted when we update our doc to handle