bulky-mouse-48830
09/20/2022, 2:20 PMtarget-system
for lockfile generation. I am only interested in linux
as a target system, but Pants seems to fail because it wants dependencies to be resolved for all platforms.curved-television-6568
09/20/2022, 2:31 PMcurved-television-6568
09/20/2022, 2:33 PMbulky-mouse-48830
09/20/2022, 2:33 PMcurved-television-6568
09/20/2022, 2:33 PMbulky-mouse-48830
09/20/2022, 2:34 PMcurved-television-6568
09/20/2022, 2:35 PMbulky-mouse-48830
09/20/2022, 2:36 PMcurved-television-6568
09/20/2022, 2:36 PMenough-analyst-54434
09/20/2022, 2:41 PMbulky-mouse-48830
09/20/2022, 2:41 PMenough-analyst-54434
09/20/2022, 2:42 PM--target-system
was added to Pex, it was always all 3!enough-analyst-54434
09/20/2022, 2:43 PM--style universal
; so the un-hard-coding could go in a few directions.bulky-mouse-48830
09/20/2022, 2:45 PMenough-analyst-54434
09/20/2022, 2:46 PMenough-analyst-54434
09/20/2022, 2:47 PMpex3 lock export
to get out pip-compile format requirements.txt file with hashes.enough-analyst-54434
09/20/2022, 2:48 PMhundreds-father-404
09/20/2022, 3:44 PMIt probably makes sense for libraries to be universal. But for applications it doesn't make sense.@bulky-mouse-48830 this is an important thing for us to figure out: is it worth having the flexibility to set the target platform "per-resolve" (aka lockfile)? Vs an option that applies to all lockfiles is sufficient. We have all the infrastructure for per-resolve option, and it would look like the
resolves_to_constraints_file
option. So it's easy to pull off. Only a little more complex of an API for end users and more complex pantsbuild/pants code
FYI with the per-resolve option, there is a way to set the same value for every single lockfile, and then override specific onesbulky-mouse-48830
09/20/2022, 4:16 PMhundreds-father-404
09/20/2022, 4:19 PMbulky-mouse-48830
09/20/2022, 4:22 PMbulky-mouse-48830
09/20/2022, 4:24 PM