Skip to content

Commit 9c8d123

Browse files
committed
fixup
1 parent 90ce28c commit 9c8d123

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/private/py_wheel.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ def _input_file_to_arg(input_file):
306306
def _py_wheel_impl(ctx):
307307
abi = _replace_make_variables(ctx.attr.abi, ctx)
308308
python_tag = _replace_make_variables(ctx.attr.python_tag, ctx)
309-
version = _replace_make_variables(ctx.attr.version, ctx)
309+
version_str = _replace_make_variables(ctx.attr.version, ctx)
310310

311311
filename_segments = [
312312
_escape_filename_distribution_name(ctx.attr.distribution),
313-
version.normalize(version),
313+
version.normalize(version_str),
314314
_escape_filename_segment(python_tag),
315315
_escape_filename_segment(abi),
316316
_escape_filename_segment(ctx.attr.platform),
@@ -343,7 +343,7 @@ def _py_wheel_impl(ctx):
343343

344344
args = ctx.actions.args()
345345
args.add("--name", ctx.attr.distribution)
346-
args.add("--version", version)
346+
args.add("--version", version_str)
347347
args.add("--python_tag", python_tag)
348348
args.add("--abi", abi)
349349
args.add("--platform", ctx.attr.platform)

0 commit comments

Comments
 (0)