hundreds-father-404
08/04/2022, 7:57 PMhundreds-father-404
08/04/2022, 7:59 PMhundreds-father-404
08/04/2022, 8:00 PMwitty-crayon-22786
08/04/2022, 8:03 PMwitty-crayon-22786
08/04/2022, 8:05 PMhundreds-father-404
08/04/2022, 8:06 PMhundreds-father-404
08/04/2022, 8:10 PMbut doing a survey of open blockers for using PEX lockfiles would probablyFrom what I've seen, none that we know of? John did a bunch of fixes for authentication. We do still need to wire up his work on local requirements, but Poetry didn't support that either, so it's not blocking dropping Poetry. Only blocks requiring lockfiles generally
enough-analyst-54434
08/04/2022, 8:24 PMhundreds-father-404
08/04/2022, 8:32 PMAs to point 1 above, that is not a good argument.Ack. I didn't think about the limitation that requirements.txt-style lock isn't a true lock until you pointed it out in blog post review 2 months ago. That's fine if it's a weak argument tho
enough-analyst-54434
08/04/2022, 8:33 PMhundreds-father-404
08/04/2022, 8:34 PMpoetry.lock
, it's only that poetry export
is lossywitty-crayon-22786
08/04/2022, 8:35 PMThis pre-supposes that we don’t want to support requirements.txt-style lockfiles in general moving forwardbut: i’m not sure that that follows: it seems reasonable to say “the only built-in lockfile generator is PEX, but you can continue to generate your own lockfile manually for the long tail of weird cases including manual export from poetry”
enough-analyst-54434
08/04/2022, 8:35 PMhundreds-father-404
08/04/2022, 8:36 PMenough-analyst-54434
08/04/2022, 8:37 PMenough-analyst-54434
08/04/2022, 8:38 PMenough-analyst-54434
08/04/2022, 8:39 PMhundreds-father-404
08/04/2022, 8:39 PM--hash
. Stu's point means that users can keep producing the latter, only Pants won't produce that style for you directly anymore
For example, we know some users use [python].resolves_generate_lockfiles = false
so that they can manually manage their lockfileshundreds-father-404
08/04/2022, 8:40 PMIt would be better to directly translate though if the Poetry lock format is stable or better documented, that would make subsetting just as fast.That is an option, but:
Only: limited dev resources. I suspect our time is better invested improving Pants itself. Maintenance cost would be an issue too, that it's complex having two code paths
enough-analyst-54434
08/04/2022, 8:41 PMenough-analyst-54434
08/04/2022, 8:41 PMhundreds-father-404
08/04/2022, 8:42 PMI find that hollow since we touted supporting Poetry folksWell, sort of. We've never supported consuming your
poetry.lock
directly! We support reading your pyproject.toml, and then we gave instructions that you can also manually run poetry export
Stu's suggestion means that will continue to be true. You can still manually run poetry export