Pip is picking the newest release from a list of strings.
versions = ["1.9.0", "1.10.0", "1.2.0"] print(max(versions))
1.2.0
1.10.0
1.9.0
TypeError: can't compare versions