Commit b139c05
authored
feat: upgrade default Python runtime to PYTHON_3_14 (#837)
* feat: upgrade default Python runtime to PYTHON_3_14
Add PYTHON_3_14 as a supported runtime version and make it the default
for new agents and MCP tools. Updates schema enums, defaults, UI options,
packaging fallbacks, import mappings, and tests.
Verified end-to-end: deployed a runtime with PYTHON_3_14 to AgentCore
and confirmed successful invocation.
* chore: revert JSON schema change (auto-generated at release)
The JSON schema file is auto-regenerated during the release workflow.
Direct changes are rejected by the schema-check CI job.
* fix: address review — missed defaults, types, tests, and docs
- Update packCodeZipSync fallback in packaging/index.ts
- Add PYTHON_3_14 to llm-compacted/mcp.ts PythonRuntime type
- Update hardcoded runtimeVersion in AgentPrimitive.tsx
- Add PYTHON_3_14 to agent-env schema test
- Update TUI harness fixture default
- Update docs examples and runtime version list
* refactor: consolidate DEFAULT_PYTHON_VERSION into schema/constants
Define DEFAULT_PYTHON_VERSION once in schema/constants.ts and re-export
from the three TUI screen files that previously defined their own copy.
Replace hardcoded 'PYTHON_3_14' fallbacks in packaging and AgentPrimitive
with the shared constant. Future runtime version bumps now require a
single-line change.
* fix: detect Python ABI tag and usable wheels errors in platform retry logic
When numpy lacks pre-built wheels for a specific manylinux platform on
CPython 3.14, uv reports "no wheels with a matching Python ABI tag" or
"has no usable wheels" instead of the platform-specific errors the retry
logic was matching. This caused the packager to hard-fail on the first
platform candidate instead of retrying with a newer manylinux version
that does have compatible wheels.1 parent 8e92987 commit b139c05
21 files changed
Lines changed: 58 additions & 26 deletions
File tree
- docs
- src
- assets
- __tests__/__snapshots__
- agents
- cli
- commands/import
- operations/agent/generate/__tests__
- primitives
- tui/screens
- agent
- generate
- mcp
- lib/packaging
- __tests__
- schema
- __tests__
- llm-compacted
- schemas/__tests__
- tui-harness
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4010 | 4010 | | |
4011 | 4011 | | |
4012 | 4012 | | |
4013 | | - | |
| 4013 | + | |
4014 | 4014 | | |
4015 | 4015 | | |
4016 | 4016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
526 | 532 | | |
527 | 533 | | |
528 | 534 | | |
529 | | - | |
| 535 | + | |
530 | 536 | | |
531 | 537 | | |
532 | 538 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
281 | | - | |
| 280 | + | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
0 commit comments