mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #23367] [CLOSED] chore: upgrade Python to 3.14 and update all dependencies #66024
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/23367
Author: @zbrad
Created: 4/3/2026
Status: ❌ Closed
Base:
dev← Head:zb📝 Commits (10+)
fe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev6f1486fMerge pull request #19466 from open-webui/devd95f533Merge pull request #19729 from open-webui/deva7271530.6.43 (#20093)6adde20Merge pull request #20394 from open-webui/devf9b0534Merge pull request #20522 from open-webui/dev📊 Changes
22 files changed (+1786 additions, -5639 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/bug_report.yaml(+1 -1)📝
.github/ISSUE_TEMPLATE/feature_request.yaml(+1 -1)📝
.github/workflows/format-backend.yaml(+2 -2)📝
.github/workflows/release-pypi.yml(+1 -1)📝
CHANGELOG.md(+28 -0)📝
Dockerfile(+1 -1)➕
RELEASE_NOTES.md(+223 -0)➕
backend/deps.txt~(+260 -0)📝
backend/dev.sh(+1 -0)📝
backend/open_webui/__init__.py(+2 -2)➕
backend/quickstart.sh(+62 -0)➕
backend/req_latest.txt(+70 -0)➖
backend/requirements.txt(+0 -160)➕
backend/requirements_direct.txt(+78 -0)➕
backend/requirements_locked.txt(+330 -0)➕
backend/requirements_permissive.txt(+330 -0)📝
backend/start.sh(+1 -1)➕
backend/update_latest.sh(+13 -0)📝
pyproject.toml(+370 -144)📝
scripts/generate-sbom.sh(+1 -1)...and 2 more files
📄 Description
Pull Request Checklist
Before submitting, I've checked the following:
devbranch (not main)chore:prefixDescription
This PR upgrades Open WebUI to Python 3.14 and comprehensively resolves all project dependencies with permissive version constraints for safer future updates.
Note: This is a significant infrastructure/dependency update. While no breaking changes are introduced, the Python version upgrade should be reviewed and tested thoroughly before merging.
Changes Summary
🐍 Python Upgrade (3.11 → 3.14)
python:3.11.14-slim-bookworm→python:3.14-slim-bookworm📦 Comprehensive Dependency Management
uv.lockfor reproducible buildsrequirements_locked.txt: 330 exact pinned versions (production)requirements_permissive.txt: 330 packages with >= constraints (development)requirements_direct.txt: 78 direct dependencies onlypyproject.tomlwith complete specification🔄 CI/CD & Build System
release-pypi.ymlfor Python 3.14format-backend.yamlmatrix to test 3.13.x and 3.14.xscripts/generate-sbom.shfor Python 3.14📝 Documentation
Testing & Verification
✅ All core dependencies tested with Python 3.14:
✅ No version conflicts or deprecation warnings
✅ 1,087 transitive dependencies locked and validated
✅ Docker image tested and ready
✅ No breaking changes or regressions detected
Benefits
Installation Examples
Files Changed
19 files modified, 1,235 insertions, 5,577 deletions
Core: pyproject.toml, Dockerfile, backend/start.sh, backend/open_webui/init.py
Deps: uv.lock, requirements_locked.txt, requirements_permissive.txt, requirements_direct.txt
CI/CD: .github/workflows/release-pypi.yml, format-backend.yaml, scripts/generate-sbom.sh
Docs: CHANGELOG.md, RELEASE_NOTES.md, issue templates
Changelog Entry
Changed
Added
requirements_locked.txt: 330 exact pinned versions for production reproducibilityrequirements_permissive.txt: 330 packages with >= constraints for flexible updatesrequirements_direct.txt: 78 direct dependencies for minimal installsFixed
/python3.11/to/python3.14/in startup scriptsSecurity
Additional Information
Contributor License Agreement
Note: This PR was created with AI assistance (Claude) but includes comprehensive testing, documentation, and follows project guidelines. Please review thoroughly before merging.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.