gentle-flower-25372
02/23/2024, 6:16 PMpants tailor ::
not add python_requirements
target when the requirements.txt
is referenced under [python.resolves]
in pants.toml
?broad-processor-92400
02/23/2024, 6:31 PMgentle-flower-25372
02/23/2024, 6:37 PMbroad-processor-92400
02/23/2024, 6:41 PMpoetry_requirements
as the “inputs” (to register python_requirement
targets and allow customising them as required), and then manually generating the required “outputs” but they’re still just the outputs.
It does seem plausible that pants could use a manually generated “lockfile” like that as both input and output, although the Pants-managed Pex lockfiles I think are more flexible/faster for pants to work with.gentle-flower-25372
02/23/2024, 6:47 PMpoetry lock --no-update
so many of our lock files have versions of libraries pinned at much older versions than what would be resolved if done today.
I was considering updating the pyproject.toml version constraints so they're more conservative, but I didn't know if you had a better idea.refined-addition-53644
02/23/2024, 7:34 PM