Skip to content

Commit

Permalink
Upgrade to latest Pyodide
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 8, 2024
1 parent ac3da20 commit 8f50a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webworker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
importScripts("https://cdn.jsdelivr.net/pyodide/v0.23.2/full/pyodide.js");
importScripts("https://cdn.jsdelivr.net/pyodide/v0.25.1/full/pyodide.js");

function log(line) {
console.log({line})
Expand Down Expand Up @@ -44,7 +44,7 @@ async function startDatasette(settings) {
toLoad.push(["content.db", "https://datasette.io/content.db"]);
}
self.pyodide = await loadPyodide({
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.23.2/full/",
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.25.1/full/",
fullStdLib: true
});
await pyodide.loadPackage('micropip', {messageCallback: log});
Expand Down

0 comments on commit 8f50a42

Please sign in to comment.