Tracer Version(s)
4.4.0
Python Version(s)
Python 3.12
Pip Version(s)
26
Bug Report
In setuptools' recent update to 82.0.0, pkg_rersources was deprecated. It looks like this was known and there were some recent PR's to fix this in this repo #16418 #16403
However, when using ddtrace as part of a function our application, it looks like we're still seeing warnings thrown by ddtrace/internal/module.py for:
output: /usr/local/lib64/python3.12/site-packages/ddtrace/internal/module.py:313: 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.
self.loader.exec_module(module)
These warnings aren't causing failures in our application, but I wanted to bring it to y'all's attention that there may still be a dependency on pkg_resources somewhere in this repo.
Reproduction Code
No response
Error Logs
No response
Libraries in Use
No response
Operating System
No response