diff --git a/pyproject.toml b/pyproject.toml
index c43290a..a2f13a3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,7 +47,7 @@ dev = [
   "nox == 2024.10.9",
   "pre-commit ~= 3.8",
   "pytest ~= 8.3",
-  "pytest-cov ~= 5.0",
+  "pytest-cov >= 5,< 7",
   "pytest-custom-exit-code ~= 0.3",
   "pytest-django ~= 4.9",
   "pytest-mock ~= 3.14",