diff --git a/setup.py b/setup.py index da32c3f10ccb5..5eedaaa9804d1 100644 --- a/setup.py +++ b/setup.py @@ -502,7 +502,12 @@ def get_sphinx_theme_version() -> str: 'bowler', 'click~=7.1', 'coverage', - 'docutils', + # Sphinx RTD theme 0.5.2. introduced limitation to docutils to account for some docutils markup + # change: + # https://github.com/readthedocs/sphinx_rtd_theme/issues/1112 + # This limitation can be removed after this issue is closed: + # https://github.com/readthedocs/sphinx_rtd_theme/issues/1115 + 'docutils<0.17', 'filelock', 'flake8>=3.6.0', 'flake8-colors',