poetry
Used to generate lockfiles for third-party Python dependencies.
Backend: ``
Config section: [poetry]
Basic options
None
Advanced options
extra_requirements
--poetry-extra-requirements="['<str>', '<str>', ...]"
PANTS_POETRY_EXTRA_REQUIREMENTS
pants.toml
[poetry]
extra_requirements = [
'<str>',
'<str>',
...,
]
default:
[]
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.
interpreter_constraints
--poetry-interpreter-constraints="['<str>', '<str>', ...]"
PANTS_POETRY_INTERPRETER_CONSTRAINTS
pants.toml
[poetry]
interpreter_constraints = [
'<str>',
'<str>',
...,
]
default:
[ "CPython>=3.6" ]
Python interpreter constraints for this tool.
version
--poetry-version=<str>
PANTS_POETRY_VERSION
pants.toml
[poetry]
version = <str>
default:
poetry==1.1.8
Requirement string for the tool.
Deprecated options
None
Related subsystems
None