Skip to content

Commit 1f0c017

Browse files
potiukjedcunningham
authored andcommitted
Add limit to Sphinx < 5.2.0 until autoapi incompatibilities are fixed (#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 (cherry picked from commit ba96604)
1 parent 7155c10 commit 1f0c017

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,11 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
270270
'sphinx-copybutton',
271271
'sphinx-jinja>=2.0',
272272
'sphinx-rtd-theme>=0.1.6',
273-
'sphinx>=4.4.0',
273+
# Spinx 5.2.0 introduced deprecation for property documentation and autoapi 1.9.0 generates
274+
# documentation that uses the old way of documenting it. This is tracked in
275+
# https://github.com/readthedocs/sphinx-autoapi/issues/352 of autoapi and until it is solved
276+
# we need to limit Sphinx to <5.2.0
277+
'sphinx>=4.4.0,<5.2.0',
274278
'sphinxcontrib-httpdomain>=1.7.0',
275279
'sphinxcontrib-redoc>=1.6.0',
276280
'sphinxcontrib-spelling>=7.3',

0 commit comments

Comments
 (0)