Commit 2b84bf5
fix: redirect only error output from makefile command to do not install uv if already present on system (#2742)
Closes #2741
# Rationale for this change
`make install` is currently trying to install `uv` even when is present
locally:
```bash
$ make install
uv not found. Installing...
/home/raulcd/.local/bin/uv
^Cmake: *** [Makefile:62: install-uv] Interrupt
$ uv --version
uv 0.9.7
```
## Are these changes tested?
No, only validated locally on Debian 14 that it does not try to install:
```bash
$ PYTHON=3.12 make install
/home/raulcd/.local/bin/uv
uv is already installed.
uv venv --python 3.12
Using CPython 3.12.12
Creating virtual environment at: .venv
```
And validated in a clean docker container that if `uv` is not present it
installs it:
```bash
root@9e4870fda91e:/app/iceberg-python# make install
uv not found. Installing...
downloading uv 0.9.8 x86_64-unknown-linux-gnu
no checksums to verify
installing to /root/.local/bin
```
## Are there any user-facing changes?
No
---------
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>1 parent ba65619 commit 2b84bf5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments