bitter-ability-32190
03/13/2023, 5:37 PMsrc/python/pants/backend/python/util_rules/local_dists_test.py
we make a LocalDistsPexRequest
with no ICs associated, but the test assumes py3. Seems like we'd want to get the ICs from the sources here?witty-crayon-22786
03/13/2023, 6:15 PMinternal_only
(aka: please build this for exactly one interpreter, because this is not being published outside of Pants) could provide an actual interpreterdef __init__(
self,
addresses: Iterable[Address],
*,
interpreters: InterpreterConstraints | PythonBinary,
sources: PythonSourceFiles = PythonSourceFiles.empty(),
) -> None:
internal_only=True, interpreter_constraints=…
would be asking to re-resolve, and then relying on the same one that was pre-resolved to be re-resolved.internal_only
flag already does some of this… it’s not clear though that when you pass it, you don’t need to pass ICs