happy-kitchen-89482
07/30/2021, 1:44 AMenough-analyst-54434
07/30/2021, 2:05 AMhundreds-father-404
07/30/2021, 6:30 PMenough-analyst-54434
07/30/2021, 6:39 PMhundreds-father-404
07/30/2021, 6:43 PMenough-analyst-54434
07/30/2021, 6:46 PMhundreds-father-404
07/30/2021, 6:49 PMIt requires the locker can at least post-process a resolve to figure out if the set of dists resolved work for all possible interpreters included by 1 and fail or warn if not.Well, or pessimistic generation, right? Yes, it has the crying wolf UX problem, but iiuc solves interpreter constraints in particular The thing we cannot solve is sys_platform env-markers, because we can't pessimistically generate on other platforms
2 is less interesting since its discrete, but it means we need to be able to resolve for a foreign platform and generate a lock.yeah, pip-compile's support for that is broken atm
enough-analyst-54434
07/30/2021, 6:49 PMhundreds-father-404
07/30/2021, 6:52 PMenough-analyst-54434
07/30/2021, 6:54 PMhundreds-father-404
07/30/2021, 6:57 PMenough-analyst-54434
07/30/2021, 6:58 PM(I'm not sure where you'd prefer this conversation be located)You're probably right - this should move to the ticket.
hundreds-father-404
07/30/2021, 7:11 PMenough-analyst-54434
07/30/2021, 7:17 PMhundreds-father-404
07/30/2021, 8:00 PMenough-analyst-54434
07/30/2021, 8:32 PMhundreds-father-404
07/30/2021, 8:35 PMWe might decide to offer a solution involving the ability to create lock files on multiple machines and then merge them later into a complete, correct lockBecause it's not possible to generate the lock on another platform. (This is different than how to handle the
--platform
pex/pip option)
What post-processing will buy us is eagerly detecting when this is necessary, rather than the user being confused why the lockfile generated on my M1 doesn't work on your linuxenough-analyst-54434
07/30/2021, 8:44 PMhundreds-father-404
07/30/2021, 9:08 PM