Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion requirements-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pytest-localserver
pytest-timeout
pytest-watch
jsonschema
executing
asttokens
responses
pysocks
Expand Down
4 changes: 4 additions & 0 deletions scripts/populate_tox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"djangorestframework",
"pytest-django",
"Werkzeug",
"executing",
],
">=2.0": ["channels[daphne]"],
">=2.2,<3.1": ["six"],
Expand Down Expand Up @@ -331,6 +332,9 @@
},
"pure_eval": {
"package": "pure_eval",
"deps": {
"*": ["executing"],
},
"num_versions": 2,
},
"pydantic_ai": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/populate_tox/tox.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ deps =

# === Common ===
py3.8-common: hypothesis
common: executing
common: pytest-asyncio
common: httpcore[asyncio]
# See https://github.com/pytest-dev/pytest/issues/9621
Expand All @@ -97,6 +98,7 @@ deps =
# for justification of the upper bound on pytest
{py3.6,py3.7}-gevent: pytest<7.0.0
{py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest
gevent: executing
gevent: pytest-asyncio
gevent: setuptools<82
{py3.10,py3.11}-gevent: zope.event<5.0.0
Expand Down
4 changes: 2 additions & 2 deletions sentry_sdk/integrations/executing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from sentry_sdk._types import Event, Hint

try:
import executing
from executing import Source
except ImportError:
raise DidNotEnable("executing is not installed")

Expand Down Expand Up @@ -60,7 +60,7 @@ def add_executing_info(

for sentry_frame, tb in zip(sentry_frames, tbs):
frame = tb.tb_frame
source = executing.Source.for_frame(frame)
source = Source.for_frame(frame)
sentry_frame["function"] = source.code_qualname(frame.f_code)

return event
4 changes: 4 additions & 0 deletions tox.ini

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading