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

catch the more general ImportError if menuinst cannot be imported #5116

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

jaimergp
Copy link
Contributor

@jaimergp jaimergp commented Dec 14, 2023

Description

If menuinst v1 is present in the base environment, ModuleNotFoundError won't be raised. Instead the more general ImportError is thrown. Catch that one instead.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Dec 14, 2023
@jaimergp jaimergp changed the base branch from main to 3.28.x December 14, 2023 17:29
@jaimergp jaimergp marked this pull request as ready for review December 14, 2023 17:29
@kenodegard kenodegard mentioned this pull request Dec 14, 2023
67 tasks
@kenodegard kenodegard merged commit f570884 into conda:3.28.x Dec 14, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants