Skip to content

Commit fc5d391

Browse files
pvitalGSVarsha
andcommitted
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. Co-authored-by: Varsha GS <varsha.gs@ibm.com> Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
1 parent df5f489 commit fc5d391

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ workflows:
313313
- autowrapt:
314314
matrix:
315315
parameters:
316-
py-version: ["3.12", "3.13"]
316+
py-version: ["3.11", "3.12", "3.13"]
317317
- final_job:
318318
requires:
319319
- python3x

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"]

tests/requirements-minimal.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
coverage>=5.5
22
pytest>=4.6
3-
setuptools

0 commit comments

Comments
 (0)