Skip to content

Commit 2c838e2

Browse files
authored
Pin pytest<8.1 to fix compatibility with pytest-black 0.6.0
1 parent d73a288 commit 2c838e2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build/test-requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ pylint
77
pycodestyle
88
pydocstyle
99
prospector
10-
pytest
10+
# pytest-black 0.6.0 uses the deprecated `path` arg in pytest_collect_file,
11+
# which was removed in pytest 8.1. Pin to <8.1 to maintain compatibility.
12+
pytest<8.1
1113
flask
1214
fastapi
1315
uvicorn

0 commit comments

Comments
 (0)