File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 1515"""
1616
1717from ..core .commands import run_command_for_value
18- from ..core .config import __version__ as xpk_version
1918from .console import xpk_exit , xpk_print
20- from ..commands .config import xpk_cfg
21- from ..core .config import DEPENDENCIES_KEY
2219from enum import Enum
2320from dataclasses import dataclass
2421
@@ -80,14 +77,6 @@ def should_validate_dependencies(args):
8077 return not skip_validation and not dry_run
8178
8279
83- def validate_dependencies ():
84- """Validates all system dependencies if validation has not been done with current XPK version."""
85- deps_version = xpk_cfg .get (DEPENDENCIES_KEY )
86- if deps_version is None or deps_version != xpk_version :
87- validate_dependencies_list (list (SystemDependency ))
88- xpk_cfg .set (DEPENDENCIES_KEY , xpk_version )
89-
90-
9180def validate_dependencies_list (dependencies : list [SystemDependency ]):
9281 """Validates a list of system dependencies and returns none or exits with error."""
9382 for dependency in dependencies :
You can’t perform that action at this time.
0 commit comments