Skip to content

docs(python): Update docs for sentry-python 3.0 major release - #19435

Draft
ericapisani wants to merge 6 commits into
masterfrom
py-1931-3.0-major-updates
Draft

ericapisani wants to merge 6 commits into
masterfrom
py-1931-3.0-major-updates

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Update Python SDK documentation to reflect changes shipping in sentry-python 3.0:

  • Raise minimum dependency versions across integrations (aiohttp, Celery, Django, Falcon, FastAPI, Flask, huey, Litestar, MCP, Pyramid, PySpark, Quart, redis-py, RQ, Sanic, SQLAlchemy, Starlette, trytond) and drop Python 3.6 support
  • Remove trace_lifecycle option docs since stream mode is now the only mode; simplify streamed-spans pages and migration guide accordingly
  • Remove deprecated enable_logs and stream_gen_ai_spans options and related agent-tracing docs
  • Update auto-enabled integration status in the integrations index and default-integrations tables
  • Add a new 2.x-to-3.x migration guide

Fixes PY-1931
Fixes getsentry/sentry-python#5007

DESCRIBE YOUR PR

Tell us what you're changing and why. If your PR resolves an issue, please link it so it closes automatically.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

Update Python SDK documentation to reflect changes shipping in
sentry-python 3.0:

- Raise minimum dependency versions across integrations (aiohttp,
  Celery, Django, Falcon, FastAPI, Flask, huey, Litestar, MCP,
  Pyramid, PySpark, Quart, redis-py, RQ, Sanic, SQLAlchemy,
  Starlette, trytond) and drop Python 3.6 support
- Remove `trace_lifecycle` option docs since stream mode is now the
  only mode; simplify streamed-spans pages and migration guide
  accordingly
- Remove deprecated `enable_logs` and `stream_gen_ai_spans` options
  and related agent-tracing docs
- Update auto-enabled integration status in the integrations index
  and default-integrations tables
- Add a new 2.x-to-3.x migration guide

Fixes PY-1931
Fixes getsentry/sentry-python#5007
@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Oct 7, 2026 6:02pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Oct 7, 2026 6:02pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Sep 15, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 15, 2026 17:38
@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown

PY-1931

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

⚠️ Internal Links Missing Trailing Slashes

next.config.ts sets trailingSlash: true, so these links are served a 308 redirect before the page loads.

Found 1 link(s) in files changed by this PR

Run pnpm lint:trailing-slash:fix to fix these automatically.

File Line Current Link Should Be
docs/platforms/python/profiling/index.mdx 88 /tracing/streamed-spans /tracing/streamed-spans/

Each redirect hop loses ~15% of SEO link equity and adds latency for users.

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – sentry-docs — 43a0bf63 Deployed Oct 7, 2026 by vercel[bot]
Preview – develop-docs — b8298f2a Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure docs are up-to-date

1 participant