Skip to content

Commit 2f56b3f

Browse files
authored
Unbreak CI (#15505)
pytest 7.4.0 was just released, and our CI on `master` is very red as a result. Looks like we're using a private API that we shouldn't be: #15501 (comment). For now let's just pin to pytest <7.4.0. https://pypi.org/project/pytest/7.4.0/
1 parent a47279b commit 2f56b3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ pre-commit
99
pre-commit-hooks==4.4.0
1010
psutil>=4.0
1111
# pytest 6.2.3 does not support Python 3.10
12-
pytest>=6.2.4
12+
# TODO: fix use of removed private APIs so we can use the latest pytest
13+
pytest>=6.2.4,<7.4.0
1314
pytest-xdist>=1.34.0
1415
pytest-cov>=2.10.0
1516
ruff==0.0.272 # must match version in .pre-commit-config.yaml

0 commit comments

Comments
 (0)