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

Conda does not respect --override-channels option when using libmamba solver #490

Open
2 tasks done
DManowitz opened this issue Jul 15, 2024 · 1 comment
Open
2 tasks done
Labels
pending::feedback indicates we are waiting on feedback from the user type::bug describes erroneous operation, use severity::* to classify the type

Comments

@DManowitz
Copy link

DManowitz commented Jul 15, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

After encountering the issue seen in #489, I tried to use the --override-channels option to explicitly specify only the conda-forge channel. However, conda still attempted to use the same channels as in that issue, despite the --override-channels option. The same behavior is NOT seen when I turn off the libmamba solver.

Conda Info

active environment : py37_ml_TfGpuMain
    active env location : C:\Users\manow\miniconda3\envs\py37_ml_TfGpuMain
            shell level : 1
       user config file : C:\Users\manow\.condarc
 populated config files : C:\Users\manow\.condarc
          conda version : 23.7.4
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.5=0
                          __win=0=0
       base environment : C:\Users\manow\miniconda3  (writable)
      conda av data dir : C:\Users\manow\miniconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/pytorch/win-64
                          https://conda.anaconda.org/pytorch/noarch
                          https://conda.anaconda.org/pyg/win-64
                          https://conda.anaconda.org/pyg/noarch
                          https://conda.anaconda.org/nvidia/label/cuda-11.3.1/win-64
                          https://conda.anaconda.org/nvidia/label/cuda-11.3.1/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://software.repos.intel.com/python/conda/win-64
                          https://software.repos.intel.com/python/conda/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\manow\miniconda3\pkgs
                          C:\Users\manow\.conda\pkgs
                          C:\Users\manow\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\manow\miniconda3\envs
                          C:\Users\manow\.conda\envs
                          C:\Users\manow\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.7.4 requests/2.28.1 CPython/3.10.12 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/23.7.0 libmambapy/1.4.7 aau/0.4.4 c/. s/. e/.
          administrator : False
             netrc file : None
           offline mode : False

Conda Config

==> C:\Users\manow\.condarc <==
pip_interop_enabled: True
channel_priority: disabled
channels:
  - pytorch
  - pyg
  - nvidia/label/cuda-11.3.1
  - conda-forge
  - https://software.repos.intel.com/python/conda/
  - defaults
solver: libmamba

==> cmd_line <==
debug: False
json: False

Conda list

Can send separately if needed.  Adding gives Github error: comment body too long.

Additional Context

No response

@DManowitz DManowitz added the type::bug describes erroneous operation, use severity::* to classify the type label Jul 15, 2024
@jaimergp
Copy link
Contributor

I think this was fixed in 23.9.0 via #274. Your conda info reports 23.7.0, so I'd try upgrading first to see if the issue you brought up is already addressed in the latest releases.

@jaimergp jaimergp added the pending::feedback indicates we are waiting on feedback from the user label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending::feedback indicates we are waiting on feedback from the user type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants