Only print 'envs' details when info --envs is invoked with --json#15353
Merged
jezdez merged 5 commits intoconda:mainfrom Oct 24, 2025
Merged
Only print 'envs' details when info --envs is invoked with --json#15353jezdez merged 5 commits intoconda:mainfrom
info --envs is invoked with --json#15353jezdez merged 5 commits intoconda:mainfrom
Conversation
3 tasks
CodSpeed Performance ReportMerging #15353 will not alter performanceComparing Summary
Footnotes
|
Member
|
Nice catch! |
jezdez
approved these changes
Oct 24, 2025
Zaubentrucker
added a commit
to Zaubentrucker/nu_scripts
that referenced
this pull request
Feb 12, 2026
From conda version 25.11, the `conda info --envs --json` command no longer contains the `env_dirs` field, as described in conda/conda#15353. This info is still contained in `conda info --json` however.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Observed in #15330.
conda info --envs --jsonandconda info --jsonhave the exact same output. More importantly,conda env list --jsonprints the same output asconda info --json.This PR makes it so when
conda info --envs --jsonandconda env list --jsonare called, only the envs list is returned as a dictionary like:{ "envs": [ "/Users/USERNAME/.local/conda", ... ] }My plan is to add
envs_detailsto the output too, as proposed in #15330.Checklist - did you ...
newsdirectory (using the template) for the next release's release notes?