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