python-poetry / python-poetry/poetry
Show output / errors from failed processes (CalledProcessError)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
When an error occurs, such as the one in https://github.com/python-poetry/poetry/issues/5002, it would be really useful to see the output (stdout / stderr) of the command that failed (in that case, it was a git command). Instead, just the command line and return code (and poetry python stack trace if run with -vvv) are shown.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The request concerns how CalledProcessError from failed commands is surfaced, especially for git commands; start by tracing the process-error handling entry point and the existing error output. Done means failed processes expose their stdout and stderr alongside the command and return code, with coverage for the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100