def METHOD_NAME(version):
    # Debian has the python version set to 2.7.15+ which is not PEP440 compliant (bug 914072)
    if version.endswith("+"):
        version = version[:-1]
    if version[0].lower() == "v":
        version = version[1:]
    return version.strip()