Stub internal Datadog Python package (ddtrace-internal).
Project Links
Meta
Author: Datadog, Inc.
Requires Python: >=3.9
Classifiers
ddtrace-internal
Stub Python distribution for code used by multiple products in dd-trace-py
Local install (editable)
python -m pip install -e .
Running tests
cd packages/ddtrace-internal
riot run # all supported Python versions
riot run -p 3.12 # a single version
riot installs the package fresh into each test venv, so it must be run from this directory (not the repo root). In CI, riot --wheel-path <dir> is used instead to test the actual built wheel.
Layout
src/_ddtrace_internal/— package roottests/<module_path>/test.py— tests, mirroring the source layout (e.g.src/_ddtrace_internal/foo.py→tests/foo/test.py)riotfile.py— test venv/matrix definitions
Wheel compatibility matrix
Files in release
No dependencies