File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ def _whl_library_impl(rctx):
372
372
# NOTE @aignas 2025-09-28: if someone has an old vendored file that does not have the
373
373
# dep_template set or the packages is not set either, we should still not break, best to
374
374
# disable pipstar for that particular case.
375
- if rp_config .enable_pipstar and (rctx .dep_template or rctx .packages ):
375
+ if rp_config .enable_pipstar and (rctx .attr . dep_template or rctx . attr .packages ):
376
376
pypi_repo_utils .execute_checked (
377
377
rctx ,
378
378
op = "whl_library.ExtractWheel({}, {})" .format (rctx .attr .name , whl_path ),
@@ -422,12 +422,10 @@ def _whl_library_impl(rctx):
422
422
logger = logger ,
423
423
)
424
424
425
- dep_template = rctx .attr .dep_template
426
-
427
425
build_file_contents = generate_whl_library_build_bazel (
428
426
name = whl_path .basename ,
429
427
sdist_filename = sdist_filename ,
430
- dep_template = dep_template or "@{}{{name}}//:{{target}}" .format (
428
+ dep_template = rctx . attr . dep_template or "@{}{{name}}//:{{target}}" .format (
431
429
rctx .attr .repo_prefix ,
432
430
),
433
431
packages = rctx .attr .packages ,
You can’t perform that action at this time.
0 commit comments