diff --git a/pyproject.toml b/pyproject.toml
index 17bf06b051b1270e36dadb7b38404ce8be250203..66a525ad4342820c1bf48096e9aee374748e8266 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -22,10 +22,10 @@ classifiers=[
 
 [project.optional-dependencies]
 testing = [
-    "pytest>=8.0",
+    "pytest>=7.0",
     "requests>=2.0",
     # For Python 3.9 and up, use pytest-cov>=6.0
     'pytest-cov>=6.0; python_version >= "3.9"',
     # For older versions, use an older version of pytest-cov or omit it:
-    'pytest-cov; python_version < "3.9"' # we take any we get 
+    'pytest-cov; python_version < "3.9"' # we take any we get
 ]
\ No newline at end of file