Skip to content

Commit

Permalink
pip install --no-input everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
coobas committed Nov 5, 2022
1 parent b28339d commit 47f75b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/poetry/inspection/info.py
Expand Up @@ -593,6 +593,7 @@ def get_pep517_metadata(path: Path) -> PackageInfo:
"install",
"--disable-pip-version-check",
"--ignore-installed",
"--no-input",
*PEP517_META_BUILD_DEPS,
)
venv.run(
Expand Down
2 changes: 1 addition & 1 deletion src/poetry/installation/pip_installer.py
Expand Up @@ -46,7 +46,7 @@ def install(self, package: Package, update: bool = False) -> None:

return

args = ["install", "--no-deps"]
args = ["install", "--no-deps", "--no-input"]

if not package.is_direct_origin() and package.source_url:
assert package.source_reference is not None
Expand Down
1 change: 1 addition & 0 deletions src/poetry/utils/env.py
Expand Up @@ -1953,6 +1953,7 @@ def build_environment(
"install",
"--disable-pip-version-check",
"--ignore-installed",
"--no-input",
*poetry.pyproject.build_system.requires,
)

Expand Down
1 change: 1 addition & 0 deletions tests/utils/test_env.py
Expand Up @@ -1535,6 +1535,7 @@ def test_build_environment_called_build_script_specified(
"install",
"--disable-pip-version-check",
"--ignore-installed",
"--no-input",
*extended_without_setup_poetry.pyproject.build_system.requires,
]
]
Expand Down

0 comments on commit 47f75b5

Please sign in to comment.