Used to generate lockfiles for third-party Python dependencies.
Backend: <span style="color: purple"><code>pants.backend.docker</code></span> Config section: <span style="color: purple"><code>[poetry]</code></span>
## Basic options
None
## Advanced options
<div style="color: purple">
### `version
`
<code>--poetry-version=<str></code><br> <code>PANTS_POETRY_VERSION</code><br>
</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>poetry==1.1.14</code></span>
<br>
Requirement string for the tool.
</div> <br>
<div style="color: purple">
### `extra_requirements
`
<code>--poetry-extra-requirements="['<str>', '<str>', ...]"</code><br> <code>PANTS_POETRY_EXTRA_REQUIREMENTS</code><br>
</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>[]</code></span>
<br>
Any additional requirement strings to use with the tool. This is useful if the tool allows you to install plugins or if you need to constrain a dependency to a certain version.
</div> <br>
<div style="color: purple">
### `interpreter_constraints
`
<code>--poetry-interpreter-constraints="['<str>', '<str>', ...]"</code><br> <code>PANTS_POETRY_INTERPRETER_CONSTRAINTS</code><br>
</div> <div style="padding-left: 2em;"> <span style="color: green">default: <pre>[ "CPython>=3.7,<4" ]</pre></span>
<br>
Python interpreter constraints for this tool.
</div> <br>
## Deprecated options
None