Commit 1281448
committed
fix(tutorials): install pytest explicitly in tutorial test runner
The tutorial CI runner invokes `uv run pytest`, but pytest is only
declared under each tutorial's optional `dev` extra, which `uv run` does
not install. It used to resolve transitively because agentex-sdk listed
pytest/pytest-asyncio as runtime deps. agentex-sdk 0.11.5 (published
2026-05-29) dropped those (correctly — they're test-only), so the
unpinned `agentex-sdk` dep now resolves without pytest and every tutorial
job fails with `error: Failed to spawn: pytest` before any test runs.
Pass `--with pytest --with pytest-asyncio` to both pytest invocations so
the test deps are requested explicitly. This restores exactly what the
SDK used to provide transitively and works for all tutorials regardless
of how each declares its test dependencies.1 parent e1b31d9 commit 1281448
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
264 | 271 | | |
265 | 272 | | |
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
269 | 276 | | |
270 | 277 | | |
271 | | - | |
| 278 | + | |
272 | 279 | | |
273 | 280 | | |
274 | 281 | | |
| |||
0 commit comments