@jupyterlite/xeus 3.0.0-a2 → 3.0.0-a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/worker.js
CHANGED
|
@@ -106,16 +106,8 @@ export class XeusRemoteKernel {
|
|
|
106
106
|
const verbose = true;
|
|
107
107
|
const packagesJsonUrl = `${kernel_root_url}/empack_env_meta.json`;
|
|
108
108
|
const pkgRootUrl = URLExt.join(baseUrl, 'xeus/kernel_packages');
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if (kernelSpec.name === 'xpython') {
|
|
112
|
-
if (Object.keys(packageData).length) {
|
|
113
|
-
const { pythonVersion, prefix } = packageData;
|
|
114
|
-
if (pythonVersion) {
|
|
115
|
-
globalThis.Module.init_phase_2(prefix, pythonVersion, verbose);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
109
|
+
const bootstrapPython = kernelSpec.name === 'xpython';
|
|
110
|
+
await bootstrapFromEmpackPackedEnvironment(packagesJsonUrl, verbose, false, globalThis.Module, pkgRootUrl, bootstrapPython);
|
|
119
111
|
}
|
|
120
112
|
await waitRunDependency();
|
|
121
113
|
rawXKernel = new globalThis.Module.xkernel();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlite/xeus",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-a3",
|
|
4
4
|
"description": "JupyterLite Xeus kernels",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"watch:src": "tsc -w --sourceMap"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@emscripten-forge/mambajs": "^0.
|
|
39
|
+
"@emscripten-forge/mambajs": "^0.2.0",
|
|
40
40
|
"@jupyterlab/coreutils": "^6",
|
|
41
41
|
"@jupyterlab/services": "~7.2.5",
|
|
42
42
|
"@jupyterlite/contents": "^0.2.0 || ^0.3.0 || ^0.4.5",
|