It should *be* a version comparison. We are guaranteed to get a two-element version number, which also parses as a float but a float doesn't correctly handle version sorting when the second component differs in number of digits. The standard way to handle this is by comparing tuples such that each component is an integer. Do so here. Fixes #12195 Co-authored-by: George Koehler <xkernigh@netscape.net> (for unittests)pull/12210/head
parent
fb6fd5aa17
commit
5b317c5658
2 changed files with 10 additions and 4 deletions
Loading…
Reference in new issue