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