pinokiod 1.3.12 → 1.3.13
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 +1 -1
- package/kernel/shell.js +1 -0
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -73,7 +73,7 @@ class Conda {
|
|
|
73
73
|
message: [
|
|
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 --file ${this.kernel.bin.path('miniconda', 'condarc')} --add create_default_packages python=3.10`,
|
|
77
77
|
//"conda update -y conda",
|
|
78
78
|
"conda update -y --all",
|
|
79
79
|
// handling the conda-libmamba-solver bug here: https://github.com/conda/conda-libmamba-solver/issues/283
|
package/kernel/shell.js
CHANGED
|
@@ -125,6 +125,7 @@ class Shell {
|
|
|
125
125
|
this.env.XDG_STATE_HOME = path.resolve(this.kernel.homedir, "cache", "XDG_STATE_HOME")
|
|
126
126
|
this.env.GRADIO_TEMP_DIR = path.resolve(this.kernel.homedir, "cache", "GRADIO_TEMP_DIR")
|
|
127
127
|
this.env.PIP_CONFIG_FILE = path.resolve(this.kernel.homedir, "pipconfig")
|
|
128
|
+
this.env.CONDARC = path.resolve(this.kernel.homedir, "bin", "miniconda", "condarc")
|
|
128
129
|
|
|
129
130
|
this.env.PS1 = "<<PINOKIO SHELL>> "
|
|
130
131
|
// this.env.PROMPT_COMMAND = "export PS1=\"<<PINOKIO SHELL>> \""
|