Skip to content

Commit

Permalink
pyodide to 0.26.4 and dothttp-req-wasm to 0.0.43
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric05 authored Dec 25, 2024
1 parent 586e4b2 commit fe0d1dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worker/worker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-ignore
// self.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.23.4/full/';
importScripts('https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js');
importScripts('https://cdn.jsdelivr.net/pyodide/v0.26.4/full/pyodide.js');
import { getContent, formatJson, KIND } from "../utils/utils";

const loadCode = `from dothttp import Config, HttpDefBase
Expand Down Expand Up @@ -83,7 +83,7 @@ async function loadPyodideAndPackages() {
// @ts-ignore
await self.pyodide.loadPackage(['micropip']);
// @ts-ignore
await self.pyodide.runPython(`import micropip;micropip.install(['dothttp-req-wasm==0.0.42', 'setuptools'])`);
await self.pyodide.runPython(`import micropip;micropip.install(['dothttp-req-wasm==0.0.43', 'setuptools'])`);
// @ts-ignore
await self.pyodide.runPython(loadCode);
self.postMessage(
Expand Down

0 comments on commit fe0d1dc

Please sign in to comment.