Repository navigation
Commit 799fcae
authored
test: install HTTP dependencies for the legacy cross-version server (#1320)
# Description
The cross-version fixture starts the 0.3.24 FastAPI/JSON-RPC server in
an isolated `uv --no-project` environment, but requests only
`a2a-sdk[grpc]`. That environment lacks `sse-starlette`, so server
startup raises `ImportError` and all four cross-version combinations
fail during setup.
Request `a2a-sdk[grpc,http-server]==0.3.24` for that server. This
changes one test dependency declaration; the client environments and SDK
runtime dependencies stay as they are.
Validation on main `e11cb3e55dd536bee99fe185723db3c8ff6f8a13`, Python
3.12.11:
- Before: four cross-version setup errors; the legacy server reports the
missing HTTP-server packages.
- After: `./scripts/lint.sh` exits 0; `uv run pytest --timeout=45`
reports **2243 passed, 183 skipped, 3 xfailed, 1 xpassed**. All four
cross-version combinations pass.
- `git diff --check` passes. Skipped coverage includes external
PostgreSQL/MySQL services; they were not configured locally. The
existing expected-failure markers reference #869.
- [x] Followed the contribution guide and conventional-commit title
format.
- [x] Tests and linter pass.
- [x] Documentation changes are not needed for this test-environment
dependency.
AI-assisted investigation and validation with Codex for Mission.
Co-authored-by: gomission <291677423+gomission@users.noreply.github.com>1 parent 494a8ec commit 799fcae
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments