diff --git a/src/poetry/console/commands/self/update.py b/src/poetry/console/commands/self/update.py index 24e1f7326e9..2a25518780c 100644 --- a/src/poetry/console/commands/self/update.py +++ b/src/poetry/console/commands/self/update.py @@ -46,6 +46,7 @@ def _system_project_handle(self) -> int: add_command = application.find("add") assert isinstance(add_command, AddCommand) add_command.set_env(self.env) + add_command.set_poetry(self.poetry) application.configure_installer_for_command(add_command, self.io) argv = ["add", f"poetry@{self.argument('version')}"]