health_checks

Backend logic implementation for conda doctor.

Functions

display_report_heading(→ None)

Displays our report heading.

check_envs_txt_file(→ bool)

Checks whether the environment is listed in the environments.txt file

find_packages_with_missing_files(→ dict[str, list[str]])

Finds packages listed in conda-meta which have missing files.

find_altered_packages(→ dict[str, list[str]])

Finds altered packages

display_health_checks(→ None)

Prints health report.

Attributes

logger

OK_MARK

X_MARK

logger
OK_MARK = '✅'
X_MARK = '❌'
display_report_heading(prefix: str) None

Displays our report heading.

check_envs_txt_file(prefix: str | Path) bool

Checks whether the environment is listed in the environments.txt file

find_packages_with_missing_files(prefix: str | Path) dict[str, list[str]]

Finds packages listed in conda-meta which have missing files.

find_altered_packages(prefix: str | Path) dict[str, list[str]]

Finds altered packages

display_health_checks(prefix: str, verbose: bool = False) None

Prints health report.