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
OS: Windows
Python version: 3.9.7
SDK version: 1.25.0
API version: 1.25.0
What happened?
Lib\site-packages\opentelemetry\trace\__init__.py:84: in <module>
from deprecated import deprecated
E ModuleNotFoundError: No module named 'deprecated'
Steps to Reproduce
create a new project
setup env var
run poetry add opentelemetry-api
Expected Result
deprecated and importlib-metadata should show up in poetry.lock file as dependencies
Actual Result
no dependencies shown for opentelemetry-api
Additional context
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered:
opentelemetry-api correctly lists them as dependencies:
dependencies = [
"Deprecated >= 1.2.6",
# FIXME This should be able to be removed after 3.12 is released if there is a reliable API
# in importlib.metadata.
"importlib-metadata >= 6.0, <= 8.0.0",
]
I think the only package that use deprecated but does not have it as direct dependency is opentelemetry-semantic-conventions and that should probably be fixed
Describe your environment
OS: Windows
Python version: 3.9.7
SDK version: 1.25.0
API version: 1.25.0
What happened?
Steps to Reproduce
poetry add opentelemetry-api
Expected Result
deprecated
andimportlib-metadata
should show up in poetry.lock file as dependenciesActual Result
no dependencies shown for
opentelemetry-api
Additional context
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: