stronger python package version parsing