Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

Most of the push_scope usages in test_basics.py need to stay, as
they test functionality specific to push_scope.

However, in test_scope_event_processor_order, the push_scope can
be replaced with new_scope. We make this replacement here.

Ref: #3345

@szokeasaurusrex szokeasaurusrex linked an issue Jul 26, 2024 that may be closed by this pull request
Most of the `push_scope` usages in `test_basics.py` need to stay, as
they test functionality specific to `push_scope`.

However, in `test_scope_event_processor_order`, the `push_scope` can
be replaced with `new_scope`. We make this replacement here.

Ref: #3345
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/configure-scope-3-deprecation branch from 6ad6b96 to 6f11f50 Compare July 26, 2024 11:57
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/push_scope-0 branch from 0b60ace to 20ed5b7 Compare July 26, 2024 11:57
Base automatically changed from szokeasaurusrex/configure-scope-3-deprecation to master July 26, 2024 13:27
@szokeasaurusrex szokeasaurusrex merged commit 20ed5b7 into master Jul 26, 2024
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/push_scope-0 branch July 26, 2024 13:27
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
Most of the `push_scope` usages in `test_basics.py` need to stay, as
they test functionality specific to `push_scope`.

However, in `test_scope_event_processor_order`, the `push_scope` can
be replaced with `new_scope`. We make this replacement here.

Ref: getsentry#3345
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.

Stop using sentry_sdk.push_scope in SDK

4 participants