Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Commit e6adea5

Browse files
committed
feat: update pyodide, and fix the hardcoded 3.12.1 in #38
1 parent 705ea29 commit e6adea5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<!-- Pyodide -->
9595
<script
9696
defer
97-
src="https://cdn.jsdelivr.net/pyodide/v0.27.0/full/pyodide.js"
97+
src="https://cdn.jsdelivr.net/pyodide/v0.27.4/full/pyodide.js"
9898
></script>
9999
</head>
100100

src/components/editor/terminal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function Terminal() {
3737
}, [runCode]);
3838

3939
const clearTerminal = useCallback(async () => {
40-
clearOutput("Running Python 3.12.1");
40+
clearOutput("Running Python 3.12.7");
4141
setError(null);
4242
}, [clearOutput, setError]);
4343

src/components/nav-buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const ButtonsNav = () => {
2727
}, [direction, setDirection]);
2828

2929
const handleTerminalClear = useCallback(() => {
30-
clearOutput("Running Python 3.12.1");
30+
clearOutput("Running Python 3.12.7");
3131
setError(null);
3232
}, [clearOutput, setError]);
3333

src/store/useStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface Actions {
2727

2828
const initialState: State = {
2929
code: `import sys\n\nprint("Python", sys.version)\n\n# https://github.com/vwh/python-playground`,
30-
output: "Running Python 3.12.1",
30+
output: "Running Python 3.12.7",
3131
error: null,
3232
direction: "vertical",
3333
pyodide: null,

0 commit comments

Comments
 (0)