By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/23112
**Author:** [@yang1002378395-cmyk](https://github.com/yang1002378395-cmyk)
**Created:** 3/26/2026
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `fix/add-beautifulsoup4-dependency`
---
### 📝 Commits (1)
- [`14e94bf`](https://github.com/open-webui/open-webui/commit/14e94bf4e7b5b68831eabfb7a735ff1ad825feb7) fix: add beautifulsoup4 to pyproject.toml dependencies
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `pyproject.toml` (+1 -0)
</details>
### 📄 Description
# Pull Request Checklist
- [x] **Target branch:** dev
- [x] **Description:** Fix missing dependency causing ModuleNotFoundError for uvx/pip installs
- [x] **Changelog:** Added below
- [x] **Testing:** Verified beautifulsoup4 is imported in codebase but missing from pyproject.toml
# Changelog Entry
### Description
- Add beautifulsoup4 to pyproject.toml dependencies to fix ModuleNotFoundError for non-Docker installations
### Fixed
- ModuleNotFoundError: No module named 'bs4' when installing via uvx/pip (Issue #23063)
### Root Cause Analysis
BeautifulSoup4 is imported in:
- backend/open_webui/env.py
- backend/open_webui/retrieval/web/utils.py
But was missing from pyproject.toml dependencies (only in backend/requirements.txt which is not used by uvx installs).
### Test Plan
1. Install open-webui via uvx: `uvx open-webui@latest serve`
2. Before fix: ModuleNotFoundError: No module named 'bs4'
3. After fix: Should start successfully
Fixes #23063
---
### Contributor License Agreement
- [x] By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/23112
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: ❌ Closed
Base:
dev← Head:fix/add-beautifulsoup4-dependency📝 Commits (1)
14e94bffix: add beautifulsoup4 to pyproject.toml dependencies📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
pyproject.toml(+1 -0)📄 Description
Pull Request Checklist
Changelog Entry
Description
Fixed
Root Cause Analysis
BeautifulSoup4 is imported in:
But was missing from pyproject.toml dependencies (only in backend/requirements.txt which is not used by uvx installs).
Test Plan
uvx open-webui@latest serveFixes #23063
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.