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

Docs: repoquery depends requires installed or channel (#2088) #2098

Merged
merged 3 commits into from
Mar 7, 2023

Conversation

samtygier
Copy link
Contributor

The command mamba repoquery depends requires the package to already be installed in the environement. Otherwise the channel must be specified.

Closes #2088

The command `mamba repoquery depends` requires the package to already be
installed in the environement. Otherwise the channel must be specified.
@samtygier samtygier marked this pull request as ready for review November 7, 2022 23:16
@hadim
Copy link

hadim commented Nov 8, 2022

In my test, even if the channel is specified it does not work:

docker run -it --rm mambaorg/micromamba:1.0.0 bash -c "micromamba repoquery depends -c conda-forge xtensor"

It seems like the package specified must always be installed in the environment. If it's excepted then that should be reflected in the doc more explicitly no?

@samtygier
Copy link
Contributor Author

I am not sure if the difference between mamba and micromamba is expected, or should be considered a micromamba bug?

@hadim
Copy link

hadim commented Nov 8, 2022

My preference would be to stick to what mamba does already: not requiring the package to be installed. Maybe both behavior should be supported and one of them behind a boolean flag? I can see usecases for both.

@Hind-M
Copy link
Member

Hind-M commented Feb 22, 2023

Thanks for submitting this PR!
micromamba's behavior is indeed a bit different. I will open an issue for that.

@JohanMabille JohanMabille merged commit 287e87a into mamba-org:main Mar 7, 2023
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 this pull request may close these issues.

mamba repoquery depends does not work without specifying a channel
4 participants