flat-zoo-31952
06/07/2023, 2:18 PMpython3-requests RPM package to the request module in module mapping, and deal with this by never running commands that Pants wants to resolve. This has worked "fine" until I've started trying to add another resolve with a subset of our deps that points at actual PyPI packages. I had to add a dummy lockfile, but obviously Pants blows up if it tries to read that. Is there a way to configure a resolve to just not try to read a lockfile?bitter-ability-32190
06/07/2023, 2:23 PMconda... which I can't seem to find the ticket forbitter-ability-32190
06/07/2023, 2:23 PMflat-zoo-31952
06/07/2023, 5:03 PMbitter-ability-32190
06/07/2023, 5:07 PMInferDependenciesRequest union implementation has an exclude field.
So, after all dependencies (explicit and inferred) are gathered, then Pants processes the excludes (explicit and inferred).
So in a plugin you can say "Toss these addresses out if you ever find them". It's a hammer, but it might be useful for your case.enough-analyst-54434
06/07/2023, 5:40 PM--ignore-errors.flat-zoo-31952
06/08/2023, 1:09 AMenough-analyst-54434
06/08/2023, 1:36 AMpandas and pick zap or zap-transitive and that would do 2 things: 1. Ensure those deps don't go into built PEXes and 2 they aren't required at boot time; i.e. the current Pex demand for closure is lifted in this case.
Does that make sense @flat-zoo-31952?enough-analyst-54434
06/08/2023, 1:38 AMflat-zoo-31952
06/15/2023, 7:42 PMpython_requirement targets and come up with a way to infer deps from our environmentally provided deps.flat-zoo-31952
06/15/2023, 7:44 PMflat-zoo-31952
06/15/2023, 7:46 PM