Skip to content

Commit

Permalink
Upgrade to PyOdide 0.26, closes #77
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 28, 2024
1 parent 8f50a42 commit df097df
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.25.1/full/pyodide.js");
importScripts("https://cdn.jsdelivr.net/pyodide/v0.26.0/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.25.1/full/",
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.26.0/full/",
fullStdLib: true
});
await pyodide.loadPackage('micropip', {messageCallback: log});
Expand Down

0 comments on commit df097df

Please sign in to comment.