iceberg-python icon indicating copy to clipboard operation
iceberg-python copied to clipboard

make install tries to install uv even when uv is present

Open raulcd opened this issue 2 months ago • 1 comments

Apache Iceberg version

None

Please describe the bug 🐞

When trying to set up the iceberg-python environment following the contribution guidelines if I run make install it tries to install uv even though I have uv locally see:

~/code/iceberg-python (main) $ uv --version
uv 0.9.7
$ which uv
/home/raulcd/.local/bin/uv
~/code/iceberg-python (main) $ make install
uv not found. Installing...
/home/raulcd/.local/bin/uv
downloading uv 0.9.8 x86_64-unknown-linux-gnu
^Cmake: *** [Makefile:62: install-uv] Interrupt

We should fix the Makefile check so if uv is present on the user local path it does not install.

Willingness to contribute

  • [x] I can contribute a fix for this bug independently
  • [ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • [ ] I cannot contribute a fix for this bug at this time

raulcd avatar Nov 12 '25 17:11 raulcd

For the record I use bash, this behavior might be shell dependent as discussed on the PR above it does not seem to happen with zsh.

raulcd avatar Nov 13 '25 17:11 raulcd