pinokiod 3.2.8 → 3.2.9
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/kernel/bin/conda.js +11 -2
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -104,8 +104,17 @@ create_default_packages:
|
|
|
104
104
|
// - defaults
|
|
105
105
|
//create_default_packages:
|
|
106
106
|
// - python=3.10`)
|
|
107
|
+
let cmds = [
|
|
108
|
+
"conda clean -y --index-cache",
|
|
109
|
+
"conda update -y --all",
|
|
110
|
+
]
|
|
111
|
+
if (this.kernel.platform === "win32") {
|
|
112
|
+
cmds.push("conda install conda=24.9.0")
|
|
113
|
+
}
|
|
114
|
+
|
|
107
115
|
await this.kernel.bin.exec({
|
|
108
|
-
message:
|
|
116
|
+
message: cmds
|
|
117
|
+
// [
|
|
109
118
|
// (this.kernel.platform === 'win32' ? 'conda_hook' : `eval "$(conda shell.bash hook)"`),
|
|
110
119
|
// (this.platform === 'win32' ? `activate base` : `conda activate base`),
|
|
111
120
|
/*
|
|
@@ -138,7 +147,7 @@ create_default_packages:
|
|
|
138
147
|
//"conda install -y -c conda-forge pip brotli brotlipy",
|
|
139
148
|
// "conda update --all",
|
|
140
149
|
// "conda update -y --all",
|
|
141
|
-
]
|
|
150
|
+
// ]
|
|
142
151
|
}, (stream) => {
|
|
143
152
|
ondata(stream)
|
|
144
153
|
})
|