mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[PR #2366] [MERGED] refac: fetch pyodide deps at build time, not checked into git #59826
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/2366
Author: @cheahjs
Created: 5/18/2024
Status: ✅ Merged
Merged: 5/18/2024
Merged by: @tjbck
Base:
dev← Head:refac/pyscript-npm📝 Commits (1)
781c904refac: fetch pyodide deps at build time, not checked into git📊 Changes
44 files changed (+65 additions, -7970 deletions)
View changed files
📝
.gitignore(+4 -0)📝
package.json(+4 -3)➖
pyodide.sh(+0 -3)➕
scripts/prepare-pyodide.js(+29 -0)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+4 -5)📝
src/lib/workers/pyodide.worker.ts(+21 -10)➖
static/pyodide/cycler-0.12.1-py3-none-any.whl(+0 -0)➖
static/pyodide/cycler-0.12.1-py3-none-any.whl.metadata(+0 -78)➖
static/pyodide/fonttools-4.48.1-py3-none-any.whl(+0 -0)➖
static/pyodide/fonttools-4.48.1-py3-none-any.whl.metadata(+0 -3237)➖
static/pyodide/kiwisolver-1.4.5-cp312-cp312-emscripten_3_1_52_wasm32.whl(+0 -0)➖
static/pyodide/kiwisolver-1.4.5-cp312-cp312-emscripten_3_1_52_wasm32.whl.metadata(+0 -122)➖
static/pyodide/matplotlib-3.5.2-cp312-cp312-emscripten_3_1_52_wasm32.whl(+0 -0)➖
static/pyodide/matplotlib-3.5.2-cp312-cp312-emscripten_3_1_52_wasm32.whl.metadata(+0 -167)➖
static/pyodide/matplotlib_pyodide-0.2.1-py3-none-any.whl(+0 -0)➖
static/pyodide/matplotlib_pyodide-0.2.1-py3-none-any.whl.metadata(+0 -440)➖
static/pyodide/micropip-0.6.0-py3-none-any.whl(+0 -0)➖
static/pyodide/micropip-0.6.0-py3-none-any.whl.metadata(+0 -421)➖
static/pyodide/numpy-1.26.4-cp312-cp312-emscripten_3_1_52_wasm32.whl(+0 -0)➖
static/pyodide/numpy-1.26.4-cp312-cp312-emscripten_3_1_52_wasm32.whl.metadata(+0 -151)...and 24 more files
📄 Description
Pull Request Checklist
devbranch.Description
Refactor pyodide to fetch the wheels at build time instead of checked into the git repository.
Also switch to importing the worker instead of needing to have it in the static dir.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.