mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-25 07:20:56 -05:00
self update
can be used for poetry >= 1.1.7 when installed via install-poetry.py
This commit is contained in:
parent
4acfd05b53
commit
79fe5db350
1 changed files with 2 additions and 2 deletions
|
@ -421,14 +421,14 @@ class Installer:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
vx = tuple(int(p) for p in mx.groups()[:3]) + (mx.group(5),)
|
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):
|
if version and not _is_self_upgrade_supported(version):
|
||||||
self._write(
|
self._write(
|
||||||
colorize(
|
colorize(
|
||||||
"warning",
|
"warning",
|
||||||
f"You are installing {version}. When using the current installer, this version does not support "
|
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:
|
if not self._accept_all:
|
||||||
|
|
Loading…
Reference in a new issue