Open prabhu opened 1 year ago
Looks like univers is doing well.
>>> from univers.versions import *
>>> a=DebianVersion("1.1.0j-1~deb9u1")
>>> b=DebianVersion("1.1.0f-3+deb9u1")
>>> a>b
True
>>> b>a
False
>>> c = DebianVersion("20210119~20.04.2")
>>> d = DebianVersion("20211016ubuntu0.20.04.1")
>>> c>d
False
>>> d>c
True
https://github.com/nexB/univers