Skip to content

fix(deps): pin setuptools to <81.0.0 to avoid pkg_resources deprecation warning#800

Closed
pvital wants to merge 2 commits intomainfrom
setuptools_pinning_fix
Closed

fix(deps): pin setuptools to <81.0.0 to avoid pkg_resources deprecation warning#800
pvital wants to merge 2 commits intomainfrom
setuptools_pinning_fix

Conversation

@pvital
Copy link
Copy Markdown
Member

@pvital pvital commented Sep 12, 2025

Fix the following error to prevent security scan analysis reports:

/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 paulo.vital@ibm.com

…on 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 <paulo.vital@ibm.com>
@pvital pvital requested a review from a team as a code owner September 12, 2025 14:22
@pvital pvital self-assigned this Sep 12, 2025
Copy link
Copy Markdown
Contributor

@arjun-rajappa arjun-rajappa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@GSVarsha GSVarsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pvital
Copy link
Copy Markdown
Member Author

pvital commented Sep 16, 2025

@GSVarsha, thanks for the review, but I have a quick question about this topic. Does your wrapt PR and related discussion fix this issue?

@pvital pvital added the do NOT merge Depends on another PR or WIP label Sep 16, 2025
@pvital
Copy link
Copy Markdown
Member Author

pvital commented Nov 12, 2025

Not relevant anymore. Closing.

@pvital pvital closed this Nov 12, 2025
@pvital pvital deleted the setuptools_pinning_fix branch November 12, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug do NOT merge Depends on another PR or WIP fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants