Problem
Many versions in agent templates are left unpinned. This allows for new major releases (or any breaking change) to break projects completely.
More info in: #1850.
Example of a dependency that is still pinned: https://github.com/aws/agentcore-cli/blob/main/src/assets/python/agui/langchain_langgraph/base/pyproject.toml#L24
If langgraph releases a new major version that isn't compatible with our code, all projects will break.
The same is true for the TS projects. We already pin CDK versions, but we need to pin all versions.
Definition of Done
- Investigate pinning or "partially pinning" via https://peps.python.org/pep-0440/#compatible-release (and the TS equiv) to ensure new releases don't break projects. We can't blindly pin everything since newer versions may already be resolved such that pinning changes behavior.
- Ensure that projects cannot be broken by external releases.
Problem
Many versions in agent templates are left unpinned. This allows for new major releases (or any breaking change) to break projects completely.
More info in: #1850.
Example of a dependency that is still pinned: https://github.com/aws/agentcore-cli/blob/main/src/assets/python/agui/langchain_langgraph/base/pyproject.toml#L24
If langgraph releases a new major version that isn't compatible with our code, all projects will break.
The same is true for the TS projects. We already pin CDK versions, but we need to pin all versions.
Definition of Done