You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your environment
With the just-release opentelemetry-instrumentation-flask 0.44b0 I get this from the flask instrumentation:
DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Flask 3.1. Use feature detection or 'importlib.metadata.version("flask")' instead.
Describe your environment
With the just-release opentelemetry-instrumentation-flask 0.44b0 I get this from the flask instrumentation:
Problematic code is at https://github.com/open-telemetry/opentelemetry-python-contrib/blame/8daa8ad48108775d8e799a3abc3ed06f84b4c00e/instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py#L254-L263 and caused by #2013.
Flask version is 3.0.2.
Steps to reproduce
Instrument Flask > 3
What is the expected behavior?
No DeprecationWarning
What is the actual behavior?
DeprecationWarning
Additional context
N/A
The text was updated successfully, but these errors were encountered: