witty-crayon-22786
01/03/2022, 6:49 PMhundreds-father-404
01/03/2022, 6:50 PMwitty-crayon-22786
01/03/2022, 6:51 PMsys.path
regardless of conflictsancient-vegetable-10556
01/03/2022, 6:51 PMwitty-crayon-22786
01/03/2022, 6:52 PMrequests
ancient-vegetable-10556
01/03/2022, 6:53 PMwitty-crayon-22786
01/03/2022, 6:55 PMancient-vegetable-10556
01/03/2022, 6:57 PMrequests
, but rather that we say requests
is provided by Pants (and we make guarantees about versions). Either way, plugins need to move in lockstep with Pants’ dependencies, but making the requirements for a given version of Pants explicit seems wise.witty-crayon-22786
01/03/2022, 7:07 PMrequests
they accept, things work from a “there is a compatible version for both of them” perspective. it could be better formalized, sure.ancient-vegetable-10556
01/03/2022, 7:13 PMwitty-crayon-22786
01/03/2022, 7:14 PMhundreds-father-404
01/03/2022, 7:19 PMwitty-crayon-22786
01/03/2022, 7:40 PMenough-analyst-54434
01/03/2022, 9:17 PMhappy-kitchen-89482
01/03/2022, 9:24 PMenough-analyst-54434
01/03/2022, 9:28 PMwitty-crayon-22786
01/03/2022, 9:53 PMWe should probably keep the result of pip freeze from the Pants venv as a constraints input for plugin resolves.ah: yes… this seems like an exact match for what we want to do. basically, take the current working set, and feed it to PEX while we’re resolving plugins!
pkg_resources
.