-
Hi there, I'd like to be able to create environments using channels other than conda-forge (e.g., bioconda). With default configuration, using nebari 2022.10.1, only the conda-store channel is allowed. I believe this is the default but could be changed via the CondaStore.conda_allowed_channels configuration parameter. What would be the best way to set this configuration parameter for my nebari deployment? Thanks ❤️ |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Just to add a little information, I see that a file gets generated at However, I'm not clear if it is safe for me to edit this file myself after nebari has initially rendered it, or whether I should avoid editing these files. |
Beta Was this translation helpful? Give feedback.
-
It looks like any change to the However, there is a workaround where you first call
...does then allow any channels to be used in environments. Here is a a git patch for that change:
|
Beta Was this translation helpful? Give feedback.
-
Hi @alimanfoo, thank you for starting this discussion! This is definitely an item that needs to be configurable by the end-user. This is being tracked, albeit without much movement, in this issue: conda-incubator/conda-store#357 @costrouc do you think adding a section to the |
Beta Was this translation helpful? Give feedback.
-
Thanks @iameskild. FWIW I would suggest conda-store change the default to allow all channels. I expect this is what most nebari users will expect, it's certainly what we want. This would mean most nebari users wouldn't have to worry about making any conda-store configuration changes. Then having some mechanism for overriding this (and any other conda-store configuration parameters) when deploying nebari would make sense for the minority of situations where the conda-store defaults need to be overridden. |
Beta Was this translation helpful? Give feedback.
-
@alimanfoo it appears that making changes to the conda_store:
extra-settings:
# general case
Class:
key: value
# specific example
CondaStore:
conda_allowed_channels = [] We will need to update our documentation to reflect this capability. Until then, let us know how this goes :) cc @costrouc |
Beta Was this translation helpful? Give feedback.
@alimanfoo it appears that making changes to the
conda_store_config.py
is possible from within thenebari-config.yaml
:We will need to update our documentation to reflect this capability. Until then, let us know how this goes :)
cc @costrouc