Skip to content

Avoid spawning Conda to get list of environments and conda version #23413

@DonJayamanne

Description

@DonJayamanne

Based on the following source code for Conda
list_all_known_prefixes

We can get all the environments from

  • the environments txt file
  • envs folder

The conda version can be extracted from the conda-meta folder for conda-<version>*.json file

Metadata

Metadata

Assignees

Labels

debtCovers everything internal: CI, testing, refactoring of the codebase, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions