hundreds-father-404
03/09/2022, 4:44 PMgenerate-lockfiles
to always generate using Pex JSON. But do we think it's valuable to indefinitely let users keep manually generating their requirements.txt style lockfiles, e.g. via pip-compile or poetry export?hundreds-father-404
03/09/2022, 4:46 PMbitter-ability-32190
03/09/2022, 4:55 PMhundreds-father-404
03/09/2022, 4:57 PMbitter-ability-32190
03/09/2022, 5:01 PMhundreds-father-404
03/09/2022, 5:03 PMbitter-ability-32190
03/09/2022, 5:14 PMhundreds-father-404
03/09/2022, 5:16 PM[python].lockfile_generator
, but not regenerate what you already have. Pants needs to support that imo.bitter-ability-32190
03/09/2022, 5:37 PMhundreds-father-404
03/09/2022, 5:40 PMbitter-ability-32190
03/09/2022, 9:24 PMreqs.txt
into PEX json and keep the same versions (pex3 lock create --requirements reqs.txt -o foo.lock
) I'm much tolerable to sunsetting all support of pip-style txt file, assuming users are made aware of the migration mechanism and it works as expected.bitter-ability-32190
03/09/2022, 9:34 PM./pants generate-lockfiles --migrate
or ./pants migrate-lockfiles
šbitter-ability-32190
03/09/2022, 9:35 PMhundreds-father-404
03/09/2022, 9:36 PMgenerate-lockfiles
have weird quirks like environment markers. I'm not very confident that we want people using that as the input to regen lockfiles
I think it's helpful to offer as an option, but an option that you might not need or want to usebitter-ability-32190
03/10/2022, 2:06 AMgenerate-lockfiles
before, so maybe a solution built into generate-lockfiles
doesn't make a whole lot of sense š