Skip to content

Commit cb29b40

Browse files
committed
fix: remove unused dependencies from Python template pyproject.toml files
1 parent 66f3f91 commit cb29b40

File tree

8 files changed

+13
-23
lines changed

8 files changed

+13
-23
lines changed

package-lock.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,6 @@ dependencies = [
10981098
"opentelemetry-exporter-otlp",
10991099
"bedrock-agentcore >= 1.0.3",
11001100
"botocore[crt] >= 1.35.0",
1101-
"python-dotenv >= 1.0.1",
11021101
"tiktoken",
11031102
{{#if (eq modelProvider "Bedrock")}}
11041103
"autogen-ext[anthropic] >= 0.7.5",
@@ -1420,7 +1419,6 @@ dependencies = [
14201419
"opentelemetry-exporter-otlp",
14211420
"bedrock-agentcore >= 1.0.3",
14221421
"botocore[crt] >= 1.35.0",
1423-
"python-dotenv >= 1.0.1",
14241422
{{#if (eq modelProvider "Bedrock")}}
14251423
"crewai[tools,bedrock] >= 1.3.0",
14261424
{{/if}}
@@ -1696,7 +1694,6 @@ dependencies = [
16961694
"google-adk >= 1.17.0",
16971695
"bedrock-agentcore >= 1.0.3",
16981696
"botocore[crt] >= 1.35.0",
1699-
"python-dotenv >= 1.0.1",
17001697
]
17011698
17021699
[tool.hatch.build.targets.wheel]
@@ -2019,7 +2016,6 @@ dependencies = [
20192016
"tiktoken == 0.11.0",
20202017
"bedrock-agentcore >= 1.0.3",
20212018
"botocore[crt] >= 1.35.0",
2022-
"python-dotenv >= 1.0.1",
20232019
{{#if (eq modelProvider "Bedrock")}}
20242020
"langchain-aws >= 1.0.0",
20252021
{{/if}}
@@ -2261,7 +2257,6 @@ dependencies = [
22612257
"openai-agents >= 0.4.2",
22622258
"bedrock-agentcore >= 1.0.3",
22632259
"botocore[crt] >= 1.35.0",
2264-
"python-dotenv >= 1.0.1",
22652260
]
22662261
22672262
[tool.hatch.build.targets.wheel]
@@ -2592,14 +2587,13 @@ description = "AgentCore Runtime Application using Strands SDK"
25922587
readme = "README.md"
25932588
requires-python = ">=3.10"
25942589
dependencies = [
2595-
"anthropic >= 0.30.0",
2596-
"aws-opentelemetry-distro",
2590+
{{#if (eq modelProvider "Anthropic")}}"anthropic >= 0.30.0",
2591+
{{/if}}"aws-opentelemetry-distro",
25972592
"bedrock-agentcore >= 1.0.3",
25982593
"botocore[crt] >= 1.35.0",
2599-
"google-genai >= 1.0.0",
2600-
"openai >= 1.0.0",
2601-
"python-dotenv >= 1.0.1",
2602-
"strands-agents >= 1.13.0",
2594+
{{#if (eq modelProvider "Gemini")}}"google-genai >= 1.0.0",
2595+
{{/if}}{{#if (eq modelProvider "OpenAI")}}"openai >= 1.0.0",
2596+
{{/if}}"strands-agents >= 1.13.0",
26032597
]
26042598
26052599
[tool.hatch.build.targets.wheel]

src/assets/python/autogen/base/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ dependencies = [
1515
"opentelemetry-exporter-otlp",
1616
"bedrock-agentcore >= 1.0.3",
1717
"botocore[crt] >= 1.35.0",
18-
"python-dotenv >= 1.0.1",
1918
"tiktoken",
2019
{{#if (eq modelProvider "Bedrock")}}
2120
"autogen-ext[anthropic] >= 0.7.5",

src/assets/python/crewai/base/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ dependencies = [
1313
"opentelemetry-exporter-otlp",
1414
"bedrock-agentcore >= 1.0.3",
1515
"botocore[crt] >= 1.35.0",
16-
"python-dotenv >= 1.0.1",
1716
{{#if (eq modelProvider "Bedrock")}}
1817
"crewai[tools,bedrock] >= 1.3.0",
1918
{{/if}}

src/assets/python/googleadk/base/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dependencies = [
1414
"google-adk >= 1.17.0",
1515
"bedrock-agentcore >= 1.0.3",
1616
"botocore[crt] >= 1.35.0",
17-
"python-dotenv >= 1.0.1",
1817
]
1918

2019
[tool.hatch.build.targets.wheel]

src/assets/python/langchain_langgraph/base/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ dependencies = [
1818
"tiktoken == 0.11.0",
1919
"bedrock-agentcore >= 1.0.3",
2020
"botocore[crt] >= 1.35.0",
21-
"python-dotenv >= 1.0.1",
2221
{{#if (eq modelProvider "Bedrock")}}
2322
"langchain-aws >= 1.0.0",
2423
{{/if}}

src/assets/python/openaiagents/base/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ dependencies = [
1313
"openai-agents >= 0.4.2",
1414
"bedrock-agentcore >= 1.0.3",
1515
"botocore[crt] >= 1.35.0",
16-
"python-dotenv >= 1.0.1",
1716
]
1817

1918
[tool.hatch.build.targets.wheel]

src/assets/python/strands/base/pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ description = "AgentCore Runtime Application using Strands SDK"
99
readme = "README.md"
1010
requires-python = ">=3.10"
1111
dependencies = [
12-
"anthropic >= 0.30.0",
13-
"aws-opentelemetry-distro",
12+
{{#if (eq modelProvider "Anthropic")}}"anthropic >= 0.30.0",
13+
{{/if}}"aws-opentelemetry-distro",
1414
"bedrock-agentcore >= 1.0.3",
1515
"botocore[crt] >= 1.35.0",
16-
"google-genai >= 1.0.0",
17-
"openai >= 1.0.0",
18-
"python-dotenv >= 1.0.1",
19-
"strands-agents >= 1.13.0",
16+
{{#if (eq modelProvider "Gemini")}}"google-genai >= 1.0.0",
17+
{{/if}}{{#if (eq modelProvider "OpenAI")}}"openai >= 1.0.0",
18+
{{/if}}"strands-agents >= 1.13.0",
2019
]
2120

2221
[tool.hatch.build.targets.wheel]

0 commit comments

Comments
 (0)