Skip to content

Commit 6b28430

Browse files
committed
Pin pytest/pytest-asyncio
pytest-asyncio 0.22, 0.23 and 0.24 are broken in various ways, cf. * pytest-dev/pytest-asyncio#670 * pytest-dev/pytest-asyncio#718 * pytest-dev/pytest-asyncio#587 Additionally, pytest 8 cannot work with pytest-asyncio 0.21, so we need to pin pytest to 7.x too. Perhaps there is a way to make this work, but pin it to earlier versions to do this deliberately at some point.
1 parent d99b593 commit 6b28430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ dependencies = [
4141
]
4242
optional-dependencies.tests = [
4343
"coverage[toml]",
44-
"pytest",
44+
"pytest==7.*",
4545
"pytest-cov",
46-
"pytest-asyncio",
46+
"pytest-asyncio==0.21.0",
4747
"irc",
4848
"pyyaml",
4949
]

0 commit comments

Comments
 (0)