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 support on activate_script #9435

Closed
cmrqs opened this issue Dec 3, 2024 · 0 comments · Fixed by #9436
Closed

Conda support on activate_script #9435

cmrqs opened this issue Dec 3, 2024 · 0 comments · Fixed by #9436

Comments

@cmrqs
Copy link
Contributor

cmrqs commented Dec 3, 2024

Is your feature request related to a problem? Please describe.
#9273 introduces venv support when submitting jobs to a queue using an activation script. It would be nice to support conda as well.

Describe the solution you'd like
Currently, the environment variable VIRTUAL_ENV is used to activate venv. A similar CONDA_ENV variable could be used for the same purpose for conda.

Describe alternatives you've considered
I could change the entire project to use venv as well, but it's impractical.

Additional context
Multiple virtual environments can't be active at once (e.g. venv and conda simultaneously). If both environment variables are set, one must take precedence over the other.

@sondreso sondreso moved this to Ready for Review in SCOUT Jan 3, 2025
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in SCOUT Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants