mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-30 11:37:24 +00:00
Include exit code for build failures (#2108)
`uv pip install mysqlclient==2.1.1` on python 3.12 on windows, where the
are no binary wheels:

Part of #2052.
This commit is contained in:
parent
65518c9c58
commit
df06069922
4 changed files with 22 additions and 8 deletions
|
|
@ -507,6 +507,7 @@ impl InterpreterInfo {
|
|||
interpreter.display(),
|
||||
output.status,
|
||||
),
|
||||
exit_code: output.status,
|
||||
stdout: String::from_utf8_lossy(&output.stdout).trim().to_string(),
|
||||
stderr: String::from_utf8_lossy(&output.stderr).trim().to_string(),
|
||||
});
|
||||
|
|
@ -518,6 +519,7 @@ impl InterpreterInfo {
|
|||
"Querying Python at `{}` did not return the expected data: {err}",
|
||||
interpreter.display(),
|
||||
),
|
||||
exit_code: output.status,
|
||||
stdout: String::from_utf8_lossy(&output.stdout).trim().to_string(),
|
||||
stderr: String::from_utf8_lossy(&output.stderr).trim().to_string(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue