Skip to content

Commit 97ea57b

Browse files
authored
perf: avoid compiling unused bytecode (#752)
* perf: avoid compiling unused bytecode Signed-off-by: Henry Schreiner <[email protected]> * tests: also update test Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]>
1 parent 327f280 commit 97ea57b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/build/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def install_requirements(self, requirements: Collection[str]) -> None:
261261
'install',
262262
'--use-pep517',
263263
'--no-warn-script-location',
264+
'--no-compile',
264265
'-r',
265266
os.path.abspath(req_file.name),
266267
]

tests/test_env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def test_default_impl_install_cmd_well_formed(
197197
'install',
198198
'--use-pep517',
199199
'--no-warn-script-location',
200+
'--no-compile',
200201
'-r',
201202
mocker.ANY,
202203
]

0 commit comments

Comments
 (0)