Skip to content

Prefer using conda list -n/-p --json over string and parsing #417

@DonJayamanne

Description

@DonJayamanne

Conda list supports the json format, since 2015-16 (tests were added in 2017 for this arg).
https://docs.conda.io/projects/conda/en/stable/release-notes.html#id531
I think we should use that over parsing the string based on spaces and looking for package name and version.

Would have also prevented #416 (comment)

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions