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

PR: Fix issue where micromamba activation script was not properly executed. #18387

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Jun 22, 2022

Description of Changes

Windows batch scripts do not expand variables inside logic statements if the variable is assigned inside the logic statement. Thus the micromamba activation script was not executed and the environment was not activated. The call to the activation script is moved outside the logic statement, so now it is executed and the environment is properly activated.

Issue(s) Resolved

Fixes #18003

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @mrclary

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mrclary ! LGTM 👍

@dalthviz dalthviz merged commit d59e5a6 into spyder-ide:5.x Jun 22, 2022
dalthviz added a commit that referenced this pull request Jun 22, 2022
@mrclary mrclary deleted the fix-18003 branch June 23, 2022 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matplotlib not installed or didn't load correctly in Spyder 5.3.1
3 participants