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 a111a5a commit ba73f2cCopy full SHA for ba73f2c
1 file changed
python/private/pypi/whl_library.bzl
@@ -359,8 +359,8 @@ def _whl_library_impl(rctx):
359
enable_pipstar_extract = enable_pipstar and rp_config.bazel_8_or_later
360
361
# When pipstar is enabled, Python isn't used, so there's no need
362
- # to setup env vars to run Python.
363
- if enable_pipstar_extract:
+ # to setup env vars to run Python, unless we need to build an sdist
+ if enable_pipstar_extract and whl_path:
364
environment = {}
365
else:
366
# Manually construct the PYTHONPATH since we cannot use the toolchain here
0 commit comments