Skip to content

[BUG]: Ragas >=0.2.x not supported, NotImplementedError in ddtrace integration #13815

@rakhmadbudiono

Description

@rakhmadbudiono

Tracer Version(s)

3.9.4

Python Version(s)

3.9

Pip Version(s)

Bug Report

Currently, ddtrace fails with a NotImplementedError when used with ragas>=0.2.x. Attempting to run tracing with this version of ragas results in the following error

NotImplementedError: Ragas version: 0.2.15 is not supported
Due to this incompatibility, we are currently forced to use ragas==0.1.x, which depends on outdated libraries that have known security vulnerabilities (see PYSEC-2024-115, huntr report)

Reproduction Code

  • Install ragas==0.2.15 and ddtrace==3.9.4
  • Enable tracing
  • Run any code path that uses Ragas evaluation
  • Observe NotImplementedError

Error Logs

No response

Libraries in Use

No response

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions