Skip to content

Commit

Permalink
Update to pyodide 0.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Jul 30, 2024
1 parent 38fe829 commit 5fcdbd4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

SHINYLIVE_VERSION = $(shell node -p "require('./package.json').version")

PYODIDE_VERSION = 0.26.1
PYODIDE_VERSION = 0.26.2
PYODIDE_DIST_FILENAME = pyodide-$(PYODIDE_VERSION).tar.bz2
DOWNLOAD_DIR = ./downloads
R_SHINY_VERSION = 1.8.1.8001-webr
Expand Down
11 changes: 11 additions & 0 deletions src/pyodide/pyodide.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,7 @@ type ConfigType = {
packages: string[];
_makeSnapshot: boolean;
enableRunUntilComplete: boolean;
checkAPIVersion: boolean;
};
/**
* Load the main Pyodide wasm module and initialize it.
Expand Down Expand Up @@ -1533,6 +1534,16 @@ export declare function loadPyodide(options?: {
*/
enableRunUntilComplete?: boolean;
/**
* If true (default), throw an error if the version of Pyodide core does not
* match the version of the Pyodide js package.
*/
checkAPIVersion?: boolean;
/**
* Used by the cli runner. If we want to detect a virtual environment from
* the host file system, it needs to be visible from when `main()` is
* called. The directories in this list will be mounted at the same address
* into the Emscripten file system so that virtual environments work in the
* cli runner.
* @ignore
*/
_node_mounts?: string[];
Expand Down
Loading

0 comments on commit 5fcdbd4

Please sign in to comment.