-
Notifications
You must be signed in to change notification settings - Fork 703
Address DeprecationWarning #3173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Opentelemetry dropped the use of pkg_resources in #3047 so I think this is already fixed in the main branch. As far as I understand the problem with |
The actual origin of the warning is likely |
Thanks @jenshnielsen! Indeed the Feel free to close this issue then. |
But that's a dependency of opentelemetry-python/exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml Line 31 in e003062
Not sure if it's possible for OpenTelemetry to silence that warning somehow. Or maybe a better option could be to stop depending on that package and instead just bring the protos used to the opentelemetry repo. The only used proto from google that I found is Line 34 in e003062
|
Can reproduce, please re-open this issue. As mentioned above this project uses v1.52 which is a 4 year old version and could use updating anyway. Updating to v1.62.0 will close this issue. EDIT: this might be solved automatically once a new version is released that uses v1.62.0, since the ~= version identifier is used |
If anyone is still having this issue, you can fix it by forcing an update of |
Uh oh!
There was an error while loading. Please reload this page.
Describe your environment
Python 3.10.10 on macOS Ventura 13.2
Steps to reproduce
error
What is the expected behavior?
The import succeeds.
What is the actual behavior?
The import fails:
Additional context
For the time being I filter that warning with
but it should probably be addressed.
The text was updated successfully, but these errors were encountered: