From: Oto Šťáva Date: Thu, 14 Sep 2023 08:07:30 +0000 (+0200) Subject: manager/pyproject.toml: correct Python version for poethepoet X-Git-Tag: v6.0.3~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-develop-mana-d1bbun%2Fdeployments%2F2700;p=thirdparty%2Fknot-resolver.git manager/pyproject.toml: correct Python version for poethepoet The former setup would cause subsequent runs of `poetry install` to alternate between the `poethepoet` versions. Instead, we just want to separate them for Python before 3.8 and Python from 3.8 onwards. --- diff --git a/manager/pyproject.toml b/manager/pyproject.toml index c1f70b1aa..03cb2ac7f 100644 --- a/manager/pyproject.toml +++ b/manager/pyproject.toml @@ -26,7 +26,7 @@ prometheus-client = "*" poetry = "^1.4.2" pyparsing = "^3.0.9" poethepoet = [ - { version = "^0.18.1", python = "^3.7" }, + { version = "^0.18.1", python = "~3.7" }, { version = "^0.22.0", python = "^3.8" } ] debugpy = "^1.6.7"