diff --git a/src/build/env.py b/src/build/env.py index 348162e3..bfbc5d7b 100644 --- a/src/build/env.py +++ b/src/build/env.py @@ -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), ] diff --git a/tests/test_env.py b/tests/test_env.py index 7bfd8c3c..7b1fa2ea 100644 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -197,6 +197,7 @@ def test_default_impl_install_cmd_well_formed( 'install', '--use-pep517', '--no-warn-script-location', + '--no-compile', '-r', mocker.ANY, ]