Closed benjyw closed 1 month ago
Is this just a matter of setting self._offset
to the file length in Tailer before calling start()?
No, its here: https://github.com/pex-tool/pex/blob/d94fa6a5051cacd1ff37bba13f40db9f9e1ffe58/pex/resolver.py#L79-L96 https://github.com/pex-tool/pex/blob/d94fa6a5051cacd1ff37bba13f40db9f9e1ffe58/pex/resolver.py#L113-L119
I handle the multi-target case correctly (say you sepcify 2 --complete-platforms), but not the single target common case.
Reproduction:
This doesn't happen if
--pip-log
is not set.My understanding of what is happening: when setting
--pip-log pip.log
pex appends to the file. So presumably pex is trying to parse lines from previous pip runs, and is confused when it sees data for requirements that aren't in the current set of input requirements.