Skip to content

build(deps-dev): Update ddtrace requirement from <3.0,>=2.0 to >=2.0,<5.0 in /packages/agent-sre#867

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/packages/agent-sre/ddtrace-gte-2.0-and-lt-5.0
Open

build(deps-dev): Update ddtrace requirement from <3.0,>=2.0 to >=2.0,<5.0 in /packages/agent-sre#867
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/packages/agent-sre/ddtrace-gte-2.0-and-lt-5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on ddtrace to permit the latest version.

Release notes

Sourced from ddtrace's releases.

4.6.5

Estimated end-of-life date, accurate to within three months: 05-2027 See the support level definitions for more information.

Bug Fixes

  • CI Visibility: Fixes an issue where HTTP 429 (Too Many Requests) responses from the Datadog backend were treated as non-retriable errors, causing CI visibility data to be dropped when the backend applied rate limiting. The backend connector now retries on 429 responses and respects the X-RateLimit-Reset header when present to determine the retry delay.

  • internal: A bug preventing certain periodic threads of ddtrace (like the profile uploader) from triggering in fork-heavy applications has been fixed.

  • profiling: Fixes an issue where setting an unlimited stack size (ulimit -s unlimited) on Linux caused the stack profiler sampling thread to fail to start, resulting in empty CPU and wall-time profiles. #17132

Changelog

Sourced from ddtrace's changelog.

Changelog

Changelogs for versions not listed here can be found at https://github.com/DataDog/dd-trace-py/releases


3.8.0

New Features

  • LLM Observability: add processor capability to process span inputs and outputs. See usage documentation [here](https://docs.datadoghq.com/llm_observability/setup/sdk/python/#span-processing).
  • CI Visibility: This introduces the ability to gzip the payload when using the evp proxy setup, incurring in less network bandwith consumption.
  • Error Tracking: Introduces automatic reporting of handled exceptions. Enabling the feature will report handled exceptions to Error Tracking from the user code, the third party packages code, some specified modules or everything based on configuration. This feature can be controlled using two environment variables: - DD_ERROR_TRACKING_HANDLED_ERRORS=`allthird_party` - DD_ERROR_TRACKING_HANDLED_ERRORS_INCLUDE=`module1, module2, module3.submodule`
  • Code Security: IAST support for langchain v0.1.0 and above.
  • openai: This introduces tracing support for the OpenAI Responses endpoint.

Bug Fixes

  • tracing: Fixes an issue where truncation of span attributes longer than 25000 characters would not consistently count the size of UTF-8 multibyte characters, leading to a unicode string is too large error.

  • CI Visibility: This fix resolves an issue where the DD_CIVISIBILITY_ITR_ENABLED was not honored properly.

  • tracing: Fixes a bug in distributed tracing where pickling ddtrace.trace.Context fails in coroutines. This regression was introduced in v3.7.0.

  • CI Visibility: This fix resolves an issue where pytest-xdist would not exit with the proper status code if ATR was enabled.

  • CI Visibility: This fix resolves an issue where ddtrace pytest plugin used with xdist would report test suites as failing even when all tests pass.

  • profiling: fixed an issue in the SynchronizedSamplePool where pool could be null when calling into ddog_ArrayQueue_ functions, leading to segfaults in the uWSGI shutdown

  • Code Security: IAST: Avoid excessive filtering of stacktrace locations when finding vulnerabilities. After this change, vulnerabilities that were previously discarded will now be reported. In particular, if they were found within code in site-packages or outside of the working directory.

  • LLM Observability: Resolves an issue where spans and evaluation metrics were not being sent via Unix sockets.

  • dynamic instrumentation: prevent an exception when trying to remove a probe that did not resolve to a valid source code location.

  • kafka: This fix resolves an issue where message headers were sent to Kafka brokers that do not support them. Message headers are turned off when the Kafka server responds with UNKNOWN_SERVER_ERROR (-1).

  • code origin for spans: fixes a performance issue with exit spans.

  • profiling: improve performance of the memory profiler for large heaps. The memory profiler previously did a linear search of tracked allocations for every free, which scaled very poorly with large heaps. Switch to a fast hash map.


3.7.2

Bug Fixes

  • CI Visibility: This fix resolves an issue where the DD_CIVISIBILITY_ITR_ENABLED was not honored properly.
  • tracing: Fixes an issue where truncation of span attributes longer than 25000 characters would not consistently count the size of UTF-8 multibyte characters, leading to a unicode string is too large error.

3.7.1

Bug Fixes

... (truncated)

Commits
  • a3e4c16 fix(internal): preserve schedule on fork restart [backport 4.6] (#17247)
  • 6d3c240 fix(ci_visibility): handle rate limiting errors [backport #17170 to 4.6] (#17...
  • 00d092b chore: bump version to 4.6.5 (#17199)
  • 48b4d55 fix(profiling): fix stack sampler thread failing to start with ulimit -s unli...
  • 7321f75 ci: remove the ghost of setuptools_scm [backport 4.6] (#17145)
  • bae3a8a chore: bump version in 4.6 branch to 4.6.4 (#17097)
  • b7b4ef9 fix(llmobs): swallow LLMObsAnnotateSpanError on auto-annotation in @​llm decor...
  • 0e3eeb7 chore: bump version in 4.6 branch to 4.6.3 (#17087)
  • 8ab6ebd fix(llmobs): make EVP proxy payload and event size limits configurable [backp...
  • 0e2438e fix(llmobs): auto-annotate output for @​llm decorator [backport 4.6] (#17067)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [ddtrace](https://github.com/DataDog/dd-trace-py) to permit the latest version.
- [Release notes](https://github.com/DataDog/dd-trace-py/releases)
- [Changelog](https://github.com/DataDog/dd-trace-py/blob/main/CHANGELOG.md)
- [Commits](DataDog/dd-trace-py@v2.0.0...v4.6.5)

---
updated-dependencies:
- dependency-name: ddtrace
  dependency-version: 4.6.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 7, 2026
@github-actions github-actions bot added the agent-sre agent-sre package label Apr 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA d1b8eb2.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Welcome to the Agent Governance Toolkit! Thanks for your first pull request.
Please ensure tests pass, code follows style (ruff check), and you have signed the CLA.
See our Contributing Guide.

@github-actions github-actions bot added the size/XS Extra small PR (< 10 lines) label Apr 7, 2026
@imran-siddique
Copy link
Copy Markdown
Member

Review: NEEDS VERIFICATION 📊

Diff reviewed — widens ddtrace version range from >=2.0,<3.0 to >=2.0,<5.0 in optional [datadog] extra (packages/agent-sre/pyproject.toml). Clean diff, 2 lines changed.

Concerns:

  • This allows ddtrace 3.x and 4.x — spanning two major version jumps (latest is 4.6.5).
  • Per our anomaly detection policy: Review Dependabot version bumps for major version jumps before merging.

Before merging: Verify agent-sre Datadog integration is compatible with ddtrace 3.x/4.x. Review the ddtrace changelog for breaking changes across major versions.

All other checks pass. No dependency confusion risk (ddtrace is Datadog official APM library).

Copy link
Copy Markdown
Member

@imran-siddique imran-siddique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVED ✅ — Optional [datadog] extra. Widens range to allow ddtrace 3.x/4.x. Low blast radius (only affects users who explicitly install agent-sre[datadog]). Merge once CI green.

@imran-siddique imran-siddique enabled auto-merge (squash) April 9, 2026 16:33
@imran-siddique
Copy link
Copy Markdown
Member

@dependabot rebase

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

Labels

agent-sre agent-sre package dependencies Pull requests that update a dependency file size/XS Extra small PR (< 10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant