From bec940cba01c60520ba15b9798be89d07c127937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 6 Jan 2023 02:18:02 +0100 Subject: [PATCH] fix: poetry version check --- bin/update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/update.py b/bin/update.py index e74f1cf..de1b406 100755 --- a/bin/update.py +++ b/bin/update.py @@ -49,6 +49,7 @@ def check_poetry_version(): process = subprocess.run(args, cwd=homedir, capture_output=True) poetry_version_str = process.stdout.decode() version = poetry_version_str.split()[2] + version = version.strip(')') version_details = tuple(int(i) for i in version.split('.')) if version_details < (1, 1, 0): print('The project requires poetry >= 1.1.0, please update.')