We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88189be commit e13ecb8Copy full SHA for e13ecb8
python/private/pypi/whl_library.bzl
@@ -324,11 +324,9 @@ def _whl_library_impl(rctx):
324
325
args = _parse_optional_attrs(rctx, args, extra_pip_args)
326
327
- enable_pipstar = rp_config.enable_pipstar and rctx.attr.config_load
328
- if whl_path:
329
- # Enable pipstar for any whls that are downloaded without `pip`
330
- enable_pipstar = True
331
- else:
+ # also enable pipstar for any whls that are downloaded without `pip`
+ enable_pipstar = (rp_config.enable_pipstar or whl_path) and rctx.attr.config_load
+ if not whl_path:
332
if rctx.attr.urls:
333
op_tmpl = "whl_library.BuildWheelFromSource({name}, {requirement})"
334
elif rctx.attr.download_only:
0 commit comments