Skip to content

Commit 71c61d3

Browse files
authored
Update to pyodide 0.26.3 (#139)
* update to pyodide 0.26.3 * update ci actions * update ci archive names * linting
1 parent 67a976f commit 71c61d3

File tree

9 files changed

+22
-21
lines changed

9 files changed

+22
-21
lines changed

Diff for: .github/workflows/check-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
token: ${{ secrets.GITHUB_TOKEN }}
2929

3030
- name: Upload Distributions
31-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
3232
with:
3333
name: jupyterlite-pyodide-kernel-releaser-dist-${{ github.run_number }}
3434
path: .jupyter_releaser_checkout/dist

Diff for: .github/workflows/rtd-preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Comment on the PR with the ReadTheDocs preview
14-
uses: actions/github-script@v6
14+
uses: actions/github-script@v7
1515
with:
1616
github-token: ${{secrets.GITHUB_TOKEN}}
1717
script: |

Diff for: .github/workflows/test.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
cat *.txt
6666
6767
- name: Upload extension packages
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
with:
7070
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
7171
path: dist
7272
if-no-files-found: error
7373

7474
- name: Upload test config
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
with:
7777
name: pyproject-toml
7878
path: pyproject.toml
@@ -93,7 +93,7 @@ jobs:
9393
with:
9494
python-version: ${{ matrix.python-version }}
9595

96-
- uses: actions/download-artifact@v3
96+
- uses: actions/download-artifact@v4
9797
with:
9898
path: dist
9999
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
@@ -147,7 +147,7 @@ jobs:
147147
cd tmp
148148
jupyter lite check || exit 1
149149
150-
- uses: actions/download-artifact@v3
150+
- uses: actions/download-artifact@v4
151151
with:
152152
name: pyproject-toml
153153

@@ -165,7 +165,7 @@ jobs:
165165

166166
- name: Upload reports
167167
if: always()
168-
uses: actions/upload-artifact@v2
168+
uses: actions/upload-artifact@v4
169169
with:
170170
name: |-
171171
jupyterlite-pyodide-kernel-pytest-${{ github.run_number }}-${{ matrix.os }}-${{ matrix.python-version}}
@@ -183,12 +183,12 @@ jobs:
183183

184184
steps:
185185
- name: Checkout
186-
uses: actions/checkout@v3
186+
uses: actions/checkout@v4
187187

188188
- name: Base Setup
189189
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
190190

191-
- uses: actions/download-artifact@v3
191+
- uses: actions/download-artifact@v4
192192
with:
193193
path: dist
194194
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
@@ -218,9 +218,10 @@ jobs:
218218
219219
- name: Upload Playwright Test report
220220
if: always()
221-
uses: actions/upload-artifact@v3
221+
uses: actions/upload-artifact@v4
222222
with:
223-
name: jupyterlite-pyodide-kernel-playwright-tests
223+
name: |-
224+
jupyterlite-pyodide-kernel-playwright-tests-${{ github.run_number }}-${{ matrix.project }}
224225
path: |
225226
ui-tests/test-results
226227
ui-tests/playwright-report

Diff for: examples/jupyter-lite.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@jupyterlite/pyodide-kernel-extension:kernel": {
77
"loadPyodideOptions": {
88
"packages": ["matplotlib", "micropip", "numpy", "sqlite3", "ssl"],
9-
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide-lock.json?from-lite-config=1"
9+
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide-lock.json?from-lite-config=1"
1010
}
1111
}
1212
}

Diff for: jupyterlite_pyodide_kernel/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
PYODIDE_URL_ENV_VAR = "JUPYTERLITE_PYODIDE_URL"
3030

3131
#: probably only compatible with this version of pyodide
32-
PYODIDE_VERSION = "0.26.2"
32+
PYODIDE_VERSION = "0.26.3"
3333

3434
#: the only kind of noarch wheel piplite understands
3535
NOARCH_WHL = "py3-none-any.whl"

Diff for: packages/pyodide-kernel-extension/schema/kernel.v0.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"pyodideUrl": {
99
"description": "The path to the main pyodide.js entry point",
1010
"type": "string",
11-
"default": "https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js",
11+
"default": "https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide.js",
1212
"format": "uri"
1313
},
1414
"disablePyPIFallback": {

Diff for: packages/pyodide-kernel-extension/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const KERNEL_ICON_URL = `data:image/svg+xml;base64,${btoa(KERNEL_ICON_SVG_STR)}`
2020
/**
2121
* The default CDN fallback for Pyodide
2222
*/
23-
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js';
23+
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide.js';
2424

2525
/**
2626
* The id for the extension, and key in the litePlugins.

Diff for: packages/pyodide-kernel/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@types/jest": "^29.5.4",
6767
"esbuild": "^0.19.2",
6868
"jest": "^29.7.0",
69-
"pyodide": "0.26.2",
69+
"pyodide": "0.26.3",
7070
"rimraf": "^5.0.1",
7171
"ts-jest": "^26.3.0",
7272
"typescript": "~5.2.2"

Diff for: yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -2987,7 +2987,7 @@ __metadata:
29872987
comlink: ^4.4.1
29882988
esbuild: ^0.19.2
29892989
jest: ^29.7.0
2990-
pyodide: 0.26.2
2990+
pyodide: 0.26.3
29912991
rimraf: ^5.0.1
29922992
ts-jest: ^26.3.0
29932993
typescript: ~5.2.2
@@ -10895,12 +10895,12 @@ __metadata:
1089510895
languageName: node
1089610896
linkType: hard
1089710897

10898-
"pyodide@npm:0.26.2":
10899-
version: 0.26.2
10900-
resolution: "pyodide@npm:0.26.2"
10898+
"pyodide@npm:0.26.3":
10899+
version: 0.26.3
10900+
resolution: "pyodide@npm:0.26.3"
1090110901
dependencies:
1090210902
ws: ^8.5.0
10903-
checksum: f8b11470a69f82609af9e1a1b76905dfd5baa42f86ce5488c44b82271af46252006bb73639f8d89aee11b9fb07d1e9de037ff5472aa76f1b4ff4e9fe09d7e839
10903+
checksum: d386789b815dc90af45d6832d365824c38e90a0e762a2a60dfd5493cd7fccf4e6b31327dc0671b465dde6cdd1a35554786ccf21ec01a8d903686c1c25ee980e4
1090410904
languageName: node
1090510905
linkType: hard
1090610906

0 commit comments

Comments
 (0)