@@ -306,11 +306,11 @@ def _input_file_to_arg(input_file):
306
306
def _py_wheel_impl (ctx ):
307
307
abi = _replace_make_variables (ctx .attr .abi , ctx )
308
308
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 )
310
310
311
311
filename_segments = [
312
312
_escape_filename_distribution_name (ctx .attr .distribution ),
313
- version .normalize (version ),
313
+ version .normalize (version_str ),
314
314
_escape_filename_segment (python_tag ),
315
315
_escape_filename_segment (abi ),
316
316
_escape_filename_segment (ctx .attr .platform ),
@@ -343,7 +343,7 @@ def _py_wheel_impl(ctx):
343
343
344
344
args = ctx .actions .args ()
345
345
args .add ("--name" , ctx .attr .distribution )
346
- args .add ("--version" , version )
346
+ args .add ("--version" , version_str )
347
347
args .add ("--python_tag" , python_tag )
348
348
args .add ("--abi" , abi )
349
349
args .add ("--platform" , ctx .attr .platform )
0 commit comments