def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def format_results(dest_dir, distros, day):
    subprocess.check_call(
        [
            "/snap/bin/autopkgtest-results-formatter",
            "--destination",
            dest_dir,
            "--distros",
            *distros,
            "--day",
            day,
        ]
    )