Skip to content

Commit 79fe5db

Browse files
committed
self update can be used for poetry >= 1.1.7 when installed via install-poetry.py
1 parent 4acfd05 commit 79fe5db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install-poetry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,14 @@ def _is_self_upgrade_supported(x):
421421
return True
422422

423423
vx = tuple(int(p) for p in mx.groups()[:3]) + (mx.group(5),)
424-
return vx >= (1, 2, 0)
424+
return vx >= (1, 1, 7)
425425

426426
if version and not _is_self_upgrade_supported(version):
427427
self._write(
428428
colorize(
429429
"warning",
430430
f"You are installing {version}. When using the current installer, this version does not support "
431-
f"updating using the 'self update' command. Please use 1.2.0a1 or later.",
431+
f"updating using the 'self update' command. Please use 1.1.7 or later.",
432432
)
433433
)
434434
if not self._accept_all:

0 commit comments

Comments
 (0)