Skip to content

Commit d743263

Browse files
cursoragentDJLougen
andcommitted
fix(ci): add pytest-asyncio for async/streaming tests
The now-tier batch added test_async_stack and test_streaming but did not declare pytest-asyncio in dev dependencies, causing 6 CI failures on a clean pip install -e .[dev]. Co-authored-by: Daniel <DJLougen@users.noreply.github.com>
1 parent fe70854 commit d743263

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ monitor = ["pynvml>=2.0"]
6363
performance = ["hive-cpp>=0.1.0"]
6464
dev = [
6565
"pytest>=8.0",
66+
"pytest-asyncio>=0.24",
6667
"pytest-cov>=4.1",
6768
"ruff>=0.5",
6869
"mypy>=1.8",
6970
]
71+
72+
[tool.pytest.ini_options]
73+
asyncio_mode = "auto"
7074
# Real-time observability: Prometheus, OpenTelemetry, JSONL export
7175
observability = [
7276
"prometheus-client>=0.20",

0 commit comments

Comments
 (0)