Skip to content

build(deps): Allow sentry-sdk 3.x - #820

Merged
jan-auer merged 2 commits into
mainfrom
build/sentry-sdk-3
Nov 27, 2026
Merged

jan-auer merged 2 commits into
mainfrom
build/sentry-sdk-3

Conversation

@cleptric

@cleptric cleptric commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

sentry-sdk 3.0.0 is released. The Python client now accepts it, but keeps the requirement floor at >=2.66.0. Users who have not upgraded their SDK yet do not get resolution errors. The new upper bound <4.0.0 keeps the next major version out until we test it.

In SDK 3, span streaming is the only tracing mode.

via @jan-auer.

--

View Session [Sentry]

Require sentry-sdk 3 for the Python client and drop the redundant trace_lifecycle test option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Semver Impact of This PR

This PR lands in these workspaces:

  • clients/python: 🟢 Patch (bug fixes)
📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Other Changes

  • Allow sentry-sdk 3.x by cleptric, claude and jan-auer with sentry-junior in #820

🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.71%. Comparing base (42f7cef) to head (8339238).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #820      +/-   ##
==========================================
- Coverage   91.72%   91.71%   -0.01%     
==========================================
  Files         122      122              
  Lines       24679    24679              
==========================================
- Hits        22637    22635       -2     
- Misses       2042     2044       +2     
Components Coverage Δ
Rust Backend 94.12% <ø> (ø)
Rust Client 90.69% <ø> (ø)
Python Client 91.75% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@linear-code

linear-code Bot commented Nov 24, 2026

Copy link
Copy Markdown

PY-3106

@jan-auer jan-auer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please update only uv.lock but keep the requirement floor pinned to >=2.66. We do not want to cause resolution errors for users of objectstore-client in case they haven't upgraded their SDK yet. Eventually, once we adopt new features, we'll update the floor along with a major bump.

The change in tests is fine once we bump uv.lock.

lcian pushed a commit that referenced this pull request Nov 27, 2026
Updates dependencies. Only `Cargo.lock` and `uv.lock` change, so the
public API and the declared minimum versions of `objectstore-client` and
`objectstore-types` stay the same. The lockfile still resolves to
versions compatible with the client's minimum Rust version (1.91).

Rust updates, all semver-compatible: sentry_arroyo 2.50.1, hyper 1.13,
h2 0.4.21, hickory 0.26.4, async-compression 0.4.54, zstd 0.14.5 /
zstd-sys 2.2 (libzstd 1.6.0), rdkafka-sys 4.11 (librdkafka 2.16.0), url
2.5.9, lru 0.19.2, blake3 1.8.8, ordered-float 5.5.1 and other
transitive crates. generic-array moves back to 0.14.7 because
crypto-common 0.1.7 pins it to that version.

Python updates change only `uv.lock`: prek 0.5.12 (dev tool).

Behavior changes in the server:
- **Inventory tracking metrics:** with sentry_arroyo 2.50, the inventory
tracker's Kafka producer also records Arroyo's delivery metric,
`arroyo.producer.produce_status` (tagged by status, topic and producer
name). Objectstore's own delivery callback keeps working unchanged.
- **zstd:** libzstd 1.6.0 fixes several memory-safety bugs, including
CVE-2026-124851 in streaming decompression of malformed data.

Held back:
- **gcp_auth 0.13:** `bigtable_rs` (getsentry/bigtable_rs fork at
`072cb58`) requires gcp_auth 0.12, and objectstore-service hands its
gcp_auth token provider to it. The fork has to move to 0.13 first.
- **rdkafka 0.40:** sentry_arroyo 2.50.1 requires `rdkafka <0.40`, and
the inventory tracker shares rdkafka types with it.
- **sentry-sdk 3 (Python client):** a major bump of a client dependency,
already in progress in #820.
- **ruff 0.17, mypy 2.4, pytest 9.2, pytest-cov 7, sphinx 9.2,
sentry-devenv 1.40 and other Python dev tools:** not available on the
configured index, `pypi.devinfra.sentry.io`. #824
changes the index.

The PR changes only files outside the release workspaces, so it is not
listed in any changelog.

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-Authored-By: Jan Michael Auer <1433023+jan-auer@users.noreply.github.com>
@sentry-junior sentry-junior Bot changed the title build(deps): Bump sentry-sdk to 3.0.0 build(deps): Allow sentry-sdk 3.x Nov 27, 2026
@sentry-junior
sentry-junior Bot marked this pull request as ready for review November 27, 2026 12:11
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 27, 2026 12:11
@jan-auer
jan-auer merged commit 320dedc into main Nov 27, 2026
30 checks passed
@jan-auer
jan-auer deleted the build/sentry-sdk-3 branch November 27, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants