From 4774c54861a7b550d9e5cbd9bfb954d027f565f7 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:26:19 +0100 Subject: [PATCH] Openwebui: pin numba constraint (#11874) Update scripts to use Python 3.12 for uv tool setup and Open-WebUI installs/upgrades. Add a numba constraint (--constraint <(echo "numba>=0.60")) to uv tool install/upgrade commands to ensure compatibility. Changes applied to ct/openwebui.sh and install/openwebui-install.sh for both fresh installs and update paths. --- ct/openwebui.sh | 6 +++--- install/openwebui-install.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index c3861c318..1ca8b0276 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -43,8 +43,8 @@ function update_script() { msg_ok "Removed legacy installation" msg_info "Installing uv-based Open-WebUI" - PYTHON_VERSION="3.11" setup_uv - $STD uv tool install --python 3.11 open-webui[all] + PYTHON_VERSION="3.12" setup_uv + $STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] msg_ok "Installed uv-based Open-WebUI" msg_info "Restoring data" @@ -126,7 +126,7 @@ EOF msg_info "Updating Open WebUI via uv" PYTHON_VERSION="3.12" setup_uv - $STD uv tool upgrade --python 3.12 open-webui[all] + $STD uv tool upgrade --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] systemctl restart open-webui msg_ok "Updated Open WebUI" msg_ok "Updated successfully!" diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index aea968e90..1d72c6deb 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -21,10 +21,10 @@ msg_ok "Installed Dependencies" setup_hwaccel -PYTHON_VERSION="3.11" setup_uv +PYTHON_VERSION="3.12" setup_uv msg_info "Installing Open WebUI" -$STD uv tool install --python 3.11 open-webui[all] +$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] msg_ok "Installed Open WebUI" read -r -p "${TAB3}Would you like to add Ollama? " prompt