File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4343from snakemake_interface_common .utils import lazy_property
4444
4545
46+ MIN_CONDA_VER = "24.7.1"
47+
48+
4649class CondaCleanupMode (Enum ):
4750 tarballs = "tarballs"
4851 cache = "cache"
@@ -758,9 +761,9 @@ def _check_version(self):
758761 )
759762 else :
760763 version = version_matches [0 ]
761- if Version (version ) < Version ("24.9.1" ):
764+ if Version (version ) < Version (MIN_CONDA_VER ):
762765 raise CreateCondaEnvironmentException (
763- f"Conda must be version 24.9.1 or later, found version { version } . "
766+ f"Conda must be version { MIN_CONDA_VER } or later, found version { version } . "
764767 "Please update conda to the latest version. "
765768 "Note that you can also install conda into the snakemake environment "
766769 "without modifying your main conda installation."
You can’t perform that action at this time.
0 commit comments