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

(micro)mamba cannot install local::package, but it does find -c local package #3055

Closed
3 tasks done
jaimergp opened this issue Dec 11, 2023 · 2 comments
Closed
3 tasks done
Labels
type::bug Something isn't working

Comments

@jaimergp
Copy link
Contributor

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?

Mambaforge or latest Miniforge

Search tried in issue tracker

local::

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I have this problem with Conda as well, without using Mamba

Describe your issue

Comes from conda/conda-libmamba-solver#398. conda-libmamba-solver inherits this problem. It does work with classic.


mamba is not compatible with the local::package-name specifiers. It does work when the local channel is specified separately via -c.

Logs:

mamba info / micromamba info

$ micromamba info

       libmamba version : 1.5.3
     micromamba version : 1.5.3
           curl version : libcurl/8.4.0 OpenSSL/3.1.4 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /home/test_user/micromamba/envs
          package cache : /home/test_user/micromamba/pkgs
                          /home/test_user/.mamba/pkgs
            environment : /opt/conda (active)
           env location : /opt/conda
      user config files : /home/test_user/.mambarc
 populated config files : /opt/conda/.condarc
       virtual packages : __unix=0=0
                          __linux=5.15.49=0
                          __glibc=2.36=0
                          __archspec=1=aarch64
               channels : https://conda.anaconda.org/conda-forge/linux-aarch64
                          https://conda.anaconda.org/conda-forge/noarch
       base environment : /home/test_user/micromamba
               platform : linux-aarch64

$ mamba info

          mamba version : 1.5.4
     active environment : base
    active env location : /opt/conda
            shell level : 1
       user config file : /home/test_user/.condarc
 populated config files : /opt/conda/.condarc
          conda version : 23.11.0
    conda-build version : 3.27.0
         python version : 3.11.6.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=aarch64
                          __conda=23.11.0=0
                          __glibc=2.36=0
                          __linux=5.15.49=0
                          __unix=0=0
       base environment : /opt/conda  (read only)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-aarch64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /opt/conda/pkgs
                          /home/test_user/.conda/pkgs
       envs directories : /home/test_user/.conda/envs
                          /opt/conda/envs
               platform : linux-aarch64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.6 Linux/5.15.49-linuxkit-pr debian/12.2 glibc/2.36 solver/libmamba conda-libmamba-solver/23.9.4.dev27+gdae4c3f libmambapy/1.5.4
                UID:GID : 1001:1001
             netrc file : None
           offline mode : False

Logs

See attachments above.

environment.yml

N/A

~/.condarc

N/A
@isuruf
Copy link
Contributor

isuruf commented Dec 11, 2023

This is fixed in main, but not in 1.x branch.

@isuruf
Copy link
Contributor

isuruf commented Dec 11, 2023

On main, following works

micromamba install -c file:///home/isuru/distr2 file:///home/isuru/distr2::test-package
micromamba install -c local local::test-package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants