Skip to content

Commit b5402ff

Browse files
committed
fix: ensure pytest-asyncio >=0.23.0 in CI to avoid event loop errors - Explicitly install newer pytest-asyncio before dev dependencies - Update pyproject.toml to require pytest-asyncio>=0.23.0
1 parent a14e7ef commit b5402ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: 📦 Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30+
pip install "pytest-asyncio>=0.23.0"
3031
pip install -e ".[dev]"
3132
3233
- name: 🧪 Run tests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies = [
5050
[project.optional-dependencies]
5151
dev = [
5252
"pytest>=7.0.0,<9.0.0",
53-
"pytest-asyncio>=0.21.0,<1.0.0",
53+
"pytest-asyncio>=0.23.0,<2.0.0",
5454
"pytest-mock>=3.10.0,<4.0.0",
5555
"pytest-cov>=4.0.0,<6.0.0",
5656
"ruff>=0.1.0,<1.0.0",

0 commit comments

Comments
 (0)