Skip to content

Commit b699e84

Browse files
committed
fix: add setuptools as dependency for Python >= 3.12
The `autowrapt` has a cross in-code dependency on `setuptools` which are not solved by the authors. This fix adds the package `setuptools` as dependency for environments running Python >= 3.12 to prevent issues when instrumenting with the `AUTOWRAPT_BOOTSTRAP` variable. Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
1 parent c9a95f4 commit b699e84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ dependencies = [
5252
"opentelemetry-api>=1.27.0",
5353
"opentelemetry-semantic-conventions>=0.48b0",
5454
"typing_extensions>=4.12.2",
55+
"setuptools>=69.0.0; python_version >= 3.12",
5556
]
5657

5758
[project.entry-points."instana"]

0 commit comments

Comments
 (0)