8000 sentry_sdk.configure_scope is deprecated · Issue #181 · python/docsbuild-scripts · GitHub
[go: up one dir, main page]

Skip to content

sentry_sdk.configure_scope is deprecated #181

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

Closed
hugovk opened this issue Aug 11, 2024 · 1 comment
Closed

sentry_sdk.configure_scope is deprecated #181

hugovk opened this issue Aug 11, 2024 · 1 comment

Comments

@hugovk
Copy link
Member
hugovk commented Aug 11, 2024

build_docs.py calls deprecated sentry_sdk.configure_scope():

with sentry_sdk.configure_scope() as scope:
scope.set_tag("version", version.name)
scope.set_tag("language", language.tag)

The deprecation warning in the latest sentry-sdk 2024.7.4:

sentry_sdk.configure_scope is deprecated and will be removed in the next major version.
Please consult our migration guide to learn how to migrate to the new API:
https://docs.sentry.io/platforms/python/migration/1.x-to-2.x#scope-configuring

@hugovk
Copy link
Member Author
hugovk commented Sep 17, 2024

Fixed by #182 🚀

@hugovk hugovk closed this as completed Sep 17, 2024
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

No branches or pull requests

1 participant
0