Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Pyodide to 0.22.1 #478

Merged
merged 1 commit into from
Feb 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions packages/desktop-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"name": "@stlite/desktop-cli",
"version": "0.23.0",
"license": "Apache-2.0",
"dependencies": {
"@stlite/desktop": "^0.23.0",
"node-fetch": "2",
"pyodide": "^0.21.3"
}
"license": "Apache-2.0"
}
4 changes: 2 additions & 2 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"eject": "craco eject",
"start:electron": "tsc -p electron -w",
"build:electron": "tsc -p electron",
"build:pyodide": "curl -L https://github.com/pyodide/pyodide/releases/download/0.21.3/pyodide-build-0.21.3.tar.bz2 | tar xj -C ./build --files-from=./pyodide-files.txt",
"build:pyodide": "curl -L https://github.com/pyodide/pyodide/releases/download/0.22.1/pyodide-0.22.1.tar.bz2 | tar xj -C ./build --files-from=./pyodide-files.txt",
"build:bin": "./scripts/build_bin.js && sed -i'' -e '1 s/^#!.*$/#!\\/usr\\/bin\\/env node/' ./bin/*.js",
"typecheck": "yarn tsc --noEmit -p electron",
"start": "concurrently \"cross-env BROWSER=none yarn start:web\" \"wait-on http://localhost:3000 && yarn start:electron\" \"wait-on http://localhost:3000 && tsc -p electron && cross-env NODE_ENV=\"development\" electron .\"",
Expand Down Expand Up @@ -52,7 +52,7 @@
"dependencies": {
"fs-extra": "^10.1.0",
"node-fetch": "2",
"pyodide": "^0.21.3",
"pyodide": "0.22.1",
"yargs": "^17.5.1"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/desktop/pyodide-files.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pyodide/distutils.tar
pyodide/openssl-1.1.1n.zip
pyodide/pyodide.asm.data
pyodide/pyodide.asm.js
Expand Down
2 changes: 1 addition & 1 deletion packages/kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint": "^8.21.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"pyodide": "^0.21.3",
"pyodide": "0.22.1",
"typescript": "^4.6.4",
"vitest": "^0.21.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kernel/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function loadPyodideAndPackages() {
console.debug("Import the entrypoint script.");
importScripts(
pyodideEntrypointUrl ??
"https://cdn.jsdelivr.net/pyodide/v0.21.3/full/pyodide.js"
"https://cdn.jsdelivr.net/pyodide/v0.22.1/full/pyodide.js"
);

console.debug("Loading Pyodide");
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19732,10 +19732,10 @@ pxls@^2.0.0:
is-buffer "^2.0.3"
to-uint8 "^1.4.1"

pyodide@^0.21.3:
version "0.21.3"
resolved "https://registry.yarnpkg.com/pyodide/-/pyodide-0.21.3.tgz#0be64868231fa59a5372a1191d157a9e8d83e9d7"
integrity sha512-5fu5P8ys8V8tKTsK9lag0HattbZQuFRdnNzv1LLOLCieM9A96OPs2cF29lPpcD9N+8GuUtfrGCWEMKiupTHUlA==
pyodide@0.22.1:
version "0.22.1"
resolved "https://registry.yarnpkg.com/pyodide/-/pyodide-0.22.1.tgz#45bfab36ef332ec7fed6fb9736ab13ebd54f05d1"
integrity sha512-6+PkFLTC+kcBKtFQxYBxR44J5IBxLm8UGkobLgZv1SxzV9qOU2rb0YYf0qDtlnfDiN/IQd2uckf+D8Zwe88Mqg==
dependencies:
base-64 "^1.0.0"
node-fetch "^2.6.1"
Expand Down