Python check B2G versions