parcels icon indicating copy to clipboard operation
parcels copied to clipboard

Changing conda selectors syntax

Open erikvansebille opened this issue 1 year ago • 3 comments

Changing the syntax for the conda [unix] selector (for MPI to install only on linux and osx), because sel(unix) was not widely supported and sometimes led to install problems

erikvansebille avatar Nov 27 '23 08:11 erikvansebille

Just wondering about the motivation for 9bd78f0. From my understanding the mamba project is a much more performant version of the conda project, and operates as a drop in replacement.

VeckoTheGecko avatar Nov 28 '23 05:11 VeckoTheGecko

Just wondering about the motivation for 9bd78f0. From my understanding the mamba project is a much more performant version of the conda project, and operates as a drop in replacement.

I was trying to get the original sel(unix) commands to work on conda too (because I hoped that would work with the new libmamba solver). It's needed to make the the instructions for our local system at UU work, as well as make the installation instructions for developers simpler.

As I couldn't get that sel(unix) to work, I tried to revert back to the # [unix] preprocessing selectors (see here and therefore (temporarily) reverted back to conda instead of mamba. Nevertheless, that didn't seem to work in environment files either?

Anyways, I agree this PR is a bit of a mess, but trying to get installation instructions as simple as possible for conda. Any ideas how?

erikvansebille avatar Nov 28 '23 07:11 erikvansebille

Looks like selectors aren't supported in environment.yml files (only meta.yml) https://github.com/conda/conda/issues/8089. Not sure what the best solution to this is unfortunately. I guess we migrated away from maintaining 3 different environment.yml files?

VeckoTheGecko avatar Nov 28 '23 07:11 VeckoTheGecko