From d108f9ac4fdc846cc772edbeb1c6f8fd48d640a1 Mon Sep 17 00:00:00 2001 From: Daniel Copley Date: Mon, 11 Nov 2024 18:08:18 -0500 Subject: [PATCH] add --no-input to environment pip installs closes #1802 --- src/hatch/env/plugin/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hatch/env/plugin/interface.py b/src/hatch/env/plugin/interface.py index ab18b77eb..eff783dd7 100644 --- a/src/hatch/env/plugin/interface.py +++ b/src/hatch/env/plugin/interface.py @@ -768,7 +768,8 @@ def construct_pip_install_command(self, args: list[str]): A convenience method for constructing a [`pip install`](https://pip.pypa.io/en/stable/cli/pip_install/) command with the given verbosity. The default verbosity is set to one less than Hatch's verbosity. """ - command = ['python', '-u', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-python-version-warning'] + command = ['python', '-u', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-python-version-warning', + '--no-input'] # Default to -1 verbosity add_verbosity_flag(command, self.verbosity, adjustment=-1)