-
Notifications
You must be signed in to change notification settings - Fork 505
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
Stop using sentry_sdk.configure_scope
in SDK
#3344
Comments
szokeasaurusrex
added a commit
that referenced
this issue
Jul 25, 2024
Use `Scope.get_isolation_scope` instead. Ref #3344
szokeasaurusrex
added a commit
that referenced
this issue
Jul 25, 2024
Use `Scope.get_isolation_scope` instead. Ref #3344
szokeasaurusrex
added a commit
that referenced
this issue
Jul 25, 2024
Replace the only `configure_scope` usage in `test_client.py`, which can be replaced without defeating the test's purpose, with `Scope.get_isolation_scope`. The other `configure_scope` calls are made either from a test which specifically tests `configure_scope` or from a test which is always skipped. Closes: #3344
This was
linked to
pull requests
Jul 26, 2024
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Use `Scope.get_isolation_scope` instead. Ref #3344
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Use `Scope.get_isolation_scope` instead. Ref #3344
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Use `Scope.get_isolation_scope` instead. Ref #3344
szokeasaurusrex
added a commit
that referenced
this issue
Jul 26, 2024
Replace the only `configure_scope` usage in `test_client.py`, which can be replaced without defeating the test's purpose, with `Scope.get_isolation_scope`. The other `configure_scope` calls are made either from a test which specifically tests `configure_scope` or from a test which is always skipped. Closes: #3344
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
Use `Scope.get_isolation_scope` instead. Ref getsentry#3344
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
Use `Scope.get_isolation_scope` instead. Ref getsentry#3344
arjennienhuis
pushed a commit
to arjennienhuis/sentry-python
that referenced
this issue
Sep 30, 2024
Replace the only `configure_scope` usage in `test_client.py`, which can be replaced without defeating the test's purpose, with `Scope.get_isolation_scope`. The other `configure_scope` calls are made either from a test which specifically tests `configure_scope` or from a test which is always skipped. Closes: getsentry#3344
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like we only use
configure_scope
in tests; all of these usages should be removed, except for those tests which exist primarily to test thatconfigure_scope
continues to work.The text was updated successfully, but these errors were encountered: