Skip to content

Commit aecfd01

Browse files
committed
[build] Constrain the maximum supported pytest version to pytest <8.
Pytest 8 made some changes to its test collection and pytest-asyncio currently isn't compatible with those changes. see #737 Signed-off-by: Michael Seifert <[email protected]>
1 parent e487003 commit aecfd01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dependencies/default/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Always adjust install_requires in setup.cfg and pytest-min-requirements.txt
22
# when changing runtime dependencies
3-
pytest >= 7.0.0
3+
pytest >= 7.0.0,<8

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ include_package_data = True
4040

4141
# Always adjust requirements.txt and pytest-min-requirements.txt when changing runtime dependencies
4242
install_requires =
43-
pytest >= 7.0.0
43+
pytest >= 7.0.0,<8
4444

4545
[options.extras_require]
4646
testing =

0 commit comments

Comments
 (0)