consistency#

Health check: Environment consistency (dependencies).

Functions#

find_inconsistent_packages(→ tuple[dict[str, dict[str, ...)

Find packages with missing or inconsistent dependencies.

consistent_env_check(→ None)

Health check action: Check environment consistency.

fix_inconsistent_packages(→ int)

Fix inconsistent packages by updating the environment.

conda_health_checks(...)

Register the consistency health check.

find_inconsistent_packages(prefix_data: conda.core.prefix_data.PrefixData) tuple[dict[str, dict[str, list]], set[str]]#

Find packages with missing or inconsistent dependencies.

Returns a tuple of (issues dict, missing dependency names set). The issues dict maps package name -> {"missing": [...], "inconsistent": [...]}.

consistent_env_check(prefix: str, verbose: bool) None#

Health check action: Check environment consistency.

fix_inconsistent_packages(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) int#

Fix inconsistent packages by updating the environment.

conda_health_checks() collections.abc.Iterable[conda.plugins.types.CondaHealthCheck]#

Register the consistency health check.