Machine parsable output (JSON?)
shughes-uk opened this issue · comments
One of our current issues with pip
is that if you pip install <some packages>
and one fails, its incredibly difficult to automatically determine what failed without getting into brittle regex parsing of the output.
I'd love for rip
to feature something like a --json
flag that would output issues in a way that can be trivially parsed. The mamba --json
flag works well for us with conda packages.
Our use case is building python environments on a users behalf.
Hey @shughes-uk . Resolvo generates a complete problem graph. I think we would be able to serialize that to json. Is that something that would help? It looks something like this:
I don't know how much OP would find it useful, but I would certainly find it useful, especially if it outputed even if resolution failed for any reason.
Resolution failure output ala mamba would be helpful. I'd also want output from any source packages that fail to build