From 3786d4c75e132336617bf24a81f366f6f475831c Mon Sep 17 00:00:00 2001 From: David Hotham Date: Wed, 3 May 2023 20:03:24 +0100 Subject: [PATCH] deprecate poetry self --- src/poetry/console/commands/self/self_command.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/poetry/console/commands/self/self_command.py b/src/poetry/console/commands/self/self_command.py index db626f1ed4e..27895542f66 100644 --- a/src/poetry/console/commands/self/self_command.py +++ b/src/poetry/console/commands/self/self_command.py @@ -124,6 +124,10 @@ def handle(self) -> int: # # This method **should not** be overridden in child classes as it may have # unexpected consequences. + self.line_error( + "`poetry self` commands are deprecated and will be removed in a" + " future release" + ) self.reset()