You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a snowpark package, any pip failures get reported as "returned non-zero exit status 1".
This is because although pip_wheelattempts to catchsubprocess.CalledProcessError, that exception is never thrown unless you pass check=True to subprocess.run.
I tested this by editing the source locally and adding check=True, immediately I started getting back meaningful error messages.
Console output
No response
How to reproduce
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Snowpark packaging does not actually ever log pip install error messages
SNOW-1703629: Snowpark packaging does not actually ever log pip install error messages
Sep 30, 2024
SnowCLI version
3.0.0rc2
Python version
3.10
Platform
Linux-6.8.0-45-generic-x86_64-with-glibc2.36
What happened
When building a snowpark package, any pip failures get reported as "returned non-zero exit status 1".
This is because although
pip_wheel
attempts to catchsubprocess.CalledProcessError
, that exception is never thrown unless you passcheck=True
tosubprocess.run
.I tested this by editing the source locally and adding
check=True
, immediately I started getting back meaningful error messages.Console output
No response
How to reproduce
No response
The text was updated successfully, but these errors were encountered: