helpful-jackal-12093
08/31/2021, 10:14 AMpoetry_requirements_from_lock
that parses the poetry.lock
file and generates python_requirement_library
, I couldn’t find any documentation on how to do that. Is this API exported?happy-kitchen-89482
08/31/2021, 11:41 AMhappy-kitchen-89482
08/31/2021, 11:44 AMpython_requirement_library
from a lockfile because the lockfile contains the entire transitive dependency graph, whereas typically you only want python_requirement_library
targets for the requirements you're allowed to depend on directly - and we already generate those from either requirements.txt
or from Poetry's dependencies
in pyproject.toml
happy-kitchen-89482
08/31/2021, 11:45 AMcurved-television-6568
08/31/2021, 12:01 PMpyproject.toml
: https://www.pantsbuild.org/v2.7/docs/python-third-party-dependencies#poetry-integration