Skip to content

Commit

Permalink
Pin pytest/pytest-asyncio
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paravoid committed Aug 29, 2024
1 parent d99b593 commit 6b28430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ dependencies = [
]
optional-dependencies.tests = [
"coverage[toml]",
"pytest",
"pytest==7.*",
"pytest-cov",
"pytest-asyncio",
"pytest-asyncio==0.21.0",
"irc",
"pyyaml",
]
Expand Down

0 comments on commit 6b28430

Please sign in to comment.