Closed mathbunnyru closed 2 weeks ago
Related to: https://github.com/mamba-org/mamba/issues/3492
The --json
output was added in https://github.com/mamba-org/mamba/pull/3559/files
@jjerphan you might want to take a look here
One more bug in the --json
output: when running with --json
we're only printing channels
when it's not empty (https://github.com/mamba-org/mamba/pull/3559/files#diff-da24ec78e2ee34afe1e53af5b3ba02e9f49b61efa2a54dac78e201b9f536e0b2R232), but without --json
we're always printing it:.
We should always print it channels
no matter if it's empty or not.
I'm running into a different problem of a very similar style in #3583
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
mamba, env, export, from-history
Latest version of Mamba
Tried in Conda?
I didn't try
Describe your issue
When I run
mamba env export --json --from-history
it produces invalid json file:Note: --from-history flag is important here, without it everything is ok, the json is invalid due to
,
in the last element of dependencies.mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc
No response