Skip to content

Commit 639000e

Browse files
committed
force full venv
1 parent d0b9baa commit 639000e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ common --incompatible_no_implicit_file_export
5454

5555
build --lockfile_mode=update
5656

57+
try-import user.bazelrc

python/private/py_executable.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ def _create_executable(
375375

376376
# NOTE: --build_python_zip defaults to true on Windows
377377
build_zip_enabled = read_possibly_native_flag(ctx, "build_python_zip")
378+
build_zip_enabled = False
378379

379380
# When --build_python_zip is enabled, then the zip file becomes
380381
# one of the default outputs.
@@ -540,7 +541,7 @@ def _create_venv(ctx, output_prefix, imports, runtime_details, add_runfiles_root
540541
# compatible with full venv.
541542
# TODO: Use non-build_python_zip codepath for Windows
542543
if is_windows:
543-
create_full_venv = False
544+
create_full_venv = True
544545
elif not rp_config.bazel_8_or_later and not is_bootstrap_script:
545546
# Full venv for Bazel 7 + system_python is disabled because packaging
546547
# it using build_python_zip=true or rules_pkg breaks.

0 commit comments

Comments
 (0)