open-webui: align colbert-ai datasets dependency

colbert-ai depends on datasets (4.x) but we explicitly depend on
datasets_3, which makes it impossible to install open-webui with
optional-dependencies.all (which is a requirement for its nixos test).

Pin colbert-ai to datasets_3 too.

(cherry picked from commit 77cedd026d)
This commit is contained in:
Ihar Hrachyshka
2026-07-22 22:28:53 -04:00
committed by github-actions[bot]
parent ded2293146
commit 5b45cdecad

View File

@@ -18,6 +18,12 @@ let
hash = "sha256-SP5Huefj35PHvVzqS8R/DGSBci/hCHoueEb5RupGVqY=";
};
# we need datasets_3 for SpeechT5 embeddings
datasets = python3Packages.datasets_3;
colbert-ai = python3Packages.colbert-ai.override {
inherit datasets;
};
frontend = buildNpmPackage rec {
pname = "open-webui-frontend";
inherit version src;
@@ -107,7 +113,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
chardet
chromadb
cryptography
datasets_3
datasets
ddgs
docx2txt
einops