diff --git a/setup.py b/setup.py index 3434ecdaf4..59f5c85819 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ 'test': ['pytest>=7', 'pytest-mock>=3', 'mock>=4', 'pytest-cov', 'coverage'], - 'docs': ['sphinx>=4', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], + 'docs': ['sphinx>=4,<5', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], }, long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'), classifiers=[