Skip to content

Commit fe241d5

Browse files
authored
Update to JupyterLite 0.6.0b0 (#7)
* Update to JupyterLite 0.6.0b0 * trigger spec refresh
1 parent 24873e8 commit fe241d5

File tree

6 files changed

+417
-425
lines changed

6 files changed

+417
-425
lines changed

.binder/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.
2-
jupyterlite-pyodide-kernel>=0.6.0a5,<0.7.0
3-
jupyterlab>=4.4.0,<5
4-
notebook>=7.4.0,<8
2+
jupyterlite-pyodide-kernel>=0.6.0a6,<0.7.0
3+
jupyterlab>=4.4.2,<5
4+
notebook>=7.4.2,<8

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,6 @@ folder is located. Then you can remove the symlink named `jupyterlab-hybrid-kern
121121

122122
### Testing the extension
123123

124-
#### Frontend tests
125-
126-
This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.
127-
128-
To execute them, execute:
129-
130-
```sh
131-
jlpm
132-
jlpm test
133-
```
134-
135124
#### Integration tests
136125

137126
This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,20 @@
5454
"watch:labextension": "jupyter labextension watch ."
5555
},
5656
"dependencies": {
57-
"@jupyterlab/application": "^4.4.1",
58-
"@jupyterlab/coreutils": "^6.4.0",
59-
"@jupyterlab/services": "^7.4.1",
60-
"@jupyterlab/settingregistry": "^4.4.1",
61-
"@jupyterlite/contents": "^0.6.0-alpha.9",
62-
"@jupyterlite/kernel": "^0.6.0-alpha.9",
63-
"@jupyterlite/server": "^0.6.0-alpha.9",
64-
"@jupyterlite/session": "^0.6.0-alpha.9",
65-
"@lumino/signaling": "^2.1.3",
57+
"@jupyterlab/application": "^4.4.2",
58+
"@jupyterlab/coreutils": "^6.4.2",
59+
"@jupyterlab/services": "^7.4.2",
60+
"@jupyterlab/settingregistry": "^4.4.2",
61+
"@jupyterlite/contents": "^0.6.0-beta.0",
62+
"@jupyterlite/kernel": "^0.6.0-beta.0",
63+
"@jupyterlite/server": "^0.6.0-beta.0",
64+
"@jupyterlite/session": "^0.6.0-beta.0",
65+
"@lumino/signaling": "^2.1.4",
6666
"mock-socket": "^9.3.1"
6767
},
6868
"devDependencies": {
69-
"@jupyterlab/builder": "^4.4.1",
70-
"@jupyterlab/testutils": "^4.4.1",
71-
"@types/emscripten": "^1.40.1",
69+
"@jupyterlab/builder": "^4.4.2",
70+
"@jupyterlab/testutils": "^4.4.2",
7271
"@types/json-schema": "^7.0.11",
7372
"@types/react": "^18.0.26",
7473
"@types/react-addons-linked-state-mixin": "^0.14.22",

src/kernelspec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export class HybridKernelSpecManager
2727
kernelSpecAPIClient,
2828
serverSettings
2929
});
30+
// lite kernels specs may be added late in the plugin activation process
31+
kernelSpecs.changed.connect(() => {
32+
this.refreshSpecs();
33+
});
3034
}
3135

3236
/**

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"rootDir": "src",
1919
"strict": true,
2020
"strictNullChecks": true,
21-
"target": "ES2020",
22-
"types": ["jest", "emscripten"]
21+
"target": "ES2020"
2322
},
2423
"include": ["src/*"]
2524
}

0 commit comments

Comments
 (0)