Commit 1af69c8
fix(tutorials): install pytest-asyncio in async tutorial test images
The test images for five async tutorials install only `.[dev]`, but their
tests import pytest_asyncio and those tutorials declare neither pytest-asyncio
in their pyproject dev extras nor append it in the Dockerfile. As a result
`docker exec ... pytest tests/test_agent.py` fails at collection with
`ModuleNotFoundError: No module named 'pytest_asyncio'`.
Append `pytest-asyncio httpx` to each install line, matching the convention
already used by the passing sibling tutorials (e.g. 000_hello_acp).
Affected:
- 10_async/00_base/090_multi_agent_non_temporal
- 10_async/10_temporal/060_open_ai_agents_sdk_hello_world
- 10_async/10_temporal/070_open_ai_agents_sdk_tools
- 10_async/10_temporal/080_open_ai_agents_sdk_human_in_the_loop
- 10_async/10_temporal/090_claude_agents_sdk_mvp
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5e65454 commit 1af69c8
5 files changed
Lines changed: 10 additions & 10 deletions
File tree
- examples/tutorials/10_async
- 00_base/090_multi_agent_non_temporal
- 10_temporal
- 060_open_ai_agents_sdk_hello_world
- 070_open_ai_agents_sdk_tools
- 080_open_ai_agents_sdk_human_in_the_loop
- 090_claude_agents_sdk_mvp
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments