Browse Source

fix: Bump sentry-sdk to 0.19.4 (#22557)

Markus Unterwaditzer 4 years ago
parent
commit
8eff02f656
2 changed files with 10 additions and 13 deletions
  1. 1 1
      requirements-base.txt
  2. 9 12
      src/sentry/conf/server.py

+ 1 - 1
requirements-base.txt

@@ -52,7 +52,7 @@ rfc3339-validator==0.1.2
 rfc3986-validator==0.1.1
 # [end] jsonschema format validators
 sentry-relay>=0.8.1,<0.9.0
-sentry-sdk>=0.17.7,<0.18.0
+sentry-sdk>=0.19.4,<0.20.0
 simplejson>=3.11.0,<3.12.0
 six>=1.11.0,<1.12.0
 sqlparse>=0.2.0,<0.3.0

+ 9 - 12
src/sentry/conf/server.py

@@ -1665,18 +1665,15 @@ SENTRY_DEFAULT_INTEGRATIONS = (
 )
 
 
-def get_sentry_sdk_config():
-    return {
-        "release": sentry.__build__,
-        "environment": ENVIRONMENT,
-        "in_app_include": ["sentry", "sentry_plugins"],
-        "_experiments": {"smart_transaction_trimming": True},
-        "debug": True,
-        "send_default_pii": True,
-    }
-
-
-SENTRY_SDK_CONFIG = get_sentry_sdk_config()
+SENTRY_SDK_CONFIG = {
+    "release": sentry.__build__,
+    "environment": ENVIRONMENT,
+    "in_app_include": ["sentry", "sentry_plugins"],
+    "_experiments": {"smart_transaction_trimming": True},
+    "debug": True,
+    "send_default_pii": True,
+    "auto_enabling_integrations": False,
+}
 
 # Callable to bind additional context for the Sentry SDK
 #