def METHOD_NAME(session, packages, image_name: str):
    result = {'image_name': image_name, 'licenses': []}
    if sys.version_info < (3, 8):
        future = asyncio.Future()
        future.set_result(result)
        return future
    return result