Browse Source

Upgrade script does not replace dev deps to caret

Jeremy Tuloup 4 years ago
parent
commit
29b097c9bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jupyterlab/upgrade_extension.py

+ 1 - 1
jupyterlab/upgrade_extension.py

@@ -94,7 +94,7 @@ def update_extension(target, interactive=True):
         temp_data = json.load(fid)
 
     for (key, value) in temp_data['devDependencies'].items():
-        data['devDependencies'][key] = value.replace('~', '^')
+        data['devDependencies'][key] = value
 
     # Ask the user whether to upgrade the scripts automatically
     warnings = []