fix(templates): bump aws-opentelemetry-distro to ~=0.18.0 and normalize python deps - #2162
Merged
Merged
Conversation
…ze python deps to ~=
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Small, focused change that:
- Normalizes four Python template
pyproject.tomlfiles to use~=(compatible-release) pins, matching the convention already used inpython-mcpandstrands-http-python. - Bumps
aws-opentelemetry-distrofrom~= 0.17.0→~= 0.18.0instrands-http-python. The 0.18.0 release notes look like normal feature/fix work — no obvious breaking changes.
Sanity-checked the new pins against PyPI:
bedrock-agentcore 1.9.1requiresboto3 >= 1.43.0andbotocore >= 1.43.0, so the bump from>= 1.35.0→~= 1.43.0inbedrock-agent-proxy-python/pyproject.tomlactually corrects a previously inaccurate constraint.strands-agents 1.15.0remains compatible withbedrock-agentcore ~= 1.9.1.- All pinned versions (
aws-opentelemetry-distro 0.18.0,bedrock-agentcore 1.9.1,boto3/botocore 1.43.x,strands-agents 1.15.0) exist on PyPI.
The lingering 0.17.0-aws strings elsewhere in the repo are inside handlers/eval/ondemand/__fixtures__/*.json (captured telemetry payloads used as test data), not template pins, so no changes are needed there.
No tests or telemetry touched — appropriate for a dependency metadata change. Nothing blocking.
Hweinstock
marked this pull request as ready for review
September 1, 2026 23:23
AlexanderRichey
approved these changes
Sep 2, 2026
nborges-aws
approved these changes
Sep 2, 2026
aidandaly24
added a commit
to aidandaly24/agentcore-cli
that referenced
this pull request
Sep 2, 2026
Resolves the strands-http-python pyproject conflict: keeps upstream's aws-opentelemetry-distro 0.18.0 bump (aws#2162) alongside this branch's provider-extras rewrite. The conditional anthropic dep is dropped with the rest of the per-provider deps — "Anthropic" is unreachable, since scaffolding accepts only modelProvider: z.enum(["Bedrock"]) and export emits Bedrock/OpenAI/Gemini/LiteLLM.
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.
Problem
This PR fixes two related problems.
Solution
Related sources
https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html
Verification
went into the console, and didn't see the data in aws/spans.