Closed mathbunnyru closed 1 week ago
If I run the following:
mamba env create --name empty mamba env export --name empty
it will give me:
name: empty channels: dependencies: prefix: "/Users/asalikhov/test-mamba-root/envs/empty"
Note: channels, dependencies are always printed, even if empty.
channels
dependencies
But if I run export with --json, it will not print channels::
export
--json
channels:
{ "dependencies": [ ], "name": "empty", "prefix": "/Users/asalikhov/test-mamba-root/envs/empty" }
I think it's always good to print channels, it makes parsing easier.
Related: https://github.com/mamba-org/mamba/issues/3582
I think the CI failure is spurious and this can be merged
If I run the following:
it will give me:
Note:
channels
,dependencies
are always printed, even if empty.But if I run
export
with--json
, it will not printchannels:
:I think it's always good to print
channels
, it makes parsing easier.Related: https://github.com/mamba-org/mamba/issues/3582