Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install --no-input everywhere #6966

Merged
merged 2 commits into from Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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