Browse Source

Only affect the x1 prerelease

Steven Silvester 5 years ago
parent
commit
8d517e1580
1 changed files with 0 additions and 3 deletions
  1. 0 3
      jupyterlab/commands.py

+ 0 - 3
jupyterlab/commands.py

@@ -1988,9 +1988,6 @@ def _compare_ranges(spec1, spec2):
     if x1.prerelease:
         x1 = x1.inc('patch')
 
-    if x2.prerelease:
-        x2 = x2.inc('patch')
-
     o1 = r1.set[0][0].operator
     o2 = r2.set[0][0].operator