diff --git a/test-requirements.txt b/test-requirements.txt index 42c8a08a2b5d..6864353a5329 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,7 +12,8 @@ pre-commit pre-commit-hooks==4.4.0 psutil>=4.0 # pytest 6.2.3 does not support Python 3.10 -pytest>=6.2.4 +# TODO: fix use of removed private APIs so we can use the latest pytest +pytest>=6.2.4,<7.4.0 pytest-xdist>=1.34.0 pytest-forked>=1.3.0,<2.0.0 pytest-cov>=2.10.0