github.com/google/osv-scalibr@v0.4.1/semantic/testdata/pypi-versions.txt (about)

     1  1.36.0rc1 > 1.35.0
     2  1.36.1 > 1.36.0
     3  0.3.0 > 0
     4  
     5  1.0.0+local > 1.0.0
     6  
     7  // 1.0.0+local <=1.0.0 True
     8  // 1.0.0+local >=1.0.0 True
     9  // 1.0.0+local < 1.0.0 False
    10  // 1.0.0+local > 1.0.0 False
    11  
    12  1.0.0.dev1 < 1.0.0
    13  1.0.0.dev1 < 1.0.0.dev2
    14  
    15  1.0.dev0 < 1.0a0
    16  1.2a3.dev4 < 1.2a3.dev5
    17  1.2b3.dev4 < 1.2b3.dev5
    18  1.2b3.DEV4 < 1.2b3.dev5
    19  1.2b3.dev4 < 1.2b3.DEV5
    20  1.2a3.dev4 < 1.2b3.dev4
    21  1.2.post3.dev4 > 1.2b3.dev4
    22  
    23  // 2019.12.304 // advent-of-code
    24  2.0.0a1 < 2.0.0rc1
    25  
    26  0.9.alpha < 1.0
    27  0.9.beta < 1.0
    28  0.9.c < 1.0
    29  0.9.pre < 1.0
    30  0.9.preview < 1.0
    31  0.9.rev < 1.0
    32  0.9.r < 1.0
    33  
    34  1.0.0+local.0 < 1.0.0+local.0.1
    35  1.0.0+local.a < 1.0.0+local.1
    36  1.0.0+local = 1.0.0+local
    37  
    38  // implicit post release syntax
    39  1.0-1 < 1.0-2
    40  
    41  // epoch comparing
    42  1!1.0 < 2!1.0
    43  
    44  // legacy versions - we include some here because the generated fixtures may not include
    45  // them in future if run with a version of "packaging" that no longer supports them
    46  // (as it will consider them invalid, so they'll be dropped)
    47  0.1-bulbasaur < 0.1-charmander
    48  0.1-charmander < 0.9-doduo
    49  0.9-doduo < 0.9-eevee
    50  0.9-eevee < 0.9-fearow
    51  0.9-fearow < 0.9-gyarados
    52  0.9-gyarados < 0.9-horsea
    53  0.9-horsea < 0.9-ivysaur
    54  0.9-ivysaur < 1.0
    55  
    56  -class.-jw.util.version.version-pre < 1.0
    57  -class.-jw.util.version.version-preview < 1.0
    58  -class.-jw.util.version.version-dev < 1.0