diff --git a/pyproject.toml b/pyproject.toml index 6613f1a66..7527f84c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,8 +49,8 @@ test = [ "importlib-metadata<5.0", # Pytest for running the tests. - "pytest>=7.0.1,<8", - "pytest-cov>=4.0.0,<5.0", + "pytest>=7.0.1,<10", + "pytest-cov>=4.0.0,<8.0", "pytest-django>=4.5.2,<5", # Remove when dropping support for Django<5.0