← Back to Pull requests

Update sentry-sdk requirement from >=2.75 to >=3.0.1 #726

Closed
unknown closed this pull request without merging on Nov 29, 2026 15:17 UTC
View on GitHub
unknown unknown commented on Nov 29, 2026 06:55 UTC
Author

Updates the requirements on sentry-sdk to permit the latest version.
<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>3.0.1</h2>
<h3>New Features ✨</h3>
<ul>
<li>Coding agents that set up Sentry now get a one-line note when tracing is off or the app sends no logs. The note points to <code>SETUP_CHECKLIST.md</code>, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with <code>SENTRY_AGENT_HINTS=0</code> or with <code>_experiments={&quot;agent_setup_complete&quot;: True}</code> in <code>sentry_sdk.init()</code>. by <a href="https://github.com/wedamija"><code>@​wedamija</code></a>, <a href="https://github.com/claude"><code>@​claude</code></a> and <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/8269">#8269</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<ul>
<li>Avoid double span exit with agents 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/8394">#8394</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Deps</h4>
<ul>
<li>Update github workflows by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/getsentry/sentry-python/pull/8332">#8332</a></li>
<li>Lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/getsentry/sentry-python/pull/8345">#8345</a></li>
</ul>
</blockquote>
</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>3.0.1</h2>
<h3>New Features ✨</h3>
<ul>
<li>Coding agents that set up Sentry now get a one-line note when tracing is off or the app sends no logs. The note points to <code>SETUP_CHECKLIST.md</code>, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with <code>SENTRY_AGENT_HINTS=0</code> or with <code>_experiments={&quot;agent_setup_complete&quot;: True}</code> in <code>sentry_sdk.init()</code>. by <a href="https://github.com/wedamija"><code>@​wedamija</code></a>, <a href="https://github.com/claude"><code>@​claude</code></a> and <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/8269">#8269</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<ul>
<li>Avoid double span exit with agents 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/8394">#8394</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Deps</h4>
<ul>
<li>Update github workflows by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/getsentry/sentry-python/pull/8332">#8332</a></li>
<li>Lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/getsentry/sentry-python/pull/8345">#8345</a></li>
</ul>
<h2>3.0.0</h2>
<p>New major release of the Python SDK is out now!</p>
<p>This release brings:</p>
<ul>
<li>✨ Span streaming by default with streamlined API.</li>
<li>🕶️ Fine-grained data collection controls replace the single <code>send_default_pii</code> option.</li>
<li>☁️ Many improvements to our AWS Lambda instrumentation.</li>
<li>And more!</li>
</ul>
<p><strong>3.0 contains breaking changes.</strong> Looking to migrate?</p>
<ul>
<li>Check out our <a href="https://docs.sentry.io/platforms/python/migration/2.x-to-3.x">migration guide</a> for the most common migration patterns.</li>
<li>Check out the <a href="https://github.com/getsentry/sentry-python/blob/master/MIGRATION_GUIDE.md#sentry-sdk-30-migration-guide">full list of changes</a>.</li>
</ul>
<h3>Issues? Questions?</h3>
<p>Let us know:</p>
<ul>
<li><a href="https://github.com/getsentry/sentry-python/issues">GitHub</a></li>
<li><a href="https://discord.com/invite/Ww9hbqr">Discord</a></li>
</ul>
<h2>3.0.0rc1</h2>
<p>This is a release candidate of the next Python SDK major, to be released in November 2026.</p>
<p>Want to give it a spin? Be our guest and <a href="https://github.com/getsentry/sentry-python/discussions">let us know</a> how it went!</p>
<h3>✨ Notable Changes</h3>
<ul>
<li>Say goodbye to transactions: span streaming is now the default tracing model</li>
<li>The fine-grained <code>data_collection</code> supersedes the flat <code>send_default_pii</code></li>
</ul>
<h3>🗞️ Resources</h3>
<ul>
<li><a href="https://docs.sentry.io/platforms/python/migration/2.x-to-3.x">2.x to 3.x migration guide</a></li>
<li><a href="https://github.com/getsentry/sentry-python/blob/major/3.0/MIGRATION_GUIDE.md">detailed changelog</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/getsentry/sentry-python/commit/3fe19ff65e47f8163e498b77cdf8e841686d725a"><code>3fe19ff</code></a> release: 3.0.1</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/34e29c8ebe69f347d5137478a194ee5c38918780"><code>34e29c8</code></a> feat: Point coding agents to a setup checklist (<a href="https://redirect.github.com/getsentry/sentry-python/issues/8269">#8269</a>)</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/ac6aecfb66ecb3367d7a2f4ac40ab5dd19009281"><code>ac6aecf</code></a> fix: Avoid double span exit with agents (<a href="https://redirect.github.com/getsentry/sentry-python/issues/8394">#8394</a>)</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/8842a6e05b01604108d1ea05aa9ab7580464e572"><code>8842a6e</code></a> chore(deps): update github workflows (<a href="https://redirect.github.com/getsentry/sentry-python/issues/8332">#8332</a>)</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/f35493f93f9cd918722158a7aa066d78abf64b39"><code>f35493f</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/getsentry/sentry-python/issues/8345">#8345</a>)</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/74c4ca8a0134f35dcd691d7197428e17f708bdce"><code>74c4ca8</code></a> ref(django): Remove dead Django &lt; 1.7 guard in patch_templates (<a href="https://redirect.github.com/getsentry/sentry-python/issues/8347">#8347</a>)</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/3069315bd6bb2c760001d253a7831805892e3300"><code>3069315</code></a> Merge commit 'cf984b15a3d7d6c96b22d8f572d63ff8777eb418'</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/cf984b15a3d7d6c96b22d8f572d63ff8777eb418"><code>cf984b1</code></a> Update changelog</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/0db3faa3c58723ffc9bdebdec6d18b14feb65169"><code>0db3faa</code></a> release: 3.0.0</li>
<li><a href="https://github.com/getsentry/sentry-python/commit/f532f46faeccabffacfbef12ab359d891147472f"><code>f532f46</code></a> Merge branch 'master' into major/3.0</li>
<li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/2.75.0...3.0.1">compare view</a></li>
</ul>
</details>
<br />

Diff: 650 lines (+487 / -163) across 8 files Reviewer: codingjoe Review duration: 502m
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.57) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
0.57
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.388
Shallow Review Depth shallow_review_depth
0.289
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #726"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 57% (MEDIUM) · Higher = larger blast radius
57%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 22.5% · Safe to merge
22.5%