From 8f50a428b6c0b7d24fdeec9903cb73462e9c8938 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 8 May 2024 11:51:36 -0700 Subject: [PATCH] Upgrade to latest Pyodide --- webworker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webworker.js b/webworker.js index 32937ec..daacc48 100644 --- a/webworker.js +++ b/webworker.js @@ -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}) @@ -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});