Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mamba create --json produces no output for empty environment #3583

Closed
3 tasks done
maresb opened this issue Nov 7, 2024 · 2 comments · Fixed by #3627
Closed
3 tasks done

mamba create --json produces no output for empty environment #3583

maresb opened this issue Nov 7, 2024 · 2 comments · Fixed by #3627

Comments

@maresb
Copy link
Contributor

maresb commented Nov 7, 2024

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Micromamba

Search tried in issue tracker

--json

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

The following produces no output:

mamba create --prefix /tmp/blah --json --dry-run

I expect output similar to conda's:

{
  "actions": {
    "FETCH": [],
    "PREFIX": "/tmp/blah"
  },
  "dry_run": true,
  "prefix": "/tmp/blah",
  "success": true
}

mamba info / micromamba info

libmamba version : 2.0.2
          mamba version : 2.0.2
           curl version : libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 zstd/1.5.6 libssh2/1.11.0 nghttp2/1.64.0
     libarchive version : libarchive 3.7.4 zlib/1.2.13 liblzma/5.2.6 bz2lib/1.0.8 liblz4/1.9.3 libzstd/1.5.6
       envs directories : ~/micromamba/envs
          package cache : ~/micromamba/pkgs
                          ~/.mamba/pkgs
            environment : conda-lock-dev (active)
           env location : ~/micromamba/envs/conda-lock-dev
      user config files : ~/.mambarc
 populated config files : ~/.condarc
       virtual packages : __unix=0=0
                          __linux=5.15.0=0
                          __glibc=2.31=0
                          __archspec=1=x86_64_v3
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/nodefaults/linux-64
                          https://conda.anaconda.org/nodefaults/noarch
       base environment : ~/micromamba
               platform : linux-64

Logs

No response

environment.yml

No response

~/.condarc

No response

@maresb
Copy link
Contributor Author

maresb commented Nov 7, 2024

This seems very similar to #3582

@mathbunnyru
Copy link
Contributor

mathbunnyru commented Nov 12, 2024

I'm sorry, I accidentally put fix: https://github.com/mamba-org/mamba/issues/3583 to the description of my PR (I copied the wrong link).
And when my PR was merged, this issue was automatically wrongly closed.

Please, reopen this issue @jjerphan @maresb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants