diff --git a/setup.py b/setup.py index e972b4b604..8b122cbabe 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ python_requires='>=3.8', extras_require={ 'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'], - 'test': ['pytest>=7', + 'test': ['pytest>=7,<8.1', 'pytest-mock>=3', 'pytest-cov', 'coverage'], 'docs': ['sphinx>=5,<7', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'],