Repository navigation
Commit a2dbedd
authored
test: isolate legacy SDK environments in cross-version tests (#1353)
The cross-version tests start the 0.3.24 client and server with `uv run
--no-project --with ...`. With `--no-project`, uv still builds the
`--with` environment on top of the project's .venv. The legacy processes
can then import packages from the dev group, which includes
a2a-sdk[all].
Because of this, the 0.3 server started in CI without its `http-server`
extra and the tests passed. They failed only on machines where .venv did
not have sse-starlette (fixed in #1320).
Add `--isolated` so that each legacy environment uses a bare interpreter
and contains only the dependencies it declares.1 parent 44b2f76 commit a2dbedd
2 files changed
Lines changed: 9 additions & 3 deletions
File tree
- tests/integration/cross_version
- client_server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
131 | | - | |
| 136 | + | |
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
| |||
192 | 197 | | |
193 | 198 | | |
194 | 199 | | |
195 | | - | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
202 | | - | |
| 207 | + | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments