diff --git a/src/PyodideWorker.js b/src/PyodideWorker.js index 561b5d995..27f9cad4d 100644 --- a/src/PyodideWorker.js +++ b/src/PyodideWorker.js @@ -7,7 +7,7 @@ const PyodideWorker = () => { `${process.env.ASSETS_URL}/pyodide/shims/_internal_sense_hat.js`, ); importScripts(`${process.env.ASSETS_URL}/pyodide/shims/pygal.js`); - importScripts("https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js"); + importScripts("https://cdn.jsdelivr.net/pyodide/v0.29.3/full/pyodide.js"); const supportsAllFeatures = typeof SharedArrayBuffer !== "undefined"; diff --git a/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideWorker.test.js b/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideWorker.test.js index 4c39a5462..fe32a95ee 100644 --- a/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideWorker.test.js +++ b/src/components/Editor/Runners/PythonRunner/PyodideRunner/PyodideWorker.test.js @@ -53,7 +53,7 @@ describe("PyodideWorker", () => { test("it imports the pyodide script", () => { expect(global.importScripts).toHaveBeenCalledWith( - "https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js", + "https://cdn.jsdelivr.net/pyodide/v0.29.3/full/pyodide.js", ); });