Generally merging pexes is hard, but this special ...
# pex
h
Generally merging pexes is hard, but this special case might be straightforward?
e
In general it should be easy actually. Imagine filling in the blanks in this API:
pex_builder = PEXBuider.from_pex(existing_pex)
.
👍 1
N.B.: A PEXBuilder is handed the results of a resolve, it does not care about the coherence of a resolve. So it will let you add conflicting requirements today. What it won't allow is conflicting file paths when adding sources and resources.
a
which more an intrinsic issue rather than an issue with PEXBuilder not being smart enough imho?
e
Its not even an issue per se. The responsibilities have just always been separated.
👨‍🎓 1
a
ah, ok, thanks