Skip to content

Commit 85345f9

Browse files
sort deps for determinsim in BUILD outputs
1 parent 344a698 commit 85345f9

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

src/__init__.pyc

-199 Bytes
Binary file not shown.

src/extract_wheels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def extract_wheel(whl, directory, extras):
5656
# Python libraries cannot have hyphen https://github.com/bazelbuild/bazel/issues/9171
5757
[
5858
'"//%s"' % sanitise_name(d)
59-
for d in whl.dependencies(extras_requested=extras)
59+
for d in whl.dependencies(extras_requested=extras).sort()
6060
]
6161
),
6262
)
@@ -102,7 +102,7 @@ def requirement(name):
102102
name_key = name.replace("-", "_").replace(".", "_").lower()
103103
return "{repo}//pypi__" + name_key
104104
""".format(
105-
requirement_labels=",".join(targets), repo=args.repo
105+
requirement_labels=",".join(targets.sort()), repo=args.repo
106106
)
107107
)
108108

src/extract_wheels.pyc

-2.95 KB
Binary file not shown.

src/wheel.pyc

-2.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)