pinokiod 3.4.14 → 3.4.15
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/shell.js +8 -8
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -767,20 +767,20 @@ class Shell {
|
|
|
767
767
|
let python_version = ""
|
|
768
768
|
let use_uv = false
|
|
769
769
|
if (typeof params.venv === "string") {
|
|
770
|
+
console.log("params =" ,params)
|
|
770
771
|
env_path = path.resolve(params.path, params.venv)
|
|
772
|
+
console.log({ env_path })
|
|
771
773
|
if (params.venv_python) {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
774
|
+
console.log("isNumber", isNumber(parahs.venv_python))
|
|
775
|
+
console.log({ venv_python: params.venv_python })
|
|
776
|
+
python_version = ` --python ${params.venv_python}`
|
|
777
|
+
use_uv = true
|
|
776
778
|
}
|
|
777
779
|
} else if (typeof params.venv === "object" && params.venv.path) {
|
|
778
780
|
env_path = path.resolve(params.path, params.venv.path)
|
|
779
781
|
if (params.venv.python) {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
use_uv = true
|
|
783
|
-
}
|
|
782
|
+
python_version = ` --python ${params.venv.python}`
|
|
783
|
+
use_uv = true
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
if (env_path) {
|