Skip to content

fix(templates): versions in agent templates should be pinned to avoid breakages. #1851

Open

Description

@Hweinstock

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.

Activity

  1. changed the title [-]fix(templates): versions in python agent templates should be pinned to avoid breakages.[/-] [+]fix(templates): versions in agent templates should be pinned to avoid breakages.[/+] on Jul 28, 2026
  2. Hweinstock commented on Jul 28, 2026

    @Hweinstock
    ContributorAuthor

    Related #1540 (was addressed for the CDK)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions