pinned#
Health check: Pinned file format.
Functions#
Find pinned specs that reference packages not installed in the environment. |
|
|
Health check action: Check pinned file format. |
|
Clean up malformed specs in pinned file. |
|
Register the pinned file health check. |
- find_malformed_pinned_specs(prefix_data: conda.core.prefix_data.PrefixData) list[conda.models.match_spec.MatchSpec]#
Find pinned specs that reference packages not installed in the environment.
Returns a list of MatchSpec objects for packages that might be typos.
- pinned_well_formatted_check(prefix: str, verbose: bool) None#
Health check action: Check pinned file format.
- fix_malformed_pinned(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) int#
Clean up malformed specs in pinned file.
- conda_health_checks() collections.abc.Iterable[conda.plugins.types.CondaHealthCheck]#
Register the pinned file health check.