Skip to content

Add 'check if environment is consistent with solver' health check to conda doctor #14715

@ForgottenProgramme

Description

@ForgottenProgramme

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

Per discussion with @jaimergp, the solution to this issue from the project board can start with a conda doctor health check.

What should the health check be?

conda doctor will get all the entries in PrefixData.iter_records() and submit them to the solver, and check if the solver can find a solution that is exactly what PrefixData says.
If yes, we say that the environment is consistent else not.

Would be good if conda doctor could also print which packages are causing the inconsistency.

Why is this needed?

We want to make conda doctor provide even more information to users about their conda environment health.
So thatconda doctor is a tool to diagnose inconsistent environments.

What should happen?

A "environment consistency against the solver" health check is added to conda doctor

Additional Context

No response

Metadata

Metadata

Labels

source::anacondacreated by members of Anaconda, Inc.type::featurerequest for a new feature or capability

Type

No type

Projects

Status

🏁 Done

Status

Done 💪🏾

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions