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 11
Python version: 3.10
Package version: 0.47.0
What happened?
I recently introduced deepeval into my dependencies which seems to have produced a version conflict on my system. I believe the root cause to be the missing dependency specification to 'opentelemetry-semantic-conventions' in 'opentelemetry-instrumentation>=0.47.0'. In this file:
the import from opentelemetry-semantic-conventions will fail if opentelemetry-semantic-conventions<=0.45.0b0 (or 1.24.0 I belive) as the attributes module was introduced only later.
Steps to Reproduce
In a fresh python env run: pip install deepeval opentelemetry-instrumentation and you will get an env with
which will break from opentelemetry.instrumentation.instrumentor import BaseInstrumentor due to the imports in _semconv from the attributes module as described above.
Expected Result
Fixing the dependency to the appropriate version to avoid version conflicts
Actual Result
ImportError
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered:
Describe your environment
OS: Windows 11
Python version: 3.10
Package version: 0.47.0
What happened?
I recently introduced
deepeval
into my dependencies which seems to have produced a version conflict on my system. I believe the root cause to be the missing dependency specification to 'opentelemetry-semantic-conventions' in 'opentelemetry-instrumentation>=0.47.0'. In this file:opentelemetry-python-contrib/opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py
Lines 20 to 23 in 6f1a17d
the import from opentelemetry-semantic-conventions will fail if
opentelemetry-semantic-conventions<=0.45.0b0
(or 1.24.0 I belive) as theattributes
module was introduced only later.Steps to Reproduce
In a fresh python env run:
pip install deepeval opentelemetry-instrumentation
and you will get an env withwhich will break
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
due to the imports in_semconv
from the attributes module as described above.Expected Result
Fixing the dependency to the appropriate version to avoid version conflicts
Actual Result
ImportError
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: