Skip to content

Commit ee3f80a

Browse files
committed
Merge branch 'master' into antonpirker/anthropic-messages
2 parents 8d27539 + b19e086 commit ee3f80a

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

scripts/populate_tox/tox.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ deps =
134134
{py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest
135135
gevent: pytest-asyncio
136136
{py3.10,py3.11}-gevent: zope.event<5.0.0
137+
{py3.10,py3.11}-gevent: zope.interface<8.0
137138
138139
# === Integrations ===
139140

sentry_sdk/ai/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ def get_start_span_function():
4444
# type: () -> Callable[..., Any]
4545
current_span = sentry_sdk.get_current_span()
4646
transaction_exists = (
47-
current_span is not None and current_span.containing_transaction == current_span
47+
current_span is not None and current_span.containing_transaction is not None
4848
)
4949
return sentry_sdk.start_span if transaction_exists else sentry_sdk.start_transaction

sentry_sdk/integrations/threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def setup_once():
5252

5353
try:
5454
from django import VERSION as django_version # noqa: N811
55-
import channels # type: ignore[import-not-found]
55+
import channels # type: ignore[import-untyped]
5656

5757
channels_version = channels.__version__
5858
except ImportError:

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ deps =
358358
{py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest
359359
gevent: pytest-asyncio
360360
{py3.10,py3.11}-gevent: zope.event<5.0.0
361+
{py3.10,py3.11}-gevent: zope.interface<8.0
361362

362363
# === Integrations ===
363364

0 commit comments

Comments
 (0)