Skip to content

Commit

Permalink
fix: only display a warning in case of non-strict channel priorities (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jun 30, 2022
1 parent d377c1f commit b84fa33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakemake/deployment/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,11 +751,11 @@ def _check_condarc(self):
)
)
if res["get"].get("channel_priority") != "strict":
raise CreateCondaEnvironmentException(
logger.warning(
"Your conda installation is not configured to use strict channel priorities. "
"This is however crucial for having robust and correct environments (for details, "
"see https://conda-forge.org/docs/user/tipsandtricks.html). "
"Please configure strict priorities by executing 'conda config --set channel_priority strict'."
"Please consider to configure strict priorities by executing 'conda config --set channel_priority strict'."
)

def bin_path(self):
Expand Down

0 comments on commit b84fa33

Please sign in to comment.