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

Update to pyodide 0.26.3 #139

Merged
merged 4 commits into from
Oct 21, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Distributions
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupyterlite-pyodide-kernel-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
2 changes: 1 addition & 1 deletion .github/workflows/rtd-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Comment on the PR with the ReadTheDocs preview
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
cat *.txt

- name: Upload extension packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
path: dist
if-no-files-found: error

- name: Upload test config
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pyproject-toml
path: pyproject.toml
Expand All @@ -93,7 +93,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: dist
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
cd tmp
jupyter lite check || exit 1

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: pyproject-toml

Expand All @@ -165,7 +165,7 @@ jobs:

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

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: dist
name: jupyterlite-pyodide-kernel-dist-${{ github.run_number }}
Expand Down Expand Up @@ -218,9 +218,10 @@ jobs:

- name: Upload Playwright Test report
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupyterlite-pyodide-kernel-playwright-tests
name: |-
jupyterlite-pyodide-kernel-playwright-tests-${{ github.run_number }}-${{ matrix.project }}
path: |
ui-tests/test-results
ui-tests/playwright-report
2 changes: 1 addition & 1 deletion examples/jupyter-lite.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@jupyterlite/pyodide-kernel-extension:kernel": {
"loadPyodideOptions": {
"packages": ["matplotlib", "micropip", "numpy", "sqlite3", "ssl"],
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide-lock.json?from-lite-config=1"
"lockFileURL": "https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide-lock.json?from-lite-config=1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jupyterlite_pyodide_kernel/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
PYODIDE_URL_ENV_VAR = "JUPYTERLITE_PYODIDE_URL"

#: probably only compatible with this version of pyodide
PYODIDE_VERSION = "0.26.2"
PYODIDE_VERSION = "0.26.3"

#: the only kind of noarch wheel piplite understands
NOARCH_WHL = "py3-none-any.whl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"pyodideUrl": {
"description": "The path to the main pyodide.js entry point",
"type": "string",
"default": "https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js",
"default": "https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide.js",
"format": "uri"
},
"disablePyPIFallback": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pyodide-kernel-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const KERNEL_ICON_URL = `data:image/svg+xml;base64,${btoa(KERNEL_ICON_SVG_STR)}`
/**
* The default CDN fallback for Pyodide
*/
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.26.2/full/pyodide.js';
const PYODIDE_CDN_URL = 'https://cdn.jsdelivr.net/pyodide/v0.26.3/full/pyodide.js';

/**
* The id for the extension, and key in the litePlugins.
Expand Down
2 changes: 1 addition & 1 deletion packages/pyodide-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/jest": "^29.5.4",
"esbuild": "^0.19.2",
"jest": "^29.7.0",
"pyodide": "0.26.2",
"pyodide": "0.26.3",
"rimraf": "^5.0.1",
"ts-jest": "^26.3.0",
"typescript": "~5.2.2"
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ __metadata:
comlink: ^4.4.1
esbuild: ^0.19.2
jest: ^29.7.0
pyodide: 0.26.2
pyodide: 0.26.3
rimraf: ^5.0.1
ts-jest: ^26.3.0
typescript: ~5.2.2
Expand Down Expand Up @@ -10895,12 +10895,12 @@ __metadata:
languageName: node
linkType: hard

"pyodide@npm:0.26.2":
version: 0.26.2
resolution: "pyodide@npm:0.26.2"
"pyodide@npm:0.26.3":
version: 0.26.3
resolution: "pyodide@npm:0.26.3"
dependencies:
ws: ^8.5.0
checksum: f8b11470a69f82609af9e1a1b76905dfd5baa42f86ce5488c44b82271af46252006bb73639f8d89aee11b9fb07d1e9de037ff5472aa76f1b4ff4e9fe09d7e839
checksum: d386789b815dc90af45d6832d365824c38e90a0e762a2a60dfd5493cd7fccf4e6b31327dc0671b465dde6cdd1a35554786ccf21ec01a8d903686c1c25ee980e4
languageName: node
linkType: hard

Expand Down
Loading