From 56183322388f4b36a552c32235b771d30c15bab8 Mon Sep 17 00:00:00 2001 From: Hweinstock Date: Tue, 1 Sep 2026 20:04:51 +0000 Subject: [PATCH] fix(templates): bump aws-opentelemetry-distro to ~=0.18.0 and normalize python deps to ~= --- .../templates/bedrock-agent-proxy-python/pyproject.toml | 8 ++++---- .../templates/hello-world-python-container/pyproject.toml | 8 ++++---- src/assets/templates/hello-world-python/pyproject.toml | 8 ++++---- src/assets/templates/strands-http-python/pyproject.toml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/assets/templates/bedrock-agent-proxy-python/pyproject.toml b/src/assets/templates/bedrock-agent-proxy-python/pyproject.toml index a972a4009..45ba4f61a 100644 --- a/src/assets/templates/bedrock-agent-proxy-python/pyproject.toml +++ b/src/assets/templates/bedrock-agent-proxy-python/pyproject.toml @@ -9,10 +9,10 @@ description = "AgentCore Runtime proxy for the Amazon Bedrock Agent {{agentName} readme = "README.md" requires-python = ">=3.10" dependencies = [ - "aws-opentelemetry-distro", - "bedrock-agentcore >= 1.9.1", - "boto3 >= 1.35.0", - "botocore[crt] >= 1.35.0", + "aws-opentelemetry-distro ~= 0.18.0", + "bedrock-agentcore ~= 1.9.1", + "boto3 ~= 1.43.0", + "botocore[crt] ~= 1.43.0", ] [tool.hatch.build.targets.wheel] diff --git a/src/assets/templates/hello-world-python-container/pyproject.toml b/src/assets/templates/hello-world-python-container/pyproject.toml index 09070bf8e..c352cc800 100644 --- a/src/assets/templates/hello-world-python-container/pyproject.toml +++ b/src/assets/templates/hello-world-python-container/pyproject.toml @@ -9,10 +9,10 @@ description = "AgentCore Runtime application using the Strands SDK" readme = "README.md" requires-python = ">=3.10" dependencies = [ - "aws-opentelemetry-distro", - "bedrock-agentcore >= 1.9.1", - "botocore[crt] >= 1.35.0", - "strands-agents >= 1.15.0", + "aws-opentelemetry-distro ~= 0.18.0", + "bedrock-agentcore ~= 1.9.1", + "botocore[crt] ~= 1.43.0", + "strands-agents ~= 1.15.0", ] [tool.hatch.build.targets.wheel] diff --git a/src/assets/templates/hello-world-python/pyproject.toml b/src/assets/templates/hello-world-python/pyproject.toml index 09070bf8e..c352cc800 100644 --- a/src/assets/templates/hello-world-python/pyproject.toml +++ b/src/assets/templates/hello-world-python/pyproject.toml @@ -9,10 +9,10 @@ description = "AgentCore Runtime application using the Strands SDK" readme = "README.md" requires-python = ">=3.10" dependencies = [ - "aws-opentelemetry-distro", - "bedrock-agentcore >= 1.9.1", - "botocore[crt] >= 1.35.0", - "strands-agents >= 1.15.0", + "aws-opentelemetry-distro ~= 0.18.0", + "bedrock-agentcore ~= 1.9.1", + "botocore[crt] ~= 1.43.0", + "strands-agents ~= 1.15.0", ] [tool.hatch.build.targets.wheel] diff --git a/src/assets/templates/strands-http-python/pyproject.toml b/src/assets/templates/strands-http-python/pyproject.toml index 26d4055ea..0d3a70143 100644 --- a/src/assets/templates/strands-http-python/pyproject.toml +++ b/src/assets/templates/strands-http-python/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" requires-python = ">=3.10" dependencies = [ {{#if (eq modelProvider "Anthropic")}}"anthropic ~= 0.30.0", - {{/if}}"aws-opentelemetry-distro ~= 0.17.0", + {{/if}}"aws-opentelemetry-distro ~= 0.18.0", "bedrock-agentcore ~= 1.9.1", "botocore[crt] ~= 1.43.0", {{#if (eq modelProvider "Gemini")}}"google-genai ~= 1.0.0",