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 search behaves inconsistently for packages which don't exist at all vs packages for which the specific version doen't exist #4281

Closed
mingwandroid opened this issue Jan 12, 2017 · 2 comments
Labels
locked [bot] locked due to inactivity source::governance created by members of the conda governance (https://github.com/conda-incubator/governance) type::bug describes erroneous operation, use severity::* to classify the type

Comments

@mingwandroid
Copy link
Contributor

Testing on conda 4.3, roughly

On macOS, neither 'r-vars=1.5_2=r3.3.1_' nor 'r-lattice=0.20_34=r3.3.1_' exist (though other versions of r-lattice do):

$ conda search --override-channels -c r --spec 'r-lattice=0.20_34=r3.3.1_*'
Fetching package metadata ...........


PackageNotFoundError: Package not found: '' Package missing in current osx-64 channels: 
  - r-lattice 0.20_34* r3.3.1_*

$ echo $?
1
$ conda search --override-channels -c r --spec 'r-vars=1.5_2=r3.3.1_*'
Fetching package metadata ...........

$ echo $?
0

I am currently working around this by checking the number of lines in stdout which is not ideal.

@kalefranz kalefranz added source::governance created by members of the conda governance (https://github.com/conda-incubator/governance) type::bug describes erroneous operation, use severity::* to classify the type labels May 10, 2017
@kalefranz
Copy link
Contributor

Per spot tests, this appears to be resolved in conda 4.4.

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 30, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity source::governance created by members of the conda governance (https://github.com/conda-incubator/governance) type::bug describes erroneous operation, use severity::* to classify the type
Projects
None yet
Development

No branches or pull requests

2 participants