hundreds-father-404
03/14/2022, 8:05 PM[python].requirement_constraints
in favor of [python].resolves
(or no locking mechanism)?The only change from 2 {constraints} and 4 {resolves w/ manual generation} is that Pants is stricter. Your lockfile must be comprehensive. Whereas with 2, Pex will fill in any unpinned transitive deps for you. And with 2, any missing direct deps will cause Pants to not use constraints.txt like a lockfile->repository.pex, instead behaving like approach 1) of no locks but with --constraints set.
[python]
2) simplifies some of our most complex code, pex.py
and pex_from_targets.py
bitter-ability-32190
03/14/2022, 8:10 PMhundreds-father-404
03/14/2022, 8:11 PMbitter-ability-32190
03/14/2022, 8:11 PMhundreds-father-404
03/14/2022, 8:15 PMbitter-ability-32190
03/14/2022, 8:17 PMhundreds-father-404
03/14/2022, 8:18 PMbitter-ability-32190
03/14/2022, 8:18 PMwitty-crayon-22786
03/14/2022, 8:33 PMhundreds-father-404
03/14/2022, 8:36 PMone other consideration though: we have one other significant deprecation for Python users in 2.10.xWhich is? Ah, python macros?
witty-crayon-22786
03/14/2022, 8:36 PMhundreds-father-404
03/14/2022, 8:40 PMgenerate-lockfilfes
to Just Work most the timewitty-crayon-22786
03/14/2022, 8:45 PM