Skip to content

Commit 6cd3d4f

Browse files
fix: upgrade ddtrace to v3+ for Python 3.13 profiling compatibility
ddtrace v2.x profiling stack collector references _PyThread_CurrentExceptions which was removed in CPython 3.13. This causes profiling to silently fail (tracing works but profiles are never sent to Datadog). Upgrading to ddtrace>=3,<5 fixes Python 3.13 profiling support. Co-Authored-By: gl_anatolii.yatsuk <gl_anatolii.yatsuk@airbyte.io>
1 parent ee78c54 commit 6cd3d4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN pip install dist/*.whl
2222

2323
# Install ddtrace for Datadog APM and memory profiling support.
2424
# This is a no-op unless DD_PROFILING_ENABLED or similar env vars are set at runtime.
25-
RUN pip install "ddtrace>=2.16,<3"
25+
RUN pip install "ddtrace>=3,<5"
2626

2727
# Recreate the original structure
2828
RUN mkdir -p source_declarative_manifest \

0 commit comments

Comments
 (0)