mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
committed by
github-actions[bot]
parent
ded2293146
commit
5b45cdecad
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user