Closed corneliusroemer closed 1 week ago
Yes, you can specify channels for individual packages. To make it work, the new channel also must be added to the channels
list.
[project]
channels = ["conda-forge", "bioconda"]
[dependencies]
cowpy = ">=1.1.5,<1.2"
tsv-utils = {version = ">=2.2.0,<2.3", channel = "bioconda"}
More info here: https://pixi.sh/latest/advanced/channel_priority/ (in particular, see the example).
For those finding this Issue, @Yura52 is correct!
You can do this through the cli with:
pixi project channel add bioconda
pixi add bioconda::tsv-utlils
Excellent, thanks for explaining how to do this @Yura52 and @ruben-arts!
Problem description
It can happen that the same package name is available in multiple channels. Example: tsv-utils is in both conda-forge and bioconda.
Is there a way to tell pixi which one to use? I tried
"bioconda::tsv-utils"
which conda supports but doesn't seem to work here:Is there a different way?
It seems that you use strict channel priority and don't allow a way to override it for individual packages?