def METHOD_NAME(manifest, bucket, root, configname, prnt=None):
    manifest = io.BytesIO(json.dumps(manifest, indent=4).encode("utf-8"))
    manifest.seek(0)
    mkey = os.path.join(
        root, "manifest.%s.json" % configname if configname else "manifest.json"
    )
    if prnt:
        prnt("Uploading new manifest [%s]" % mkey)
    bucket.upload_blob(manifest, mkey, meta_data={})