bugfix pass_version int conversion
the current pass_version functions extract the version numbers as strings and not int such that the comparison done afterwards does not work correctly ('10' < '9' but 10 > 9)
This is a fix that I tested at Saclay and works fine.