Poetry offers a way to set the python environment version through poetry env use <python_version>.
Currently, when running makePythonLock on a project.toml which looks like:
[tool.poetry.dependencies]
python = "^3.12"
Will produce the following output:
[INFO] Generating poetry.lock
The currently activated Python version 3.11.6 is not supported by the project (^3.12).
Trying to find and use a compatible version.
Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
An additional python version argument is required in this builtin for letting poetry to know this detail.
Poetry offers a way to set the python environment version through
poetry env use <python_version>
.Currently, when running
makePythonLock
on aproject.toml
which looks like:Will produce the following output:
An additional python version argument is required in this builtin for letting poetry to know this detail.