feat: upgrade default Python runtime to PYTHON_3_13#658
Merged
jesseturner21 merged 3 commits intomainfrom Mar 27, 2026
Merged
Conversation
Add PYTHON_3_14 to the PythonRuntime enum and make it the default across all agent, MCP, and generate workflows. Updates defaults, fallbacks, TUI options, tests, docs, and snapshots. Constraint: PYTHON_3_14 must be added to the Zod enum in schema/constants.ts as all other types derive from it Rejected: Only adding enum without changing default | user requested default upgrade Confidence: high Scope-risk: broad Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Coverage Report
|
The Bedrock AgentCore service API does not yet accept PYTHON_3_14. CloudFormation validation rejects it at deploy time: "PYTHON_3_14 is not a valid enum value. Supported values: [PYTHON_3_10, PYTHON_3_11, PYTHON_3_12, PYTHON_3_13]" Keep PYTHON_3_14 in the Zod enum for forward-compatibility but revert all defaults and fallbacks back to PYTHON_3_13. Constraint: Service API only supports PYTHON_3_10 through PYTHON_3_13 Rejected: Default to PYTHON_3_14 | service rejects at deploy time Confidence: high Scope-risk: narrow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Bedrock AgentCore API only accepts PYTHON_3_10 through PYTHON_3_13. Remove PYTHON_3_14 entirely to avoid deploy failures for users. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Hweinstock
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PYTHON_3_14to thePythonRuntimeZod enum inschema/constants.tsPYTHON_3_14across all agent, MCP, and generate workflows (3 default constants, 2 fallbacks)Changed files (17)
src/schema/constants.ts— enum definitionsrc/schema/llm-compacted/agentcore.ts,mcp.ts— LLM type mirrorssrc/cli/tui/screens/agent/types.ts,generate/defaults.ts,mcp/types.ts— defaults & UIsrc/cli/primitives/AgentPrimitive.tsx— BYO agent defaultsrc/lib/packaging/index.ts,python.ts— packager fallbackssrc/tui-harness/helpers.ts— test harnesssrc/schema/__tests__/constants.test.ts— schema testssrc/lib/packaging/__tests__/python.test.ts— version extraction testsrc/cli/operations/agent/generate/__tests__/schema-mapper.test.ts— default assertionsrc/assets/agents/AGENTS.md— asset docssrc/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap— snapshotdocs/configuration.md,docs/container-builds.md— user docsTest plan
npm run test:unit— 2753 passed, 2 pre-existing PTY failures (unrelated)npm run test:update-snapshots— snapshot updatedagentcore createwith--defaultsproduces"runtimeVersion": "PYTHON_3_14"agentcore validatepasses on generated projectRelated
🤖 Generated with Claude Code