Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine parsable output (JSON?) #104

Open
shughes-uk opened this issue Nov 30, 2023 · 3 comments
Open

Machine parsable output (JSON?) #104

shughes-uk opened this issue Nov 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@shughes-uk
Copy link

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.

@baszalmstra
Copy link
Contributor

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:

Untitled

@notatallshaw
Copy link

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.

@shughes-uk
Copy link
Author

Resolution failure output ala mamba would be helpful. I'd also want output from any source packages that fail to build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

4 participants