Upgrade to Pyodide 0.21.3 (#887)

* Upgrade to Pyodide 21.3

* During the PyodideRuntime test, set the indexURL parameter of loadPyodide to allow Jest to find pyodide-adjacent files.
This commit is contained in:
Jeff Glass
2022-10-27 15:16:17 -05:00
committed by GitHub
parent ab085c2d92
commit 4850f39b5a
7 changed files with 34 additions and 26 deletions

View File

@@ -45,8 +45,8 @@ export const defaultConfig: AppConfig = {
"type": "app",
"autoclose_loader": true,
"runtimes": [{
"src": "https://cdn.jsdelivr.net/pyodide/v0.21.2/full/pyodide.js",
"name": "pyodide-0.21.2",
"src": "https://cdn.jsdelivr.net/pyodide/v0.21.3/full/pyodide.js",
"name": "pyodide-0.21.3",
"lang": "python"
}],
"packages":[],

View File

@@ -19,7 +19,7 @@ export class PyodideRuntime extends Runtime {
constructor(
config: AppConfig,
src = 'https://cdn.jsdelivr.net/pyodide/v0.21.2/full/pyodide.js',
src = 'https://cdn.jsdelivr.net/pyodide/v0.21.3/full/pyodide.js',
name = 'pyodide-default',
lang = 'python',
) {