@scrypted/server 0.37.0 → 0.39.0

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.

Potentially problematic release.


This version of @scrypted/server might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.37.0",
3
+ "version": "0.39.0",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@mapbox/node-pre-gyp": "^1.0.10",
7
- "@scrypted/types": "^0.2.93",
7
+ "@scrypted/types": "^0.2.94",
8
8
  "adm-zip": "^0.5.10",
9
9
  "axios": "^1.4.0",
10
10
  "body-parser": "^1.20.2",
@@ -611,12 +611,13 @@ class PluginRemote:
611
611
  pipArgs = [
612
612
  sys.executable,
613
613
  '-m', 'pip', 'install', '-r', requirementstxt,
614
- # preevent uninstalling system packages
615
- '--ignore-installed',
616
614
  '--prefix', python_prefix
617
615
  ]
618
616
  if pythonVersion:
619
617
  print('Specific Python verison requested. Forcing reinstall.')
618
+ # prevent uninstalling system packages.
619
+ pipArgs.append('--ignore-installed')
620
+ # force reinstall even if it exists in system packages.
620
621
  pipArgs.append('--force-reinstall')
621
622
 
622
623
  p = subprocess.Popen(pipArgs, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)