adventurous-rain-63973
05/16/2024, 5:27 PMpeek
cannot get 3rdparty dependencies, and with dependencies
I don't get the versions. Any suggestion?broad-processor-92400
05/16/2024, 11:38 PMpex
tool directly: install it, and then run like PEX_SCRIPT=pex3 pex lock export --format pip ...
I think. You may have to edit the lockfile to make it valid JSON; remove the //
comments in the header.adventurous-rain-63973
05/17/2024, 6:22 AMcurved-television-6568
05/17/2024, 6:33 AMpants dependencies --transitive some/target:name > deps
pants --spec-files=deps list --filter-target-type=python_requirement > reqs
pants --spec-files=reqs peek --exclude-defaults | jq -r '.[]|.requirements[]'
This will give you the requirement, as provided in the resolves requirements.txt, if you're using that..curved-television-6568
05/17/2024, 6:34 AMadventurous-rain-63973
05/17/2024, 8:04 AMadventurous-rain-63973
05/17/2024, 8:05 AMcurved-television-6568
05/17/2024, 8:20 AMadventurous-rain-63973
05/17/2024, 8:24 AMcurved-television-6568
05/17/2024, 8:43 AMcurved-television-6568
05/17/2024, 8:44 AMadventurous-rain-63973
05/17/2024, 8:58 AM