pinokiod 1.1.9 → 1.1.10

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.
@@ -74,8 +74,8 @@ class Conda {
74
74
  (this.kernel.platform === 'win32' ? 'conda_hook' : `eval "$(conda shell.bash hook)"`),
75
75
  (this.platform === 'win32' ? `activate base` : `conda activate base`),
76
76
  "conda config --add create_default_packages python=3.10",
77
- "conda install -y pip brotli brotlipy",
78
- "conda update -y --all",
77
+ "conda install -y -c conda-forge pip brotli brotlipy",
78
+ // "conda update -y --all",
79
79
  ]
80
80
  }, (stream) => {
81
81
  ondata(stream)
package/kernel/shell.js CHANGED
@@ -512,6 +512,12 @@ class Shell {
512
512
  }
513
513
  }
514
514
  }
515
+ if (params.env) {
516
+ params.env.CONDA_PIP_INTEROP_ENABLED = "1"
517
+ params.env.CONDA_AUTO_ACTIVATE_BASE = "false"
518
+ } else {
519
+ params.env = { CONDA_PIP_INTEROP_ENABLED: "1", CONDA_AUTO_ACTIVATE_BASE: "false" }
520
+ }
515
521
  } else if (params.venv) {
516
522
  let env_path = path.resolve(params.path, params.venv)
517
523
  let activate_path = (this.platform === 'win32' ? path.resolve(env_path, "Scripts", "activate") : path.resolve(env_path, "bin", "activate"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {