deepeval icon indicating copy to clipboard operation
deepeval copied to clipboard

Deepeval dependencies need to be loosened or made optional, specifically opentelemetry and llm-provider deps.

Open oakhan3 opened this issue 9 months ago • 0 comments

Describe the bug

Hey all, I'm trying to install deepeval as a dev dependency in various projects and am running into dependency resolution errors. deepeval requires you to install fairly specific versions of libraries for optional features - can these dependencies be moved to extras?

opentelemetry is not a requirement to run the project and so it should be moved to an optional extras install.

Additionally, deepeval should not require you to install all well-known providers from the get-go (ollama, openai, anthropic, google).

To Reproduce

  1. Install deepeval in any opinionated, settled project including lang chain or llama index or opentelemetry.
  2. Run into dependency resolution issues

Example:

   4: fact: no versions of opentelemetry-sdk match >1.33.1,<1.34.0
   4: conflict: no versions of opentelemetry-sdk match >1.33.1,<1.34.0
   4: ! opentelemetry-sdk (>1.33.1,<1.34.0) is partially satisfied by not opentelemetry-sdk (==1.33.1)
   4: ! which is caused by "opentelemetry-sdk (1.33.1) depends on opentelemetry-api (1.33.1)"
   4: ! thus: opentelemetry-sdk (>=1.33.1,<1.34.0) requires opentelemetry-api (1.33.1)

Expected behavior

Installation should be friction-less by moving optional dependencies into extras.

oakhan3 avatar Jul 23 '25 20:07 oakhan3