Skip to content

Conversation

ForgottenProgramme
Copy link
Contributor

@ForgottenProgramme ForgottenProgramme commented May 2, 2025

Description

This PR adds a new health check to conda doctor called "env consistency check". This detects whether the environment is consistent or not. It does so by checking for missing dependencies.

A previous PR (#14726) was created to achieve the same but by engaging the solver and determining the "final_state".

Resolves #14715
Closes #14726

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@ForgottenProgramme ForgottenProgramme requested a review from a team as a code owner May 2, 2025 13:05
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review May 2, 2025
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label May 2, 2025
@jjhelmus
Copy link
Contributor

jjhelmus commented May 7, 2025

A test for a environment with unmet constrains would be a good addition.

@jjhelmus
Copy link
Contributor

This may need to special case virtual packages as I do not think they exist as entries in PrefixData

@jezdez jezdez self-requested a review May 14, 2025 12:26
@jjhelmus
Copy link
Contributor

ay need to special case virtual packages as I do not think they exist as entries in PrefixData

This is taken care of already. Sorry for the noise.

jjhelmus
jjhelmus previously approved these changes May 22, 2025
kenodegard
kenodegard previously approved these changes May 22, 2025
@github-project-automation github-project-automation bot moved this from 🏗️ In Progress to ✅ Approved in 🔎 Review May 22, 2025
@kenodegard
Copy link
Contributor

@ForgottenProgramme need to update tests/core/test_index.py::test_fetch_index since we've added a new package to the test-recipes channel

@ForgottenProgramme ForgottenProgramme dismissed stale reviews from kenodegard and jjhelmus via 7043119 May 22, 2025 16:05
@kenodegard kenodegard merged commit 29e201e into conda:main May 22, 2025
75 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🏁 Done in 🔎 Review May 22, 2025
@ForgottenProgramme ForgottenProgramme deleted the no-solver branch May 23, 2025 08:02
@ForgottenProgramme ForgottenProgramme restored the no-solver branch May 23, 2025 08:02
@ForgottenProgramme ForgottenProgramme moved this to Done 💪🏾 in (Anaconda) `conda` May 30, 2025
@ForgottenProgramme ForgottenProgramme self-assigned this May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

Add 'check if environment is consistent with solver' health check to conda doctor
6 participants