-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate sentry_sdk.push_scope
#3347
Comments
This was referenced Jul 25, 2024
szokeasaurusrex
added a commit
to getsentry/sentry
that referenced
this issue
Jul 26, 2024
`sentry_sdk.push_scope` is soft-deprecated, and will soon be hard- deprecated (see [sentry-python#3347](getsentry/sentry-python#3347)), so replace the `push_scope` calls with appropriate new API. Here, we use `sentry_sdk.new_scope`, since we are setting tags for a `capture_message` call. Closes #74938
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Although `push_scope` was meant to be deprecated since Sentry SDK 2.0.0, calling `push_scope` did not raise a deprecation warning. Now, it does. Fixes #3347
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Although `push_scope` was meant to be deprecated since Sentry SDK 2.0.0, calling `push_scope` did not raise a deprecation warning. Now, it does. Fixes #3347
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Although `push_scope` was meant to be deprecated since Sentry SDK 2.0.0, calling `push_scope` did not raise a deprecation warning. Now, it does. Fixes #3347
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Although `push_scope` was meant to be deprecated since Sentry SDK 2.0.0, calling `push_scope` did not raise a deprecation warning. Now, it does. Fixes #3347
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
…y#3355) Although `push_scope` was meant to be deprecated since Sentry SDK 2.0.0, calling `push_scope` did not raise a deprecation warning. Now, it does. Fixes getsentry#3347
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling
sentry_sdk.push_scope
should emit aDeprecationWarning
. Add a test to verify this behaviorThe text was updated successfully, but these errors were encountered: