ddtrace-internal 0.1.0__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: ddtrace-internal
3
+ Version: 0.2.0
4
+ Summary: Stub internal Datadog Python package (ddtrace-internal).
5
+ Author-email: "Datadog, Inc." <dev@datadoghq.com>
6
+ License-Expression: BSD-3-Clause OR Apache-2.0
7
+ Project-URL: Repository, https://github.com/DataDog/datadog-apm-python
8
+ Requires-Python: >=3.9
9
+ Description-Content-Type: text/markdown
10
+
11
+ # ddtrace-internal
12
+
13
+ Stub Python distribution for code used by multiple products in dd-trace-py
14
+
15
+ ## Local install (editable)
16
+
17
+ ```bash
18
+ python -m pip install -e .
19
+ ```
20
+
21
+ ## Running tests
22
+
23
+ ```bash
24
+ scripts/run_tests.py # all supported Python versions
25
+ scripts/run_tests.py --python 3.12 # a single version
26
+ scripts/run_tests.py --list # show the matrix without running it
27
+ ```
28
+
29
+ Each (variant, Python) pair in `suitespec.yml` runs as a cached `uv run --no-project`
30
+ environment with the package installed editable, so tests import the working tree; run it
31
+ from anywhere. In CI, `--wheel-path <dir>` installs the exact built wheel instead of the
32
+ working tree.
33
+
34
+ ## Layout
35
+
36
+ - `src/_ddtrace_internal/` — package root
37
+ - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
38
+ - `suitespec.yml` — test matrix definition
@@ -0,0 +1,28 @@
1
+ # ddtrace-internal
2
+
3
+ Stub Python distribution for code used by multiple products in dd-trace-py
4
+
5
+ ## Local install (editable)
6
+
7
+ ```bash
8
+ python -m pip install -e .
9
+ ```
10
+
11
+ ## Running tests
12
+
13
+ ```bash
14
+ scripts/run_tests.py # all supported Python versions
15
+ scripts/run_tests.py --python 3.12 # a single version
16
+ scripts/run_tests.py --list # show the matrix without running it
17
+ ```
18
+
19
+ Each (variant, Python) pair in `suitespec.yml` runs as a cached `uv run --no-project`
20
+ environment with the package installed editable, so tests import the working tree; run it
21
+ from anywhere. In CI, `--wheel-path <dir>` installs the exact built wheel instead of the
22
+ working tree.
23
+
24
+ ## Layout
25
+
26
+ - `src/_ddtrace_internal/` — package root
27
+ - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
28
+ - `suitespec.yml` — test matrix definition
@@ -4,11 +4,15 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ddtrace-internal"
7
- version = "0.1.0"
7
+ version = "0.2.0"
8
8
  description = "Stub internal Datadog Python package (ddtrace-internal)."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  authors = [{ name = "Datadog, Inc.", email = "dev@datadoghq.com" }]
12
+ license = "BSD-3-Clause OR Apache-2.0"
13
+
14
+ [project.urls]
15
+ Repository = "https://github.com/DataDog/datadog-apm-python"
12
16
 
13
17
  [tool.setuptools.packages.find]
14
18
  where = ["src"]
@@ -20,8 +24,8 @@ where = ["src"]
20
24
  python_files = ["test.py", "test_*.py"]
21
25
 
22
26
  [tool.deptry]
23
- # `setup.py`/`scripts/`/`tests/`/`riotfile.py` aren't part of the installable
27
+ # `setup.py`/`scripts/`/`tests/` aren't part of the installable
24
28
  # package and pull in their own build/dev-only imports; deptry's `exclude`
25
29
  # is `re.match`-anchored, hence the leading `.*` to match regardless of
26
30
  # invocation path.
27
- exclude = [".*/scripts(/|$)", ".*/setup\\.py$", ".*/tests(/|$)", ".*/riotfile\\.py$"]
31
+ exclude = [".*/scripts(/|$)", ".*/setup\\.py$", ".*/tests(/|$)"]
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: ddtrace-internal
3
+ Version: 0.2.0
4
+ Summary: Stub internal Datadog Python package (ddtrace-internal).
5
+ Author-email: "Datadog, Inc." <dev@datadoghq.com>
6
+ License-Expression: BSD-3-Clause OR Apache-2.0
7
+ Project-URL: Repository, https://github.com/DataDog/datadog-apm-python
8
+ Requires-Python: >=3.9
9
+ Description-Content-Type: text/markdown
10
+
11
+ # ddtrace-internal
12
+
13
+ Stub Python distribution for code used by multiple products in dd-trace-py
14
+
15
+ ## Local install (editable)
16
+
17
+ ```bash
18
+ python -m pip install -e .
19
+ ```
20
+
21
+ ## Running tests
22
+
23
+ ```bash
24
+ scripts/run_tests.py # all supported Python versions
25
+ scripts/run_tests.py --python 3.12 # a single version
26
+ scripts/run_tests.py --list # show the matrix without running it
27
+ ```
28
+
29
+ Each (variant, Python) pair in `suitespec.yml` runs as a cached `uv run --no-project`
30
+ environment with the package installed editable, so tests import the working tree; run it
31
+ from anywhere. In CI, `--wheel-path <dir>` installs the exact built wheel instead of the
32
+ working tree.
33
+
34
+ ## Layout
35
+
36
+ - `src/_ddtrace_internal/` — package root
37
+ - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
38
+ - `suitespec.yml` — test matrix definition
@@ -1,33 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: ddtrace-internal
3
- Version: 0.1.0
4
- Summary: Stub internal Datadog Python package (ddtrace-internal).
5
- Author-email: "Datadog, Inc." <dev@datadoghq.com>
6
- Requires-Python: >=3.9
7
- Description-Content-Type: text/markdown
8
-
9
- # ddtrace-internal
10
-
11
- Stub Python distribution for code used by multiple products in dd-trace-py
12
-
13
- ## Local install (editable)
14
-
15
- ```bash
16
- python -m pip install -e .
17
- ```
18
-
19
- ## Running tests
20
-
21
- ```bash
22
- cd packages/ddtrace-internal
23
- riot run # all supported Python versions
24
- riot run -p 3.12 # a single version
25
- ```
26
-
27
- `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.
28
-
29
- ## Layout
30
-
31
- - `src/_ddtrace_internal/` — package root
32
- - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
33
- - `riotfile.py` — test venv/matrix definitions
@@ -1,25 +0,0 @@
1
- # ddtrace-internal
2
-
3
- Stub Python distribution for code used by multiple products in dd-trace-py
4
-
5
- ## Local install (editable)
6
-
7
- ```bash
8
- python -m pip install -e .
9
- ```
10
-
11
- ## Running tests
12
-
13
- ```bash
14
- cd packages/ddtrace-internal
15
- riot run # all supported Python versions
16
- riot run -p 3.12 # a single version
17
- ```
18
-
19
- `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.
20
-
21
- ## Layout
22
-
23
- - `src/_ddtrace_internal/` — package root
24
- - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
25
- - `riotfile.py` — test venv/matrix definitions
@@ -1,33 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: ddtrace-internal
3
- Version: 0.1.0
4
- Summary: Stub internal Datadog Python package (ddtrace-internal).
5
- Author-email: "Datadog, Inc." <dev@datadoghq.com>
6
- Requires-Python: >=3.9
7
- Description-Content-Type: text/markdown
8
-
9
- # ddtrace-internal
10
-
11
- Stub Python distribution for code used by multiple products in dd-trace-py
12
-
13
- ## Local install (editable)
14
-
15
- ```bash
16
- python -m pip install -e .
17
- ```
18
-
19
- ## Running tests
20
-
21
- ```bash
22
- cd packages/ddtrace-internal
23
- riot run # all supported Python versions
24
- riot run -p 3.12 # a single version
25
- ```
26
-
27
- `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.
28
-
29
- ## Layout
30
-
31
- - `src/_ddtrace_internal/` — package root
32
- - `tests/<module_path>/test.py` — tests, mirroring the source layout (e.g. `src/_ddtrace_internal/foo.py` → `tests/foo/test.py`)
33
- - `riotfile.py` — test venv/matrix definitions