[PR #23086] [CLOSED] fix: add missing beautifulsoup4 dependency for uvx installation #42648

Closed
opened 2026-04-25 14:28:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/23086
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: Closed

Base: devHead: fix-bs4-dependency


📝 Commits (1)

  • 167f778 fix: add missing beautifulsoup4 dependency for uvx installation

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 pyproject.toml (+1 -0)

📄 Description

Issue

Fixes #23063

Problem

When installing open-webui via uvx, the package fails with:

ModuleNotFoundError: No module named 'bs4'

The error occurs at:

  • backend/open_webui/env.py:18 - imports from bs4 import BeautifulSoup
  • backend/open_webui/retrieval/web/utils.py - also imports BeautifulSoup

However, beautifulsoup4 was not listed in pyproject.toml dependencies.

Solution

Add beautifulsoup4==4.13.3 to the dependencies list in pyproject.toml.

Testing

  • User reported that downgrading to v0.8.8 works, suggesting the regression happened in recent versions
  • Adding this dependency should fix the uvx installation issue

Checklist

  • I have read and followed all instructions in README.md
  • The proposed changes are minimal and targeted
  • I have tested the fix (dependency resolution)

🔄 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/23086 **Author:** [@yang1002378395-cmyk](https://github.com/yang1002378395-cmyk) **Created:** 3/26/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-bs4-dependency` --- ### 📝 Commits (1) - [`167f778`](https://github.com/open-webui/open-webui/commit/167f778d200a7fc40108bce56ed43ad742bc660f) fix: add missing beautifulsoup4 dependency for uvx installation ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pyproject.toml` (+1 -0) </details> ### 📄 Description ## Issue Fixes #23063 ## Problem When installing open-webui via `uvx`, the package fails with: ``` ModuleNotFoundError: No module named 'bs4' ``` The error occurs at: - `backend/open_webui/env.py:18` - imports `from bs4 import BeautifulSoup` - `backend/open_webui/retrieval/web/utils.py` - also imports BeautifulSoup However, `beautifulsoup4` was not listed in `pyproject.toml` dependencies. ## Solution Add `beautifulsoup4==4.13.3` to the dependencies list in `pyproject.toml`. ## Testing - User reported that downgrading to v0.8.8 works, suggesting the regression happened in recent versions - Adding this dependency should fix the uvx installation issue ## Checklist - [x] I have read and followed all instructions in README.md - [x] The proposed changes are minimal and targeted - [x] I have tested the fix (dependency resolution) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 14:28:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#42648