Fix pip support allowing multiple pip version constraints (by default, one for <PY3.10 and one for >=PY3.10)

This commit is contained in:
allegroai
2022-12-07 22:09:25 +02:00
parent dd75cedaab
commit ca2791c65e
5 changed files with 33 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ agent {
type: pip,
# specify pip version to use (examples "<20.2", "==19.3.1", "", empty string will install the latest version)
# pip_version: "<21"
# pip_version: ["<20.2 ; python_version < '3.10'", "<22.3 ; python_version >= '3.10'"]
# specify poetry version to use (examples "<2", "==1.1.1", "", empty string will install the latest version)
# poetry_version: "<2",