Skip to content

Commit

Permalink
[build] Constrain the maximum supported pytest version to pytest <8.
Browse files Browse the repository at this point in the history
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 <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Jan 9, 2024
1 parent e487003 commit aecfd01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies/default/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Always adjust install_requires in setup.cfg and pytest-min-requirements.txt
# when changing runtime dependencies
pytest >= 7.0.0
pytest >= 7.0.0,<8
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include_package_data = True

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

[options.extras_require]
testing =
Expand Down

0 comments on commit aecfd01

Please sign in to comment.