Skip to content

chore(py-315): enable lib-injection SSI for Python 3.15 - #19274

Closed
vlad-scherbich wants to merge 14 commits into
vlad/315-profiling-dev-toolingfrom
vlad/315-lib-injection-ssi
Closed

chore(py-315): enable lib-injection SSI for Python 3.15#19274
vlad-scherbich wants to merge 14 commits into
vlad/315-profiling-dev-toolingfrom
vlad/315-lib-injection-ssi

Conversation

@vlad-scherbich

@vlad-scherbich vlad-scherbich commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

prev: #19273 | next: #19275

Summary

SSI allow-list for 3.15 auto-instrumentation. Replaces merged #19258.

Test plan

  • CI green on this branch
  • Stack merges cleanly into the next PR's base branch

Tracker

@datadog-official

datadog-official Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 15 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741238-d2b8243-manylinux2014_x86_64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v126532274-233089d-musllinux_1_2_x86_64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [arm64, cp315-cp315, v113741357-d2b8243-manylinux2014_aarch64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

View all 15 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2fb7ac3 | Docs | View more details | Give us feedback!

vlad-scherbich and others added 14 commits August 21, 2026 11:43
Allows version-specific native test binaries to install into a subdir
of the shared test/ directory (e.g. INSTALL_SUBDIR py315 -> test/py315/).

build_base_venvs runs in parallel across all Python versions and GitLab
merges all artifacts into a single directory for downstream jobs. Without
isolation a binary compiled for pyX.Y (RPATH -> libpythonX.Y) lands in
the shared test/ directory and crashes when the pytest gtest plugin tries
to run it against a different Python runtime.

Callers that do not pass INSTALL_SUBDIR are unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
# Conflicts:
#	ddtrace/internal/monitoring.py
#	ddtrace/internal/wrapping/asyncs.py
Profiling-native py3.15 job, setup.py guards, and crashtracker 3.15 opt-in.
Rebased onto the #17849 split stack (PR 17624).

# Conflicts:
#	riotfile.py
#	setup.py
…direct patching in _asyncio.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…5+ only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

# Conflicts:
#	ddtrace/profiling/collector/_memalloc_tb.cpp
Profiling bring-up scripts, compatibility baselines, Echion migration runbook,
and py315-stack PR navigation helpers (PR 12/14).
Update pr-numbers, generate-pr-urls, MANUAL_EXISTING_PRS, and rebuild-stack
to reflect linear stack with peripheral/profiling before packaging (#19254).
Replacement PRs #19267#19275 supersede wrongly-merged #19255#19259.
Bump sitecustomize allow-list to 3.16 (strict less-than) and add 3.15 to
dl_wheels supported_versions. Supersedes #17977 (GAP-01); merge after the
profiling stack lands.
@vlad-scherbich
vlad-scherbich force-pushed the vlad/315-profiling-dev-tooling branch from e95f62f to b906b1e Compare August 21, 2026 17:43
@vlad-scherbich
vlad-scherbich force-pushed the vlad/315-lib-injection-ssi branch from 81a3dec to 2fb7ac3 Compare August 21, 2026 17:43
@vlad-scherbich
vlad-scherbich force-pushed the vlad/315-profiling-dev-tooling branch from b906b1e to ba0e2bf Compare August 21, 2026 18:43
@vlad-scherbich

Copy link
Copy Markdown
Contributor Author

Absorbed into consolidated profiling stack — see survivor PR in consolidation comment on the stack.

@vlad-scherbich

Copy link
Copy Markdown
Contributor Author

Closed: lib-injection SSI merged into stack tip #19254.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant