Bump sentry-sdk from 2.59.0 to 2.60.0 in /backend (#1715)

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.59.0 to 2.60.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's
releases</a>.</em></p>
<blockquote>
<h2>2.60.0</h2>
<p>Adds a new <code>stream_gen_ai_spans</code> option that controls how
<code>gen_ai</code> spans are
sent to Sentry. When set, the SDK extracts all <code>gen_ai</code> spans
out of a
transaction and sends them as v2 envelope items.</p>
<p>Enable this option if <code>gen_ai</code> spans are being dropped
because the transaction payload exceeds size limits.</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(<br />
dsn='https://<a
href="mailto:examplePublicKey@o0.ingest.sentry.io">examplePublicKey@o0.ingest.sentry.io</a>/0',<br
/>
stream_gen_ai_spans=True,<br />
)<br />
</code></pre></p>
<h3>New Features </h3>
<ul>
<li>(asyncpg) Add cursor span support via BaseCursor method patching by
<a href="https://github.com/ericapisani"><code>@​ericapisani</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6252">#6252</a></li>
<li>(integrations) Pass along the conversation ID for openai
<code>responses</code> calls by <a
href="https://github.com/constantinius"><code>@​constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6199">#6199</a></li>
<li>(wsgi,asgi) Introduce substitute values for filtered fields in
span-streaming mode by <a
href="https://github.com/ericapisani"><code>@​ericapisani</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6178">#6178</a></li>
<li>Remove truncation when <code>stream_gen_ai_spans</code> is enabled
by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6260">#6260</a></li>
<li>Add option to send GenAI spans in the new span format by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6079">#6079</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Openai</h4>
<ul>
<li>Guard against <code>choices=None</code> by <a
href="https://github.com/cla7aye15I4nd"><code>@​cla7aye15I4nd</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6216">#6216</a></li>
<li>Stop setting transaction status when child span fails by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6192">#6192</a></li>
<li>Only finish relevant spans in Responses patches by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6191">#6191</a></li>
<li>Only finish relevant spans in Chat Completions patches by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6190">#6190</a></li>
</ul>
<h4>Other</h4>
<ul>
<li>(stdlib) Instrument response body read for chunked HTTP responses by
<a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6202">#6202</a></li>
<li>(typing) Add <code>@sentry_sdk.traces.trace</code> overloads to fix
typing by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6236">#6236</a></li>
<li>Use proto version 2 to fix backfilled user agent and IP by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6256">#6256</a></li>
<li>Make sure <code>http.server</code> spans are segments by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6230">#6230</a></li>
<li>Handle mypy 2.0 related failures by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6218">#6218</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Django</h4>
<ul>
<li>Check transaction annotations on transaction events by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6251">#6251</a></li>
<li>Reload middleware on test teardown by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6249">#6249</a></li>
</ul>
<h4>Openai</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>2.60.0</h2>
<p>Adds a new <code>stream_gen_ai_spans</code> option that controls how
<code>gen_ai</code> spans are
sent to Sentry. When set, the SDK extracts all <code>gen_ai</code> spans
out of a
transaction and sends them as v2 envelope items.</p>
<p>Enable this option if <code>gen_ai</code> spans are being dropped
because the transaction payload exceeds size limits.</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(<br />
dsn='https://<a
href="mailto:examplePublicKey@o0.ingest.sentry.io">examplePublicKey@o0.ingest.sentry.io</a>/0',<br
/>
stream_gen_ai_spans=True,<br />
)<br />
</code></pre></p>
<h3>New Features </h3>
<ul>
<li>(asyncpg) Add cursor span support via BaseCursor method patching by
<a href="https://github.com/ericapisani"><code>@​ericapisani</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6252">#6252</a></li>
<li>(integrations) Pass along the conversation ID for openai
<code>responses</code> calls by <a
href="https://github.com/constantinius"><code>@​constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6199">#6199</a></li>
<li>(wsgi,asgi) Introduce substitute values for filtered fields in
span-streaming mode by <a
href="https://github.com/ericapisani"><code>@​ericapisani</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6178">#6178</a></li>
<li>Remove truncation when <code>stream_gen_ai_spans</code> is enabled
by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6260">#6260</a></li>
<li>Add option to send GenAI spans in the new span format by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6079">#6079</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Openai</h4>
<ul>
<li>Guard against <code>choices=None</code> by <a
href="https://github.com/cla7aye15I4nd"><code>@​cla7aye15I4nd</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6216">#6216</a></li>
<li>Stop setting transaction status when child span fails by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6192">#6192</a></li>
<li>Only finish relevant spans in Responses patches by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6191">#6191</a></li>
<li>Only finish relevant spans in Chat Completions patches by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6190">#6190</a></li>
</ul>
<h4>Other</h4>
<ul>
<li>(stdlib) Instrument response body read for chunked HTTP responses by
<a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6202">#6202</a></li>
<li>(typing) Add <code>@sentry_sdk.traces.trace</code> overloads to fix
typing by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6236">#6236</a></li>
<li>Use proto version 2 to fix backfilled user agent and IP by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6256">#6256</a></li>
<li>Make sure <code>http.server</code> spans are segments by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6230">#6230</a></li>
<li>Handle mypy 2.0 related failures by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6218">#6218</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Django</h4>
<ul>
<li>Check transaction annotations on transaction events by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6251">#6251</a></li>
<li>Reload middleware on test teardown by <a
href="https://github.com/alexander-alderman-webb"><code>@​alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6249">#6249</a></li>
</ul>
<h4>Openai</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e30caaa977"><code>e30caaa</code></a>
Update CHANGELOG.md</li>
<li><a
href="d31ac85a92"><code>d31ac85</code></a>
release: 2.60.0</li>
<li><a
href="fcb93051c5"><code>fcb9305</code></a>
feat: Remove truncation when <code>stream_gen_ai_spans</code> is enabled
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6260">#6260</a>)</li>
<li><a
href="253a4d42b1"><code>253a4d4</code></a>
feat: Add option to send GenAI spans in the new span format (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6079">#6079</a>)</li>
<li><a
href="619d803d82"><code>619d803</code></a>
test(langchain): Inline global state (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6261">#6261</a>)</li>
<li><a
href="f92c8036a8"><code>f92c803</code></a>
Revert &quot;fix: Work around compromised transitive dependency (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6257">#6257</a>)&quot;
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6262">#6262</a>)</li>
<li><a
href="7a303dcbf0"><code>7a303dc</code></a>
Add option to drop scrubbed user IP addresses (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6241">#6241</a>)</li>
<li><a
href="edaa6d6d14"><code>edaa6d6</code></a>
feat(pymongo): Add span streaming support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6253">#6253</a>)</li>
<li><a
href="0e47eadede"><code>0e47ead</code></a>
feat(asyncpg): Add cursor span support via BaseCursor method patching
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6252">#6252</a>)</li>
<li><a
href="17cc8c7b2c"><code>17cc8c7</code></a>
fix: Use proto version 2 to fix backfilled user agent and IP (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6256">#6256</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.59.0...2.60.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=uv&previous-version=2.59.0&new-version=2.60.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-06-16 04:12:38 +00:00
committed by GitHub
parent d9c06d0d5d
commit 0de812c8b9
2 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ dependencies = [
"pyjwt==2.13.0",
"python-dotenv==1.2.2",
"python-multipart==0.0.27",
"sentry-sdk==2.59.0",
"sentry-sdk==2.60.0",
"sqlalchemy==2.0.44",
"sqlalchemy-stubs==0.4",
"starlette==1.0.1",

8
backend/uv.lock generated
View File

@@ -436,7 +436,7 @@ requires-dist = [
{ name = "pyjwt", specifier = "==2.13.0" },
{ name = "python-dotenv", specifier = "==1.2.2" },
{ name = "python-multipart", specifier = "==0.0.27" },
{ name = "sentry-sdk", specifier = "==2.59.0" },
{ name = "sentry-sdk", specifier = "==2.60.0" },
{ name = "sqlalchemy", specifier = "==2.0.44" },
{ name = "sqlalchemy-stubs", specifier = "==0.4" },
{ name = "starlette", specifier = "==1.0.1" },
@@ -1611,15 +1611,15 @@ wheels = [
[[package]]
name = "sentry-sdk"
version = "2.59.0"
version = "2.60.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "certifi" },
{ name = "urllib3" },
]
sdist = { url = "https://files.pythonhosted.org/packages/65/e0/9bf5e5fc7442b10880f3ec0eff0ef4208b84a099606f343ec4f5445227fb/sentry_sdk-2.59.0.tar.gz", hash = "sha256:cd265808ef8bf3f3edf69b527c0a0b2b6b1322762679e55b8987db2e9584aec1", size = 447331, upload-time = "2026-05-04T12:19:06.538Z" }
sdist = { url = "https://files.pythonhosted.org/packages/54/a2/2e6c090db384cc515069f4f85542bd5baf6786852073020ea73d4a76d3ea/sentry_sdk-2.60.0.tar.gz", hash = "sha256:0bd25e54e78ca02d0be512529fa644bbbf9e8470d7b26371294012d4ca93c978", size = 452946, upload-time = "2026-05-13T13:34:52.516Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/bf/00/b8cc413748fb6383d1582e7cda51314f99743351c462a92dc690d5b5853b/sentry_sdk-2.59.0-py2.py3-none-any.whl", hash = "sha256:abcf65ee9a9d9cdebf9ad369782408ecca9c1c792686ef06ba34f5ab233527fe", size = 468432, upload-time = "2026-05-04T12:19:04.741Z" },
{ url = "https://files.pythonhosted.org/packages/29/41/f2b800b7f12a05dd48c2a6280d4dd812d1425fc66ed3fe3fd99420c41d1a/sentry_sdk-2.60.0-py3-none-any.whl", hash = "sha256:28a536c03291c8bcb363cf35c611b32738ec118ff64d8d6383b096448ac4c803", size = 475616, upload-time = "2026-05-13T13:34:50.259Z" },
]
[[package]]