diff --git a/python/pyproject.toml b/python/pyproject.toml index 3383b6db5f1d..64213c3ed9a8 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -163,7 +163,7 @@ dev = [ "pre-commit ~= 3.7", "ipykernel >= 6.29,< 8.0", "nbconvert ~= 7.16", - "pytest ~= 8.2", + "pytest >= 8.2,< 10.0", "pytest-xdist[psutil] ~= 3.6", "pytest-cov >= 5.0", "pytest-asyncio ~= 0.24",