Skip to content

Commit 83e807a

Browse files
authored
Fixes to bazel file (#12)
* Actually put metadata into bazel file * Include all_wheels_hash since we need this info
1 parent 2dd674a commit 83e807a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def gen_bzl_config(tag: str, dist: Path) -> None:
4747

4848
packages_lock_name = "packages_" + tag.replace(".", "_")
4949
packages_lock_name_upper = packages_lock_name.upper()
50-
info = {"tag": tag, "lockfile_hash": lock_hash}
50+
info = {"tag": tag, "lockfile_hash": lock_hash, "all_wheels_hash": all_wheels_hash}
5151
json_contents = {"info": info, "packages": imports_to_test}
52-
packages_lock_json = indent(json.dumps(imports_to_test, indent=3, sort_keys=True), " "*12).strip()
52+
packages_lock_json = indent(json.dumps(json_contents, indent=3, sort_keys=True), " "*12).strip()
5353
Path(dist / (packages_lock_name + ".bzl")).write_text(
5454
dedent(
5555
f"""\

0 commit comments

Comments
 (0)