]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager/pyproject.toml: correct Python version for poethepoet docs-develop-mana-d1bbun/deployments/2700
authorOto Šťáva <oto.stava@nic.cz>
Thu, 14 Sep 2023 08:07:30 +0000 (10:07 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Thu, 14 Sep 2023 08:28:49 +0000 (10:28 +0200)
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.

manager/pyproject.toml

index c1f70b1aab665c34aac6dd176f8ac963bff1ffb1..03cb2ac7f257b657c7a82e0fb951a0cb55a42ba1 100644 (file)
@@ -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"