Update dependency sentry-sdk to >=2.43.0 #261

Merged
tobru merged 1 commit from renovate/sentry-sdk-2.x into main 2025-10-30 10:11:39 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.42.1 -> >=2.43.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.43.0

Compare Source

Various fixes & improvements
  • Pydantic AI integration (#​4906) by @​constantinius

    Enable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:

    import sentry_sdk
    from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration
    sentry_sdk.init(
        dsn="<your-dsn>",
    

Set traces_sample_rate to 1.0 to capture 100%

of transactions for tracing.

  traces_sample_rate=1.0,

Add data like inputs and responses;

see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info

  send_default_pii=True,
  integrations=[
      PydanticAIIntegration(),
  ],

)

- MCP Python SDK (#&#8203;4964) by @&#8203;constantinius

Enable the new Python MCP integration with the code snippet below:

```python
import sentry_sdk
from sentry_sdk.integrations.mcp import MCPIntegration
sentry_sdk.init(
    dsn="<your-dsn>",

### Set traces_sample_rate to 1.0 to capture 100%
### of transactions for tracing.
    traces_sample_rate=1.0,

### Add data like inputs and responses;
### see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
    send_default_pii=True,
    integrations=[
        MCPIntegration(),
    ],
)
  • fix(strawberry): Remove autodetection, always use sync extension (#​4984) by @​sentrivana

    Previously, StrawberryIntegration would try to guess whether it should install the sync or async version of itself. This auto-detection was very brittle and could lead to us auto-enabling async code in a sync context. With this change, StrawberryIntegration remains an auto-enabling integration, but it'll enable the sync version by default. If you want to enable the async version, pass the option explicitly:

    sentry_sdk.init(
    

...

  integrations=[
      StrawberryIntegration(
          async_execution=True
      ),
  ],

)

- fix(google-genai): Set agent name (#&#8203;5038) by @&#8203;constantinius
- fix(integrations): hooking into error tracing function to find out if an execute tool span should be set to error (#&#8203;4986) by @&#8203;constantinius
- fix(django): Improve logic for classifying cache hits and misses (#&#8203;5029) by @&#8203;alexander-alderman-webb
- chore(metrics): Rename \_metrics to metrics (#&#8203;5035) by @&#8203;alexander-alderman-webb
- fix(tracemetrics): Bump metric buffer size to 1k (#&#8203;5031) by @&#8203;k-fish
- fix startlette deprecation warning (#&#8203;5034) by @&#8203;DeoLeung
- build(deps): bump actions/upload-artifact from 4 to 5 (#&#8203;5032) by @&#8203;dependabot
- fix(ai): truncate messages for google genai (#&#8203;4992) by @&#8203;shellmayr
- fix(ai): add message truncation to litellm (#&#8203;4973) by @&#8203;shellmayr
- feat(langchain): Support v1 (#&#8203;4874) by @&#8203;sentrivana
- ci: Run `common` test suite on Python 3.14t (#&#8203;4969) by @&#8203;alexander-alderman-webb
- feat: Officially support 3.14 & run integration tests on 3.14 (#&#8203;4974) by @&#8203;sentrivana
- Make logger template format safer to missing kwargs (#&#8203;4981) by @&#8203;sl0thentr0py
- tests(huggingface): Support 1.0.0rc7 (#&#8203;4979) by @&#8203;alexander-alderman-webb
- feat: Enable HTTP request code origin by default (#&#8203;4967) by @&#8203;alexander-alderman-webb
- ci: Run `common` test suite on Python 3.14 (#&#8203;4896) by @&#8203;sentrivana

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `>=2.42.1` -> `>=2.43.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.42.1/2.43.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.43.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2430) [Compare Source](https://github.com/getsentry/sentry-python/compare/2.42.1...2.43.0) ##### Various fixes & improvements - Pydantic AI integration ([#&#8203;4906](https://github.com/getsentry/sentry-python/issues/4906)) by [@&#8203;constantinius](https://github.com/constantinius) Enable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls: ```python import sentry_sdk from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration sentry_sdk.init( dsn="<your-dsn>", ``` ### Set traces\_sample\_rate to 1.0 to capture 100% ### of transactions for tracing. ``` traces_sample_rate=1.0, ``` ### Add data like inputs and responses; ### see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info ``` send_default_pii=True, integrations=[ PydanticAIIntegration(), ], ``` ) ```` - MCP Python SDK (#&#8203;4964) by @&#8203;constantinius Enable the new Python MCP integration with the code snippet below: ```python import sentry_sdk from sentry_sdk.integrations.mcp import MCPIntegration sentry_sdk.init( dsn="<your-dsn>", ### Set traces_sample_rate to 1.0 to capture 100% ### of transactions for tracing. traces_sample_rate=1.0, ### Add data like inputs and responses; ### see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ MCPIntegration(), ], ) ```` - fix(strawberry): Remove autodetection, always use sync extension ([#&#8203;4984](https://github.com/getsentry/sentry-python/issues/4984)) by [@&#8203;sentrivana](https://github.com/sentrivana) Previously, `StrawberryIntegration` would try to guess whether it should install the sync or async version of itself. This auto-detection was very brittle and could lead to us auto-enabling async code in a sync context. With this change, `StrawberryIntegration` remains an auto-enabling integration, but it'll enable the sync version by default. If you want to enable the async version, pass the option explicitly: ```python sentry_sdk.init( ``` ### ... ``` integrations=[ StrawberryIntegration( async_execution=True ), ], ``` ) ``` - fix(google-genai): Set agent name (#&#8203;5038) by @&#8203;constantinius - fix(integrations): hooking into error tracing function to find out if an execute tool span should be set to error (#&#8203;4986) by @&#8203;constantinius - fix(django): Improve logic for classifying cache hits and misses (#&#8203;5029) by @&#8203;alexander-alderman-webb - chore(metrics): Rename \_metrics to metrics (#&#8203;5035) by @&#8203;alexander-alderman-webb - fix(tracemetrics): Bump metric buffer size to 1k (#&#8203;5031) by @&#8203;k-fish - fix startlette deprecation warning (#&#8203;5034) by @&#8203;DeoLeung - build(deps): bump actions/upload-artifact from 4 to 5 (#&#8203;5032) by @&#8203;dependabot - fix(ai): truncate messages for google genai (#&#8203;4992) by @&#8203;shellmayr - fix(ai): add message truncation to litellm (#&#8203;4973) by @&#8203;shellmayr - feat(langchain): Support v1 (#&#8203;4874) by @&#8203;sentrivana - ci: Run `common` test suite on Python 3.14t (#&#8203;4969) by @&#8203;alexander-alderman-webb - feat: Officially support 3.14 & run integration tests on 3.14 (#&#8203;4974) by @&#8203;sentrivana - Make logger template format safer to missing kwargs (#&#8203;4981) by @&#8203;sl0thentr0py - tests(huggingface): Support 1.0.0rc7 (#&#8203;4979) by @&#8203;alexander-alderman-webb - feat: Enable HTTP request code origin by default (#&#8203;4967) by @&#8203;alexander-alderman-webb - ci: Run `common` test suite on Python 3.14 (#&#8203;4896) by @&#8203;sentrivana ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xLjQiLCJ1cGRhdGVkSW5WZXIiOiI0MS4xLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
renovate added the
dependencies
label 2025-10-30 03:01:12 +00:00
renovate added 1 commit 2025-10-30 03:01:13 +00:00
Update dependency sentry-sdk to >=2.43.0
All checks were successful
Tests / test (push) Successful in 29s
660ea8af20
tobru merged commit 930fd21fba into main 2025-10-30 10:11:39 +00:00
tobru deleted branch renovate/sentry-sdk-2.x 2025-10-30 10:11:40 +00:00
Sign in to join this conversation.
No description provided.