Skip to content

Commit

Permalink
perf: avoid compiling unused bytecode (#752)
Browse files Browse the repository at this point in the history
* perf: avoid compiling unused bytecode

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* tests: also update test

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Mar 11, 2024
1 parent 327f280 commit 97ea57b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/build/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def install_requirements(self, requirements: Collection[str]) -> None:
'install',
'--use-pep517',
'--no-warn-script-location',
'--no-compile',
'-r',
os.path.abspath(req_file.name),
]
Expand Down
1 change: 1 addition & 0 deletions tests/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def test_default_impl_install_cmd_well_formed(
'install',
'--use-pep517',
'--no-warn-script-location',
'--no-compile',
'-r',
mocker.ANY,
]
Expand Down

0 comments on commit 97ea57b

Please sign in to comment.