:py:mod:`consistency` ===================== .. py:module:: conda.plugins.subcommands.doctor.health_checks.consistency .. autoapi-nested-parse:: Health check: Environment consistency (dependencies). Functions --------- .. autoapisummary:: conda.plugins.subcommands.doctor.health_checks.consistency.find_inconsistent_packages conda.plugins.subcommands.doctor.health_checks.consistency.consistent_env_check conda.plugins.subcommands.doctor.health_checks.consistency.fix_inconsistent_packages conda.plugins.subcommands.doctor.health_checks.consistency.conda_health_checks .. py:function:: 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": [...]}. .. py:function:: consistent_env_check(prefix: str, verbose: bool) -> None Health check action: Check environment consistency. .. py:function:: fix_inconsistent_packages(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) -> int Fix inconsistent packages by updating the environment. .. py:function:: conda_health_checks() -> collections.abc.Iterable[conda.plugins.types.CondaHealthCheck] Register the consistency health check.