diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
     ],
     extras_require={
         'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'],
-        'test': ['mock>=3', 'pytest>=6', 'pytest-mock>=2', 'pytest-cov'],
+        'test': ['mock>=3', 'pytest>=7', 'pytest-mock>=2', 'pytest-cov'],
         'docs': ['sphinx>=1.8', 'sphinx-rtd-theme'],
     },
     long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'),
bump pytest to >=7