pinokiod 3.2.111 → 3.2.113
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 +8 -9
- package/kernel/bin/index.js +10 -8
- package/kernel/bin/py.js +1 -0
- package/kernel/bin/uv.js +1 -1
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -12,7 +12,8 @@ class Conda {
|
|
|
12
12
|
},
|
|
13
13
|
win32: {
|
|
14
14
|
//x64: "https://github.com/cocktailpeanut/miniconda/releases/download/v23.5.2/Miniconda3-py310_23.5.2-0-Windows-x86_64.exe",
|
|
15
|
-
x64: "https://repo.anaconda.com/miniconda/Miniconda3-py310_24.5.0-0-Windows-x86_64.exe"
|
|
15
|
+
//x64: "https://repo.anaconda.com/miniconda/Miniconda3-py310_24.5.0-0-Windows-x86_64.exe"
|
|
16
|
+
x64: "https://repo.anaconda.com/miniconda/Miniconda3-py311_24.11.1-0-Windows-x86_64.exe"
|
|
16
17
|
},
|
|
17
18
|
linux: {
|
|
18
19
|
//x64: "https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-Linux-x86_64.sh",
|
|
@@ -64,8 +65,8 @@ create_default_packages:
|
|
|
64
65
|
}
|
|
65
66
|
let pinned_exists = await this.kernel.exists("bin/miniconda/conda-meta")
|
|
66
67
|
if (pinned_exists) {
|
|
67
|
-
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.
|
|
68
|
-
conda-libmamba-solver=24.11.1`)
|
|
68
|
+
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.1`
|
|
69
|
+
//conda-libmamba-solver=24.11.1`)
|
|
69
70
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.9.0`)
|
|
70
71
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.2
|
|
71
72
|
//conda-libmamba-solver=24.11.1`)
|
|
@@ -112,8 +113,8 @@ conda-libmamba-solver=24.11.1`)
|
|
|
112
113
|
// set pinned
|
|
113
114
|
let pinned_exists = await this.kernel.exists("bin/miniconda/conda-meta")
|
|
114
115
|
if (pinned_exists) {
|
|
115
|
-
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.
|
|
116
|
-
conda-libmamba-solver=24.11.1`)
|
|
116
|
+
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.1`)
|
|
117
|
+
//conda-libmamba-solver=24.11.1`)
|
|
117
118
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.9.0`)
|
|
118
119
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.2
|
|
119
120
|
//conda-libmamba-solver=24.11.1`)
|
|
@@ -137,13 +138,11 @@ conda-libmamba-solver=24.11.1`)
|
|
|
137
138
|
// "conda install libsqlite --force-reinstall -y",
|
|
138
139
|
// `conda config --file ${this.kernel.path('condarc')} --set auto_update_conda False`,
|
|
139
140
|
//"conda install -y conda=24.9.0 -vvv --strict-channel-priority",
|
|
140
|
-
"conda install -y conda=24.11.3 conda-libmamba-solver=24.11.1 -vvv",
|
|
141
|
+
//"conda install -y conda=24.11.3 conda-libmamba-solver=24.11.1 -vvv",
|
|
141
142
|
//"conda install -y conda-libmamba-solver=24.7.0 conda=24.7.1 -vvv --strict-channel-priority",
|
|
142
143
|
//"conda install -y conda-libmamba-solver=24.11.1 conda=24.7.1",
|
|
143
144
|
//"conda install -y conda-libmamba-solver=24.11.1 conda=24.11.2",
|
|
144
|
-
"conda
|
|
145
|
-
"conda update -y --all -vvv",
|
|
146
|
-
"conda clean -y --all",
|
|
145
|
+
"conda update -y --all",
|
|
147
146
|
// "conda update -y conda",
|
|
148
147
|
// "conda update -y --all",
|
|
149
148
|
]
|
package/kernel/bin/index.js
CHANGED
|
@@ -268,19 +268,20 @@ class Bin {
|
|
|
268
268
|
let version = chunks[1]
|
|
269
269
|
conda.add(name)
|
|
270
270
|
if (name === "conda") {
|
|
271
|
-
if (String(version) === "24.11.
|
|
271
|
+
if (String(version) === "24.11.1") {
|
|
272
|
+
//if (String(version) === "24.11.3") {
|
|
272
273
|
//if (String(version) === "24.9.0") {
|
|
273
274
|
//if (String(version) === "24.7.1") {
|
|
274
275
|
//if (String(version) === "24.11.2") {
|
|
275
276
|
conda_check.conda = true
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
|
-
if (name === "conda-libmamba-solver") {
|
|
279
|
-
//if (String(version) === "24.7.0") {
|
|
280
|
-
if (String(version) === "24.11.1") {
|
|
281
|
-
conda_check.mamba = true
|
|
282
|
-
}
|
|
283
|
-
}
|
|
279
|
+
// if (name === "conda-libmamba-solver") {
|
|
280
|
+
// //if (String(version) === "24.7.0") {
|
|
281
|
+
// if (String(version) === "24.11.1") {
|
|
282
|
+
// conda_check.mamba = true
|
|
283
|
+
// }
|
|
284
|
+
// }
|
|
284
285
|
}
|
|
285
286
|
} else {
|
|
286
287
|
if (/name.*version.*build.*channel/i.test(line)) {
|
|
@@ -291,7 +292,8 @@ class Bin {
|
|
|
291
292
|
}
|
|
292
293
|
|
|
293
294
|
console.log({ conda_check })
|
|
294
|
-
if (conda_check.conda && conda_check.mamba) {
|
|
295
|
+
//if (conda_check.conda && conda_check.mamba) {
|
|
296
|
+
if (conda_check.conda) {
|
|
295
297
|
this.correct_conda = true
|
|
296
298
|
}
|
|
297
299
|
|
package/kernel/bin/py.js
CHANGED
package/kernel/bin/uv.js
CHANGED
|
@@ -5,7 +5,7 @@ const decompress = require('decompress');
|
|
|
5
5
|
class UV {
|
|
6
6
|
async install(req, ondata) {
|
|
7
7
|
await this.kernel.bin.exec({
|
|
8
|
-
message: "conda install -y -c conda-forge uv
|
|
8
|
+
message: "conda install -y -c conda-forge uv",
|
|
9
9
|
// conda: {
|
|
10
10
|
// name: "base",
|
|
11
11
|
// activate: "minimal"
|