pinokiod 3.2.123 → 3.2.125

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.
@@ -156,7 +156,7 @@ create_default_packages:
156
156
  const installer_url = this.urls[this.kernel.platform][this.kernel.arch]
157
157
  const installer = this.installer[this.kernel.platform]
158
158
  const install_path = this.kernel.bin.path("miniconda")
159
- let install_path_exists = await this.kernel.exists("miniconda")
159
+ let install_path_exists = await this.kernel.exists("bin/miniconda")
160
160
  if (install_path_exists) {
161
161
  console.log("Install path already exists. Removing...", install_path)
162
162
  await fs.promises.rm(install_path, { recursive: true }).catch((e) => {
@@ -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
- //if (conda_check.conda && conda_check.mamba && conda_check.sqlite) {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.123",
3
+ "version": "3.2.125",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {