Browse Source

deps: Bump `sentry-sdk` to `2.0.0rc5` (#68613)

Dogfooding the (hopefully) last Python SDK release candidate before 2.0
is released.

No major changes compared to `rc4` in this one; just added some recent
features/bugfixes from the main branch.

---------

Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
Ivana Kellyerova 11 months ago
parent
commit
64ecab509c

+ 1 - 1
requirements-base.txt

@@ -67,7 +67,7 @@ sentry-kafka-schemas>=0.1.65
 sentry-ophio==0.2.6
 sentry-redis-tools>=0.1.7
 sentry-relay>=0.8.56
-sentry-sdk>=2.0.0rc4
+sentry-sdk>=2.0.0rc5
 snuba-sdk>=2.0.31
 simplejson>=3.17.6
 sqlparse>=0.4.4

+ 1 - 1
requirements-dev-frozen.txt

@@ -183,7 +183,7 @@ sentry-kafka-schemas==0.1.65
 sentry-ophio==0.2.6
 sentry-redis-tools==0.1.7
 sentry-relay==0.8.56
-sentry-sdk==2.0.0rc4
+sentry-sdk==2.0.0rc5
 sentry-usage-accountant==0.0.10
 simplejson==3.17.6
 six==1.16.0

+ 1 - 1
requirements-frozen.txt

@@ -123,7 +123,7 @@ sentry-kafka-schemas==0.1.65
 sentry-ophio==0.2.6
 sentry-redis-tools==0.1.7
 sentry-relay==0.8.56
-sentry-sdk==2.0.0rc4
+sentry-sdk==2.0.0rc5
 sentry-usage-accountant==0.0.10
 simplejson==3.17.6
 six==1.16.0

+ 1 - 1
src/sentry/metrics/minimetrics.py

@@ -100,7 +100,7 @@ def patch_sentry_sdk():
     MetricsAggregator._emit = patched_emit  # type: ignore[method-assign]
 
 
-def before_emit_metric(key: str, tags: dict[str, Any]) -> bool:
+def before_emit_metric(key: str, value: int | float | str, unit: str, tags: dict[str, Any]) -> bool:
     if not options.get("delightful_metrics.enable_common_tags"):
         tags.pop("transaction", None)
         tags.pop("release", None)