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 file changed
tree: 2ee8eeb78a4d07db2f6309cb5fa04c716b26bf28
  1. .github/
  2. dev/
  3. mkdocs/
  4. pyiceberg/
  5. tests/
  6. vendor/
  7. .asf.yaml
  8. .codespellrc
  9. .gitignore
  10. .markdownlint.yaml
  11. .pre-commit-config.yaml
  12. LICENSE
  13. Makefile
  14. MANIFEST.in
  15. NOTICE
  16. pyproject.toml
  17. README.md
  18. ruff.toml
  19. setup.py
  20. uv.lock
README.md

Iceberg Python

PyIceberg is a Python library for programmatic access to Iceberg table metadata as well as to table data in Iceberg format. It is a Python implementation of the Iceberg table spec.

The documentation is available at https://py.iceberg.apache.org/.

Get in Touch