Commit 5962711
authored
fix(e2e): use uv run for import test Python scripts (#845)
* fix(ci): unpin boto3 in e2e workflow
The pinned boto3==1.38.0 did not include the bedrock-agentcore-control
service model, causing import-resources e2e tests to fail with
UnknownServiceError. Using latest boto3 ensures new AWS services are
always available.
* fix(e2e): use uv run for import test Python scripts
The import e2e tests call python3 directly to run setup scripts that
use boto3. On CI runners, the system-installed boto3 is too old to
include the bedrock-agentcore-control service model. pip install boto3
installs to user site-packages which the child process doesn't pick up.
Switch to uv run --with boto3 python3 so the scripts always get a
current boto3 in an isolated environment. Remove the now-unnecessary
pip install step from the workflow.1 parent f2964e3 commit 5962711
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
0 commit comments