def extract_build_info_from_filename(content_disposition):
    pattern = r'CommCare_CommCare_([\d\.]+)_(\d+)_artifacts.zip'
    match = re.search(pattern, content_disposition)
    if match:
        version, number = match.groups()
        return version, int(number)
    else:
        raise ValueError('Could not find filename like {!r} in {!r}'.format(
            pattern, content_disposition))
>>> extract_build_info_from_filename(
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/builds/utils.py/extract_build_info_from_filename