Jelajahi Sumber

Only affect the x1 prerelease

Steven Silvester 5 tahun lalu
induk
melakukan
8d517e1580
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  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