Skip to content

Commit

Permalink
Add limit to Sphinx < 5.2.0 until autoapi incompatibilities are fixed…
Browse files Browse the repository at this point in the history
… (#26670)

The new (released 2 days ago) Sphinx 5.2.0 introduced deprecation
for he way properties are documented and sphinx-autoapi needs
to catch-up with it. Until that, we limit Sphinx to < 5.2.0

Tracked in readthedocs/sphinx-autoapi#352

GitOrigin-RevId: ba96604608a4b44b5febf50384b251850c2de62e
  • Loading branch information
potiuk authored and Cloud Composer Team committed Mar 30, 2023
1 parent 4498792 commit 96b1a10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
'sphinx-copybutton',
'sphinx-jinja>=2.0',
'sphinx-rtd-theme>=0.1.6',
'sphinx>=4.4.0',
# 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',
'sphinxcontrib-httpdomain>=1.7.0',
'sphinxcontrib-redoc>=1.6.0',
'sphinxcontrib-spelling>=7.3',
Expand Down

0 comments on commit 96b1a10

Please sign in to comment.