diff --git a/setup.py b/setup.py index 911d5f8ee078a..13197da7320ba 100644 --- a/setup.py +++ b/setup.py @@ -250,11 +250,10 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version ] doc = [ 'click>=7.1,<9', - # Sphinx is limited to < 3.5.0 because of https://github.com/sphinx-doc/sphinx/issues/8880 - 'sphinx>=3.5.0, <5.0.0', + 'sphinx>=4.0.0, <5.0.0', 'sphinx-airflow-theme', 'sphinx-argparse>=0.1.13', - 'sphinx-autoapi==1.8.0', + 'sphinx-autoapi~=1.8.0', 'sphinx-copybutton', 'sphinx-jinja~=1.1', 'sphinx-rtd-theme>=0.1.6',