Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit cea3c29

Browse files
feat: remove Python code execution and pyodide
* Code execution is not enabled * Building pyodide heavily contributes to the build time and image size Refs: PRODAI-198
1 parent 978c4fe commit cea3c29

9 files changed

Lines changed: 8 additions & 835 deletions

File tree

package-lock.json

Lines changed: 0 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version": "0.6.5",
44
"private": true,
55
"scripts": {
6-
"dev": "npm run pyodide:fetch && vite dev --host",
7-
"dev:5050": "npm run pyodide:fetch && vite dev --port 5050",
8-
"build": "npm run pyodide:fetch && vite build",
6+
"dev": "vite dev --host",
7+
"dev:5050": "vite dev --port 5050",
8+
"build": "vite build",
99
"preview": "vite preview",
1010
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1111
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
@@ -18,8 +18,7 @@
1818
"lint:ionos": "eslint src/lib/IONOS --fix-dry-run",
1919
"format:backend": "black . --exclude \".venv/|/venv/\"",
2020
"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write \"src/lib/i18n/**/*.{js,json}\"",
21-
"test:frontend": "vitest --passWithNoTests",
22-
"pyodide:fetch": "node scripts/prepare-pyodide.js"
21+
"test:frontend": "vitest --passWithNoTests"
2322
},
2423
"devDependencies": {
2524
"@sveltejs/adapter-auto": "3.2.2",
@@ -104,13 +103,11 @@
104103
"prosemirror-schema-list": "^1.4.1",
105104
"prosemirror-state": "^1.4.3",
106105
"prosemirror-view": "^1.34.3",
107-
"pyodide": "^0.27.3",
108106
"socket.io-client": "^4.2.0",
109107
"sortablejs": "^1.15.2",
110108
"svelte-sonner": "^0.3.19",
111109
"tippy.js": "^6.3.7",
112110
"turndown": "^7.2.0",
113-
"undici": "^7.3.0",
114111
"uuid": "^9.0.1",
115112
"vite-plugin-static-copy": "^2.2.0",
116113
"yaml": "^2.7.1"

src/lib/components/admin/Settings/CodeExecution.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
let config = null;
1717
18-
let engines = ['pyodide', 'jupyter'];
18+
let engines = ['jupyter'];
1919
2020
const submitHandler = async () => {
2121
const res = await setCodeExecutionConfig(localStorage.token, config);

0 commit comments

Comments
 (0)