@@ -101,10 +101,10 @@ def _py_venv_base_impl(ctx):
101
101
rfs = _py_library .make_merged_runfiles (
102
102
ctx ,
103
103
extra_depsets = [
104
- py_toolchain .files ,
105
- srcs_depset ,
106
- ] + virtual_resolution .srcs + virtual_resolution .runfiles +
107
- ([py_toolchain .files ] if py_toolchain .runfiles_interpreter else []),
104
+ py_toolchain .files ,
105
+ srcs_depset ,
106
+ ] + virtual_resolution .srcs + virtual_resolution .runfiles +
107
+ ([py_toolchain .files ] if py_toolchain .runfiles_interpreter else []),
108
108
extra_runfiles_depsets = [
109
109
ctx .attr ._runfiles_lib [DefaultInfo ].default_runfiles ,
110
110
],
@@ -135,11 +135,11 @@ def _py_venv_base_impl(ctx):
135
135
),
136
136
"--include-system-site-packages=" + ({
137
137
True : "true" ,
138
- False : "false"
138
+ False : "false" ,
139
139
}[ctx .attr .include_system_site_packages ]),
140
140
"--include-user-site-packages=" + ({
141
141
True : "true" ,
142
- False : "false"
142
+ False : "false" ,
143
143
}[ctx .attr .include_system_site_packages ]),
144
144
] + (["--debug" ] if ctx .attr .debug else []),
145
145
inputs = rfs .merge_all ([
@@ -318,9 +318,9 @@ to be unusable. Many libraries assume these packages will always be available
318
318
and may not reliably declare their dependencies such that Bazel will satisfy
319
319
them, so choosing isolation could expose packaging errors.
320
320
321
- """
321
+ """ ,
322
322
),
323
- "include_user_site_packages" : attr .bool (
323
+ "include_user_site_packages" : attr .bool (
324
324
default = False ,
325
325
doc = """`pyvenv.cfg` feature flag for the `aspect-include-user-site-packages` extension key.
326
326
@@ -336,7 +336,7 @@ to be unusable. Many libraries assume these packages will always be available
336
336
and may not reliably declare their dependencies such that Bazel will satisfy
337
337
them, so choosing isolation could expose packaging errors.
338
338
339
- """
339
+ """ ,
340
340
),
341
341
})
342
342
0 commit comments