mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 19:53:00 -05:00
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:
@@ -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":[],
|
||||
|
||||
@@ -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',
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user