ScriptPup opened a new issue, #29318:
URL: https://github.com/apache/airflow/issues/29318

   ### Description
   
   When the PythonVirtualenvOperator fails to install requirements, it shows 
something like this `
   
   ```
   subprocess.CalledProcessError: Command '['/tmp/venvre9qziim/bin/pip', 
'install', '-r', '/tmp/venvre9qziim/requirements.txt']' returned non-zero exit 
status 1.
   ```
   
   Add additional information about why the `pip install -r requirements.txt` 
failed. The problem could be a missing dependancy, a dependancy failing to 
build in the container, a network failure, etc.
   
   
   ### Use case/motivation
   
   Currently, troubleshooting the PythonVirtualenvOperator requirement install 
failures is a horrible slog of trial and error to figure out what the problem 
is; especially in an environment where there's no access to the airflow server 
directly and we only have the ability to push DAGs to a repo and have it sync.
   
   Adding additional information about the actual error returned by pip when it 
attempts an install would be extremely helpful.
   
   ### Related issues
   
   Not that I could find.
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to