Skip to content

Commit d43a66b

Browse files
authored
Update python/private/pypi/whl_library.bzl
1 parent eea66c1 commit d43a66b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/private/pypi/whl_library.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def _whl_library_impl(rctx):
351351

352352
# When pipstar is enabled, Python isn't used, so there's no need
353353
# to setup env vars to run Python, unless we need to build an sdist
354-
if enable_pipstar_extract and whl_path:
354+
if enable_pipstar_extract and whl_path and not rctx.attr.patches:
355355
environment = {}
356356
args = []
357357
python_interpreter = None

0 commit comments

Comments
 (0)