Skip to content

Commit 7ccfae5

Browse files
committed
fix(deps): pin setuptools to <81.0.0 to avoid pkg_resources deprecation warning
Fix the following error: /opt/instana/instrumentation/python/3.9.0/wrapt/importer.py:94: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. Signed-off-by: Paulo Vital <[email protected]>
1 parent 51baea8 commit 7ccfae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies = [
5252
"opentelemetry-semantic-conventions>=0.48b0",
5353
"typing_extensions>=4.12.2",
5454
"pyyaml>=6.0.2",
55-
"setuptools>=69.0.0; python_version >= \"3.12\"",
55+
"setuptools>=69.0.0,<81.0.0; python_version >= \"3.12\"",
5656
"psutil>=5.9.0; sys_platform == \"win32\"",
5757
]
5858

0 commit comments

Comments
 (0)