by sczi · 1y ago · 0 comments
>>> from packaging.version import Version
>>> Version("1.2.3") > Version("1.2.2")
True
>>> Version("2.0") > Version("1.2.2")
TrueI'd use `semver` from PyPI and whatever the equivalent Gem is on the Ruby side in most cases.