Describe your environment
OS: MacOS 15.3.2
Python version: Python 3.12.2
Package version: 0.53b1
What happened?
The package uses opentelemetry-instrumentation, but it is not included in the dependencies in pyproject.toml.
This causes an import error:
Traceback (most recent call last):
File "/some/path/__main__.py", line 12, in <module>
from opentelemetry.instrumentation.asyncclick import AsyncClickInstrumentor
File "/some/path/.venv/lib/python3.12/site-packages/opentelemetry/instrumentation/asyncclick/__init__.py", line 70, in <module>
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
ModuleNotFoundError: No module named 'opentelemetry.instrumentation.instrumentor'
I think the package is missing the opentelemetry-instrumentation dependency.
Steps to Reproduce
-
pip install opentelemetry-instrumentation-asyncclick
from opentelemetry.instrumentation.asyncclick import AsyncClickInstrumentor
Expected Result
No errors
Actual Result
ModuleNotFoundError: No module named 'opentelemetry.instrumentation.instrumentor
Additional context
No response
Would you like to implement a fix?
Yes
Describe your environment
OS: MacOS 15.3.2
Python version: Python 3.12.2
Package version: 0.53b1
What happened?
The package uses opentelemetry-instrumentation, but it is not included in the dependencies in pyproject.toml.
This causes an import error:
I think the package is missing the opentelemetry-instrumentation dependency.
Steps to Reproduce
pip install opentelemetry-instrumentation-asyncclickExpected Result
No errors
Actual Result
ModuleNotFoundError: No module named 'opentelemetry.instrumentation.instrumentor
Additional context
No response
Would you like to implement a fix?
Yes