diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index 4f757ea1..9abb8782 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -7,7 +7,7 @@ authors = [{ name = "Sentry", email = "oss@sentry.io" }] license = { file = "LICENSE.md" } requires-python = ">=3.11" dependencies = [ - "sentry-sdk>=2.66.0", + "sentry-sdk>=2.66.0,<4.0.0", "urllib3>=2.2.2", "zstandard>=0.18.0", "filetype>=1.2.0", diff --git a/clients/python/tests/test_tracing.py b/clients/python/tests/test_tracing.py index beff53e2..bd6d1bc0 100644 --- a/clients/python/tests/test_tracing.py +++ b/clients/python/tests/test_tracing.py @@ -57,7 +57,6 @@ def capture(span: SpanJSON, hint: Hint) -> SpanJSON | None: sentry_sdk.init( dsn="http://public@localhost/1", traces_sample_rate=1.0, - trace_lifecycle="stream", before_send_span=capture, transport=_NoOpTransport, ) diff --git a/uv.lock b/uv.lock index d9ce8c2c..044746f9 100644 --- a/uv.lock +++ b/uv.lock @@ -366,7 +366,7 @@ dependencies = [ requires-dist = [ { name = "filetype", specifier = ">=1.2.0" }, { name = "pyjwt", extras = ["crypto"], specifier = ">=2.10.1" }, - { name = "sentry-sdk", specifier = ">=2.66.0" }, + { name = "sentry-sdk", specifier = ">=2.66.0,<4.0.0" }, { name = "urllib3", specifier = ">=2.2.2" }, { name = "zstandard", specifier = ">=0.18.0" }, ] @@ -575,14 +575,14 @@ wheels = [ [[package]] name = "sentry-sdk" -version = "2.75.0" +version = "3.0.0" source = { registry = "https://pypi.devinfra.sentry.io/simple" } dependencies = [ { name = "certifi" }, { name = "urllib3" }, ] wheels = [ - { url = "https://pypi.devinfra.sentry.io/wheels/sentry_sdk-2.75.0-py3-none-any.whl", hash = "sha256:9a10e97de2cbd42ad7e4a6e02a0d5af19de9811eb02445077d41ba14c08e170c" }, + { url = "https://pypi.devinfra.sentry.io/wheels/sentry_sdk-3.0.0-py3-none-any.whl", hash = "sha256:22cfcdb11b494e8efa82a48edd655afdf99179df37f2ed37f18846b938455c36" }, ] [[package]]