You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2022/10/18 13:10:30 UTC

[airflow] 14/41: Bump sphinx and sphinx-autoapi (#26743)

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

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit ba281d69afb64faecfc9337f6423bb98904dd0e3
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Sep 28 13:42:43 2022 +0200

    Bump sphinx and sphinx-autoapi (#26743)
    
    The sphinx-autoapi bug https://github.com/readthedocs/sphinx-autoapi/issues/352
    has been resolved and 2.0.0 version has been released. Since we
    are using sphinx/sphinx-autoapi only for `doc` extra, we can
    safely bump the minimum version of both to latest released minor
    versions.
    
    (cherry picked from commit 9e06c99f6102d0227c6e7b20b258d628c2bc6d5c)
---
 setup.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/setup.py b/setup.py
index bd032f3566..71db6f7796 100644
--- a/setup.py
+++ b/setup.py
@@ -266,15 +266,11 @@ doc = [
     'importlib-metadata>=4.4; python_version < "3.8"',
     'sphinx-airflow-theme',
     'sphinx-argparse>=0.1.13',
-    'sphinx-autoapi>=1.8.0',
+    'sphinx-autoapi>=2.0.0',
     'sphinx-copybutton',
     'sphinx-jinja>=2.0',
     'sphinx-rtd-theme>=0.1.6',
-    # Spinx 5.2.0 introduced deprecation for property documentation and autoapi 1.9.0 generates
-    # documentation that uses the old way of documenting it. This is tracked in
-    # https://github.com/readthedocs/sphinx-autoapi/issues/352 of autoapi and until it is solved
-    # we need to limit Sphinx to <5.2.0
-    'sphinx>=4.4.0,<5.2.0',
+    'sphinx>=5.2.0',
     'sphinxcontrib-httpdomain>=1.7.0',
     'sphinxcontrib-redoc>=1.6.0',
     'sphinxcontrib-spelling>=7.3',