File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ END_UNRELEASED_TEMPLATE
104
104
* 3.12.11
105
105
* 3.13.5
106
106
* 3.14.0b3
107
- * (rules) ` main_module ` now works without needing to set ` bootstrap_impl=script `
107
+ * (rules) {obj} ` main_module ` now works without needing to set {obj} ` -- bootstrap_impl=script`
108
108
109
109
{#v0-0-0-removed}
110
110
### Removed
Original file line number Diff line number Diff line change @@ -124,24 +124,25 @@ py_reconfig_test(
124
124
main = "sys_path_order_test.py" ,
125
125
)
126
126
127
- py_reconfig_test (
128
- name = "main_module_test " ,
127
+ py_library (
128
+ name = "main_module_lib " ,
129
129
srcs = ["main_module.py" ],
130
+ imports = ["." ],
131
+ )
132
+
133
+ py_reconfig_test (
134
+ name = "main_module_script_test" ,
130
135
bootstrap_impl = "script" ,
131
136
main_module = "tests.bootstrap_impls.main_module" ,
132
137
target_compatible_with = SUPPORTS_BOOTSTRAP_SCRIPT ,
133
- )
134
-
135
- py_library (
136
- name = "main_module_system_python_lib" ,
137
- srcs = ["main_module.py" ],
138
+ deps = [":main_module_lib" ],
138
139
)
139
140
140
141
py_reconfig_test (
141
142
name = "main_module_system_python_test" ,
142
143
bootstrap_impl = "system_python" ,
143
144
main_module = "tests.bootstrap_impls.main_module" ,
144
- deps = [":main_module_system_python_lib " ],
145
+ deps = [":main_module_lib " ],
145
146
)
146
147
147
148
sh_py_run_test (
You can’t perform that action at this time.
0 commit comments