mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10591] [CLOSED] fix: do not allow uninstalling open-webui to install a tool + uv faster than pip #45612
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10591
Author: @thiswillbeyourgithub
Created: 2/22/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
4cec1dafix: do not allow uninstalling oprn-webui to install a tool + uv faster than pip📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/plugin.py(+7 -1)📄 Description
user_oauth_groupsdefaults to an empty list to prevent TypeErrorPull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
pip install somethingcan totally break the dependencies needed by openwebui and I ran into several catastrophic failures because of this. I looked up online and both pip and uv seem to support specifying constraints during an install. Hence doing(uv) pip install --overrides /app/backend/requirements.txt [the new dependencies]seems to be safer.Changed
Fixed
Security
Additional Information
Note: it is still possible to wreak havoc the env by modifying the /app/backend/requirements.txt file in the tool directly, but at least we can't uninstall open-webui by mistake.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.