From 79fe5db350bc73f618133f8207f525107824b01b Mon Sep 17 00:00:00 2001 From: finswimmer Date: Sat, 3 Jul 2021 18:58:01 +0200 Subject: [PATCH] `self update` can be used for poetry >= 1.1.7 when installed via `install-poetry.py` --- install-poetry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-poetry.py b/install-poetry.py index e11bed1..8dfacb8 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -421,14 +421,14 @@ class Installer: return True vx = tuple(int(p) for p in mx.groups()[:3]) + (mx.group(5),) - return vx >= (1, 2, 0) + return vx >= (1, 1, 7) if version and not _is_self_upgrade_supported(version): self._write( colorize( "warning", f"You are installing {version}. When using the current installer, this version does not support " - f"updating using the 'self update' command. Please use 1.2.0a1 or later.", + f"updating using the 'self update' command. Please use 1.1.7 or later.", ) ) if not self._accept_all: