diff --git a/pyproject.toml b/pyproject.toml index d377572e..2650c8eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ lint = [ "flake8-pyproject", "flake8-docstrings", "mypy~=1.3", - "pytest~=7.3", # needed for linting tests + "pytest>=7.3,<9.0", # needed for linting tests "types-Jinja2~=2.11", "types-jsonschema~=4.17", "types-protobuf~=4.24.0", @@ -56,7 +56,7 @@ lint = [ "types-requests" ] test = [ - "pytest~=7.3", + "pytest>=7.3,<9.0", "pytest-xdist~=3.2", "hypothesis~=6.87" ]