Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(trace): generic byte code injection for Python 3.10, 3.11 (AIDM-380) #11669

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2a300eb
Make bytecode injection more generic than coverage reporting
labbati Dec 11, 2024
f951204
Add doc blocks
labbati Dec 11, 2024
253a78e
Fix linting
labbati Dec 11, 2024
f27fb6a
Fix mypy errors
labbati Dec 12, 2024
e0a0c06
Be more strict with py version check to make mypy only lint 3.10
labbati Dec 12, 2024
3f4bf78
Adjust package/module paths passed to the callback only when injectio…
labbati Dec 15, 2024
6eecda5
Test package adjustment does not error
labbati Dec 15, 2024
f4c7e64
fix: small styling problems fixed && add noqa comments to allow pre_h…
dubloom Jan 14, 2025
12f25f8
fix: fix test error
dubloom Jan 15, 2025
ebb3bf1
Merge branch 'main' into labbati/generic-bytecode-injection
dubloom Jan 15, 2025
4d62ace
fix: fix injection test
dubloom Jan 17, 2025
ff03ab6
Merge branch 'labbati/generic-bytecode-injection' of github.com:DataD…
dubloom Jan 17, 2025
700255f
fix import on unsupported versions
dubloom Jan 17, 2025
c62aafe
fix: fix tests
dubloom Jan 20, 2025
364ce24
Update tests/internal/bytecode_injection/test_core.py
dubloom Jan 20, 2025
e608d46
fix: skip whole file
dubloom Jan 20, 2025
6a756e3
Merge branch 'labbati/generic-bytecode-injection' of github.com:DataD…
dubloom Jan 20, 2025
1d5fa10
fix: remove skip files
dubloom Jan 20, 2025
e725ec4
fix: stupid error
dubloom Jan 20, 2025
ee596c5
fix: sneaky hidden skipif ;)
dubloom Jan 20, 2025
b353031
fix: fix bytecode_injection/core to make tests pass (fix line adjusme…
dubloom Jan 21, 2025
1f84078
fix: #nosec was wrongly removed
dubloom Jan 24, 2025
aaedab9
chore: update changelog for version 2.19.2 (#12088)
Yun-Kim Jan 27, 2025
e3045a1
fix(profiling): fix SystemError when collecting memory profiler event…
nsrip-dd Jan 27, 2025
55767a7
chore(tracing): refactor web server integrations to use the core modu…
wconti27 Jan 28, 2025
16d5280
ci(tracer): make serverless test unrequired (#12121)
christophe-papazian Jan 28, 2025
4f0bcb5
chore(asm): clean libddwaf loading (#12102)
christophe-papazian Jan 28, 2025
c4448ea
fix(llmobs): propagate distributed headers via signal dispatching, no…
Yun-Kim Jan 28, 2025
cb41f8e
feat(provider): expose context provider in ddtrace.trace (#12135)
mabdinur Jan 29, 2025
af9098c
chore(ci): skip non-linux OCI package creation (#12036)
randomanderson Jan 30, 2025
10ce457
fix 3.11 linetable and add a guard to skip injection if no provided o…
dubloom Feb 3, 2025
bccf004
chore: typo
dubloom Feb 3, 2025
a4c6a27
Merge branch 'main' into labbati/generic-bytecode-injection
dubloom Feb 3, 2025
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
2 changes: 1 addition & 1 deletion tests/internal/bytecode_injection/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest


if sys.version_info[:2] >= (3, 10):
if sys.version_info[:2] >= (3, 10) and sys.version_info[:2] < (3, 2):
dubloom marked this conversation as resolved.
Show resolved Hide resolved
from ddtrace.internal.bytecode_injection.core import InjectionContext
from ddtrace.internal.bytecode_injection.core import inject_invocation

Expand Down
Loading