From 5a0d0c693003aa3fc89bfedce6dce1359d48d9a9 Mon Sep 17 00:00:00 2001 From: _00_ <131402327+rgaricano@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:12:37 +0200 Subject: [PATCH 1/2] FIX: Add posthog lib to avoid opentelemetry issue Add "posthog==5.4.0" lib to requirements to avoid chromadb issue for lib versions incompatibility with that lib (chromadb requiere posthog>=2.4.0,<6.0.0 ) which produce error in opentelemetry. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index f9e0848acf..5812a6b29a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,8 @@ dependencies = [ "moto[s3]>=5.0.26", + "posthog==5.4.0", + ] readme = "README.md" requires-python = ">= 3.11, < 3.13.0a1" From ca1a61ce6041763d9f371d6a6ed3be70b6b13819 Mon Sep 17 00:00:00 2001 From: _00_ <131402327+rgaricano@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:15:18 +0200 Subject: [PATCH 2/2] Fix: Add posthog lib to requirement for avoid opentelemetry issue Add "posthog==5.4.0" lib to requirements to avoid chromadb issue for lib versions incompatibility with that lib (chromadb requiere posthog>=2.4.0,<6.0.0 ) which produce error in opentelemetry. --- backend/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/requirements.txt b/backend/requirements.txt index 5b0524efa8..94badb254d 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -51,6 +51,7 @@ langchain-community==0.3.26 fake-useragent==2.1.0 chromadb==0.6.3 +posthog==5.4.0 pymilvus==2.5.0 qdrant-client==1.14.3 opensearch-py==2.8.0