fix(python): update default python config

This commit is contained in:
2023-12-01 00:41:11 +03:00
parent cf2fcfbacc
commit 7f2d08d9ee
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -5,9 +5,8 @@ conditions = ["file(pyproject.toml)"]
conditions = [
"file(pyproject.toml) | get(build-system.build-backend) | equal(poetry.core.masonry.api)",
]
variables.python_version = "file(pyproject.toml) | get(tool.poetry.dependencies.python) | search((\\d.\\d))"
variables.python_version = "file(pyproject.toml) | get(tool.poetry.dependencies.python) | search((\\d+.\\d+))"
commands = [
"poetry env use system",
"poetry env use {python_version}",
"poetry install",
]