Skip to content

sentry_sdk.configure_scope is deprecated #181

@hugovk

Description

@hugovk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions