diff --git a/python/pyproject.toml b/python/pyproject.toml index c3044451cb76..3e403438b1a9 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -161,7 +161,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",