The Python template supports [Poetry](https://python-poetry.org/) as packaging and dependency management tool.
If a `pyproject.toml`and `poetry.lock`file is detected at the root of your project structure, requirements will automatically be generated from Poetry.
Poetry support is disabled if`PYTHON_POETRY_DISABLED`is set to `true`.
If a `pyproject.toml` file is detected at the root of your Python project, requirements will automatically be generated from Poetry.
Poetry support can be explicitly disabled by setting`PYTHON_POETRY_DISABLED` to `true`.
:warning: as stated in[Poetry documentation](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control), _You should commit the `poetry.lock` file to your project repo so that all people working on the project are locked to the same versions of dependencies_.
:warning: If no `poetry.lock` file is found, the template will emit a (non-blocking) warning message, to enforce[Poetry recommendation](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control):
It uses the following variables:
> You should commit the `poetry.lock` file to your project repo so that all people working on the project are locked to the same versions of dependencies.