fix: Update boto3 and dependencies to latest versions - autoinstrumentation Datadog #4986
+21
−21
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.
This pull request updates the version of boto3 and its dependencies to address a startup bug in the Datadog tracing library. By resolving compatibility issues, it ensures proper initialization and functionality of the tracing features in environments relying on the updated boto3 versions.
Evidence:
[2024-12-04 22:38:36] [DEBUG] datadog.autoinstrumentation(pid: 12): Found incompatible packages: {'boto3': '1.28.78'}.
[2024-12-04 22:38:36] [DEBUG] datadog.autoinstrumentation(pid: 12): Aborting dd-trace-py instrumentation.
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
Upgraded
boto3
to version 1.35.95 along with related dependencies such asbotocore
ands3transfer
. Updatedpython-versions
constraints to align with the new requirements. This ensures compatibility with the latest AWS SDK features and improvements.How did you test this code?
Tests confirmed the updates to boto3 and dependencies do not introduce breaking changes. Unit, integration, and production-like environment tests ensured compatibility and stability, with no regressions or unexpected behavior detected.