pinokiod 3.2.123 → 3.2.124
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/index.js +13 -2
- package/package.json +1 -1
package/kernel/bin/index.js
CHANGED
|
@@ -288,6 +288,17 @@ class Bin {
|
|
|
288
288
|
// conda_check.mamba = true
|
|
289
289
|
// }
|
|
290
290
|
// }
|
|
291
|
+
if (name === "conda-libmamba-solver") {
|
|
292
|
+
//if (String(version) === "24.7.0") {
|
|
293
|
+
let channel = chunks[3]
|
|
294
|
+
let coerced = semver.coerce(version)
|
|
295
|
+
let mamba_requirement = ">=24.11.1"
|
|
296
|
+
console.log({ name, channel, version })
|
|
297
|
+
if (semver.satisfies(coerced, mamba_requirement) && channel === "conda-forge") {
|
|
298
|
+
conda_check.mamba = true
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
291
302
|
|
|
292
303
|
// Use sqlite to check if `conda update -y --all` went through successfully
|
|
293
304
|
// sometimes it just fails silently so need to check
|
|
@@ -312,8 +323,8 @@ class Bin {
|
|
|
312
323
|
}
|
|
313
324
|
|
|
314
325
|
console.log({ conda_check })
|
|
315
|
-
|
|
316
|
-
if (conda_check.conda && conda_check.sqlite) {
|
|
326
|
+
if (conda_check.conda && conda_check.mamba && conda_check.sqlite) {
|
|
327
|
+
//if (conda_check.conda && conda_check.sqlite) {
|
|
317
328
|
//if (conda_check.conda) {
|
|
318
329
|
this.correct_conda = true
|
|
319
330
|
}
|