conda-forge / conda-smithy

The tool for managing conda-forge feedstocks.
https://conda-forge.org/
BSD 3-Clause "New" or "Revised" License
152 stars 183 forks source link

Do not install pixi if it exists when building locally #2150

Open hadim opened 2 days ago

hadim commented 2 days ago

Comment:

When using pixi as the install tool, it is always installed when building a feedstock locally. See the related code at https://github.com/conda-forge/conda-smithy/blob/2b18d8dd41de178e30506e420022b2a5590a4acf/conda_smithy/templates/run_osx_build.sh.tmpl#L39

It's less problematic on linux since the build is executed in a container, but it's not the case when building from an osx machine.


As a side note, I noticed that issue because the feedstock were installing the osx-64 version of pixi (https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-apple-darwin.tar.gz) instead of the osx-arm64 version. That might also be a bug (if someone with a local osx-arm64 machine could confirm).