pinokiod 3.7.0 → 3.7.2

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.
Files changed (2) hide show
  1. package/kernel/shell.js +8 -2
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -121,6 +121,12 @@ class Shell {
121
121
  this.env.CMAKE_OBJECT_PATH_MAX = 1024
122
122
  this.env.PYTORCH_ENABLE_MPS_FALLBACK = 1
123
123
  this.env.TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD = 1
124
+ if (this.platform === 'win32') {
125
+ this.env.USERPROFILE = this.kernel.homedir
126
+ } else {
127
+ this.env.HOME = this.kernel.homedir
128
+ }
129
+
124
130
  // this.env.PIP_REQUIRE_VIRTUALENV = "true"
125
131
  // this.env.NPM_CONFIG_USERCONFIG = this.kernel.path("user_npmrc")
126
132
  // this.env.NPM_CONFIG_GLOBALCONFIG = this.kernel.path("global_npmrc")
@@ -809,7 +815,7 @@ class Shell {
809
815
  venv_activation = [
810
816
  `uv venv ${env_path}${python_version}`,
811
817
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
812
- `uv pip install --upgrade pip setuptools wheel`,
818
+ // `uv pip install --upgrade pip setuptools wheel`,
813
819
  deactivate_path,
814
820
  // timeout,
815
821
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
@@ -820,7 +826,7 @@ class Shell {
820
826
  venv_activation = [
821
827
  `python -m venv ${env_path}`,
822
828
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
823
- `python -m pip install --upgrade pip setuptools wheel`,
829
+ // `python -m pip install --upgrade pip setuptools wheel`,
824
830
  deactivate_path,
825
831
  // timeout,
826
832
  (this.platform === "win32" ? `${activate_path} ${env_path}` : `source ${activate_path} ${env_path}`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.7.0",
3
+ "version": "3.7.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {